zsh-users
 help / color / mirror / code / Atom feed
* \s disappearing when run as sh
@ 2002-07-25 13:47 Ian Lynagh
  0 siblings, 0 replies; only message in thread
From: Ian Lynagh @ 2002-07-25 13:47 UTC (permalink / raw)
  To: zsh-users


Hi guys,

zsh seems to lose \s when run as sh, e.g. the last command here:

~% zsh --version
zsh 4.0.4 (i686-pc-linux-gnu)
~% zsh
~% printf "%s\n" '\\\\\\\\\\\\\\\\'
\\\\\\\\\\\\\\\\
~% printf "%s\n" `printf "%s\n" '\\\\\\\\\\\\\\\\'`
\\\\\\\\
~% 
~% cd /tmp
/tmp% zsh --version
zsh 4.0.4 (i686-pc-linux-gnu)
/tmp% zsh
/tmp% printf "%s\n" '\\\\\\\\\\\\\\\\'
\\\\\\\\\\\\\\\\
/tmp% printf "%s\n" `printf "%s\n" '\\\\\\\\\\\\\\\\'`
\\\\\\\\
/tmp% exit
/tmp% ln -s `which zsh` sh
/tmp% ./sh
%~%% printf "%s\n" '\\\\\\\\\\\\\\\\'
\\\\\\\\\\\\\\\\
%~%% printf "%s\n" `printf "%s\n" '\\\\\\\\\\\\\\\\'`
\\\\
%~%% 

bash, pdksh and ash print "\\\\\\\\" (when running as sh at least).


Thanks
Ian


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-25 13:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-25 13:47 \s disappearing when run as sh Ian Lynagh

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).