On Thu, Aug 10, 2006 at 14:38:32 -0300 (-0300), Margarita Manterola wrote:
> On 8/2/06, Angelina Carlton <[EMAIL PROTECTED]> wrote:
>
> >,----
> >| Error in startup script: sort: Warning: "+number" syntax is
> >| deprecated, please use "-k number"
> >| while executing
> >| "exec xlsfonts -u -fn "*" | grep "-" | sort -t "-" +2 | uniq >
>
> What version of coreutils are you using?
>
> I've tested with the latest version in unstable, and it does not give
> this warning.
I've seen the warning from sort somewhere before. There is a new
version uploaded, but for some reason it's not accepting my GPG
signature. I'm still in the keyring so I'm awaiting a reply from the
admins - I'll try contacting them through a different route.
/usr/share/doc/coreutils/NEWS.Debian.gz says:
coreutils (5.96-3) unstable; urgency=low
* The POSIX compatability level is now set to POSIX 1003.1-2001,
which affects the syntax for several commands. For transition
purposes, "sort +number" and "tail +number" will be supported
for the etch release. Note that these usages are deprecated, and
will be removed in etch+1; the recommended usage is "sort -k number"
and "tail -n +number". Also, "uniq +number" should be replaced with
"uniq -s number" and "touch number filename" should be replaced with
"touch -t number filename". To revert to the older syntax, set the
environment variable _POSIX2_VERSION to "199209".
Adrian
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]