snip
Or perhaps a GRT instead:
perl -le'print for map join( "", reverse /(\S+)(\s+)(\S+)/ ), sort
map join(
"", reverse /(\S+)(\s+)(\S+)/ ), <>' filename
snip
For those not familiar with the Guttman Rosler Transform (GRT for
short), here is an article on it:
http://www.perlmonks.org/?node_id=145659
Thanks, all, for all the great help. I'm always happy to find good
resources to ingest like these articles and the command names so I can
go check out the man. Thanks a bunch!
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/