bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bash 3.1.5] sh -c "echo -n ok" broken


From: Chet Ramey
Subject: Re: [bash 3.1.5] sh -c "echo -n ok" broken
Date: Thu, 19 Jan 2006 09:12:42 -0500

> So, it is possible to have both the following working in "sh" and "bash"
> 
>       echo -n "ok"
>       echo "ok\c"

No.  In posix mode, they are fundamentally incompatible.  The combination of
posix mode and xpg-echo cause bash to be strictly posix compliant and disable
any option processing.

This is item `c' in the New Features section of NEWS.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live Strong.
Chet Ramey, ITS, CWRU    chet@case.edu    http://tiswww.tis.case.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]