Re: Ordering string of commands in a file



Raghuramaiah Gompa wrote:
> This sorting must be done
> only for a part of the text that is between the
> line that contain [Buttons] and someother line that
> starts with [ (it could be [Directories] or [Files]).
> Rest of the document should be copied as it is. I tried
> several ways and failed :(

You generally get more helpful responses if you post what you
attempted, explain how it failed, and allow us to help you fix your
attempt, rather than simply claiming that you tried, and asking for the
solution outright.

> Please help.

Look up the "flip-flop" operator (which is the range operator, but used
in a scalar context) in
perldoc perlop

Paul Lalli

.


Quantcast