Article View: gnu.bash.bug
Article #712Re: Bash 1.04 echo nit
From: David Elliott
Date: Tue, 14 Nov 1989 17:26
Date: Tue, 14 Nov 1989 17:26
29 lines
1210 bytes
1210 bytes
In article <1989Nov10.231921.6199@sony.com> dce@icky.sony.com (David Elliott) writes:
>Echo is still not quite right. According to the description in
>the code, the only special options to echo are "-e" and "-n",
>but I executed echo -, and got a blank line.
I seem to have confused some people on this issue. I meant that
I executed the command
echo -
not that I executed the command
echo -,
The latter works fine.
I do have a question on this matter. Assume that I have the
statement
echo "$var"
How can I assure myself that the contents of "$var" will be
printed exactly, even if it is "-e" or "-n".
--
David Elliott
dce@sony.com | ...!{uunet,mips}!sonyusa!dce
(408)944-4073
"You can lead a robot to water, but you can not make him compute."
Technical Details
Message-ID:
<1989Nov14.172638.16308@sony.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!wuarchive!brutus.cs.uiuc.edu!apple!mips!sony.com!dceReferences:
<1989Nov10.231921.6199@sony.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!wuarchive!brutus.cs.uiuc.edu!apple!mips!sony.com!dce From: dce@sony.com (David Elliott) Newsgroups: gnu.bash.bug Subject: Re: Bash 1.04 echo nit Message-ID: <1989Nov14.172638.16308@sony.com> Date: 14 Nov 89 17:26:38 GMT References: <1989Nov10.231921.6199@sony.com> Reply-To: dce@icky.Sony.COM (David Elliott) Distribution: gnu Organization: Sony Microsystems Corp. Lines: 29