🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by David Elliott Fri, 10 Nov 1989 23:19
Bash 1.04 echo nit
#695
Author: David Elliott
Date: Fri, 10 Nov 1989 23:19
9 lines
727 bytes
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.

-- 
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."
Re: Bash 1.04 echo nit
#712
Author: David Elliott
Date: Tue, 14 Nov 1989 17:26
29 lines
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."
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads