Dear Friends
this script sorts an ascii text file.
@array=<IN>; close (IN); @sortedarray=sort(@array); foreach $line (@sortedarray){ print OUT $line; }
OUTPUT:
AAA
CCC
ZZZ
aaa
bbb
but i want a noncase sensitive sorted output i.e.
AAA
aaa
bbb
CCC
ZZZ
In reply to noncase-sensitive sorting by texuser74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |