From: schaefer@z-code.ncd.com (Barton E. Schaefer)
To: Thorsten Meinecke <kaefer@aglaia.snafu.de>, zsh-workers@math.gatech.edu
Subject: Re: Expansion/quoting quirks
Date: Sun, 5 Nov 1995 10:26:37 -0800 [thread overview]
Message-ID: <951105102637.ZM28524@zyrcon.z-code.com> (raw)
In-Reply-To: Thorsten Meinecke <kaefer@aglaia.snafu.de> "Expansion/quoting quirks" (Nov 5, 2:00pm)
On Nov 5, 2:00pm, Thorsten Meinecke wrote:
} Subject: Expansion/quoting quirks
}
} its output will be compared to the expected output, which is on the lines
} beginning with `#%'.
}
}
} # Backslash ignored between single quotes (fixed in hzoli)
} #% \$x
} echo $(echo '\$x')
This one seems really strange to me. Why is $(foo) different from `foo`
in ksh? I think I prefer zsh's behavior, even if it isn't compatible.
$ echo $(echo '\$x')
\$x
$ echo `echo '\$x'`
$x
$
Look, ksh isn't even consistent about it! Why should that $ cause a
magically different behavior?
$ echo $(echo '\x')
\x
$ echo `echo '\x'`
\x
$
(This is ksh88, I believe, in case that matters.)
--
Bart Schaefer Vice President, Technology, Z-Code Software
schaefer@z-code.com Division of NCD Software Corporation
http://www.well.com/www/barts
next prev parent reply other threads:[~1995-11-05 18:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-11-05 13:00 Thorsten Meinecke
1995-11-05 18:26 ` Barton E. Schaefer [this message]
1995-11-06 15:39 ` Zoltan Hidvegi
1995-11-06 17:25 ` Zoltan Hidvegi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=951105102637.ZM28524@zyrcon.z-code.com \
--to=schaefer@z-code.ncd.com \
--cc=kaefer@aglaia.snafu.de \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).