Re: echo -n not working in /bin/sh
From: Dragan Cvetkovic (me_at_privacy.net)
Date: 12/01/04
- Next message: Jim Smith: "dhcp network install question"
- Previous message: frits vanderlinden: "Re: Solaris 9 USB speed problems after applying patches"
- In reply to: Thomas Maier-Komor: "Re: echo -n not working in /bin/sh"
- Next in thread: Thomas Maier-Komor: "Re: echo -n not working in /bin/sh"
- Reply: Thomas Maier-Komor: "Re: echo -n not working in /bin/sh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 01 Dec 2004 10:58:30 -0500
Thomas Maier-Komor <maierkom@lpr.e-technik.no-spam.tu-muenchen.de> writes:
> Dragan Cvetkovic wrote:
>> roger.faulkner@sun.com (Roger Faulkner) writes:
>>
>>>Olaf Klischat <klischat@cs.tu-berlin.de> wrote in message news:<m21xebqed7.fsf@cs.tu-berlin.de>...
>>>
>>>>man -s 1 echo:
>>>>
>>>> sh's echo and /usr/bin/echo only have a -n option
>>>> if the SYSV3 environment variable is set (see ENVIRONMENT
>>>> below).
>>>>
>>>>Apparently, that's a lie:
[snip]
>>>Only on Solaris x86, not sparc:
>> Indeed, you are right:
[snip]
> This kind of inconsistency smells like a bug, doesn't it?
Nope. Read the whole message by Roger Faulkner and his quote of the man page:
$ man -s1 echo
...
ENVIRONMENT VARIABLES
SYSV3 This environment variable is used to provide compa-
tibility with INTERACTIVE UNIX System and SCO UNIX
installation scripts. It is intended for compati-
bility only and should not be used in new scripts.
Since INTERACTIVE UNIX System and SCO UNIX are x86 only, this is not needed
on SPARC systems.
Bye, Dragan
-- Dragan Cvetkovic, To be or not to be is true. G. Boole No it isn't. L. E. J. Brouwer !!! Sender/From address is bogus. Use reply-to one !!!
- Next message: Jim Smith: "dhcp network install question"
- Previous message: frits vanderlinden: "Re: Solaris 9 USB speed problems after applying patches"
- In reply to: Thomas Maier-Komor: "Re: echo -n not working in /bin/sh"
- Next in thread: Thomas Maier-Komor: "Re: echo -n not working in /bin/sh"
- Reply: Thomas Maier-Komor: "Re: echo -n not working in /bin/sh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]