Quote:
Originally Posted by gosha
How do I tell sort to put "ลก" just after "s" and not at the end after "z"?
|
According to the manpage for
sort(1), it only sorts lexicographically. The only other knob is to ignore case.
Quote:
Or is there a better way than using sort?
|
Use
awk(1),
perl(1), or some other scripting language which will allow writing your own custom sorting routine.
The standard tools allow for standard usage. Anything beyond this is better done through more sophisticated options.