Outstanding!!! Thanks very much to you, Adrian, Rodney, John, and Stewart.
-------------- Original message --------------
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Stewart Leicester wrote:
>
> > perl -lne 'print "$ARGV*$_"' file1 file2 | sort -t* -k2,99
> > newfile
>
> Or just do it in awk:
>
> awk '{printf("%s*%s\n",FILENAME,$0)}' file1 file2 | sort -t*
> -k2,999
>
> Gotta say I was surprised that the '*' delimeter in the sort
> command didn't need to be escaped with \, but it doesn't.
>
> Cheers,
>
> Ken
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/