Mail Archives: djgpp/1999/08/16/16:14:48
> I have sort (GNU textutils) 1.22 and want to sort the following
> lines from the 40. character-position. All the blanks are blanks,
> so I don't want to use fields. The invocation with
> sort +0.40
> doesn't work. Who can give me a hint?
If you do not want to sort on fields (words separated by whitespace),
but on columns, I think you might want to take a look at the -k
switch. I have used it like that before, for instance:
sort -f -k 1.80,1.109
Although Textutils is compiled with DJGPP, I don't think this
newsgroup is an appropriate place to ask questions about GNU utils in
general. Thinking about it, I cannot come up with an appropriate place
more specific than comp.unix.programmer, so... You have tried the
following haven't you?
info textutils sort
Hope this helps,
Groente, Michel.
- Raw text -