Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: POSIX compliance of shells - where to ask/talk about it?
- X-seq: zsh-users 5193
- From: Andreas Schwab <schwab@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: POSIX compliance of shells - where to ask/talk about it?
- Date: Fri, 26 Jul 2002 20:12:59 +0200
- Cc: bug-bash@xxxxxxx
- In-reply-to: <20020725201713.GA17071@xxxxxxxxxxxxxxxxxxxxx> (igloo@xxxxxxxx's message of "Thu, 25 Jul 2002 21:17:13 +0100")
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20020725201713.GA17071@xxxxxxxxxxxxxxxxxxxxx>
igloo@xxxxxxxx (Ian Lynagh) writes:
|> Hi all,
|>
|> Where should one ask/talk about POSIX shell compliance (looking for a
|> mailing list probably)?
|>
|> I am reading the standard at
|> http://www.opengroup.org/onlinepubs/007904975/utilities/xcu_chap02.html
|> and finding it very imprecise - disappointingly so (am I looking in the
|> wrong place?). I am therefore looking to implementations to clarify the
|> standard, but with things like this (all shells invoked as sh, bash
|> given --posix):
|>
|> printf "%s\n" `echo '\\\\\\\\\\\\\\\\'`
|> printf "%s\n" "`echo '\\\\\\\\\\\\\\\\'`"
|>
|> Using shells/ash:
|> \\\\
|> \\\\
|>
|> Using shells/bash:
|> \\\\\\\\
|> \\\\\\\\
|>
|> Using shells/zsh:
|> \\\\
|> \\\\\\\\
I think the key difference here is whether echo is interpreting
backslashes or not. By default, bash's builtin echo does not interpret
backslashes, and if you use "echo -e" you get the same output as ash. zsh
seems to be the odd case again.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@xxxxxxx
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Messages sorted by:
Reverse Date,
Date,
Thread,
Author