in reply to question about ordering technical data numbers
Hi Kevin,
I don't understand exactly what you're trying to sort but if you wish to sort the lines in a file, then this command would do the job:
perl -e 'print sort <>' file_to_sort.txtYou'll get the sorted lines on stdout, you may wish to redirect it to a file.
By the way, notice that perl is case-sensitive, which is why OPEN and SORT are giving you errors. The functions are open and sort, lowercase.
|
|---|