The stupid question is the question not asked | |
PerlMonks |
Re^2: re-ordering lines of text in a file?by moddingforfun (Initiate) |
on Nov 30, 2016 at 17:28 UTC ( [id://1176948]=note: print w/replies, xml ) | Need Help?? |
In response to your request ... The website is http://www.fleetops.net The tutorial ... a question ... The "arrays" ... input is a fixed expression? By that I mean 'pattern match'. grep for '^green' in a file, that is exactly what you get. The result is the first 'green' starting a line in that file. The problem I face, is the rest of the line. The rest of the line has the "value" of the key-pair.
The analogy / examples :
I posted more info/lengthy examples in another response on this same ?node?thread?
Notice the variance the values ( number of as well )? I am puzzled how this could ... be input without major problems. The "values" are highly random in 'length/style/number of' terms. That was fatal to bash shell script exact pattern matching.
In Section
Seekers of Perl Wisdom
|
|