That's it. I am calling my own program and not coreutils' sort, what
explains the unrequested output. Many thanks.
Cheers,
Kay
On 16 Jun., 22:16, Piet van Oostrum wrote:
> > kmw (k) wrote:
> >k> Hi,
> >k> I wanted to write a simple script (in 5 minutes or so) which replaces
> >k> the option
> kmw (k) wrote:
>k> Hi,
>k> I wanted to write a simple script (in 5 minutes or so) which replaces
>k> the option '+1' given to the command 'sort' by '-k 2' and than runs
>k> 'sort' with the modified argument list. After two hours I am giving up
>k> and ask you for help. This is what I tried
kmw wrote:
Hi,
I wanted to write a simple script (in 5 minutes or so) which replaces
the option '+1' given to the command 'sort' by '-k 2' and than runs
'sort' with the modified argument list. After two hours I am giving up
and ask you for help. This is what I tried (please excuse the verbose
co