[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

echo "-e" produces no outputs

From: Huang Tao
Subject: echo "-e" produces no outputs
Date: Fri, 17 Jul 2009 23:46:05 +0800

Configuration Information [Automatically generated]:

Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale$
uname output: Linux GreedIsland 2.6.26-2-amd64 #1 SMP Sun Jun 21 04:47:08
UTC 2009 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 3.2
Patch Level: 39
Release Status: release


I'm not sure whether it is a bug
how can i echo the text string "-e" barely ( or "-n", "-E")
i tried
$echo "-e"
$echo '-e'
and some other inputs, all of which produced no outputs.

the original problem was that I wanted to use echo to output the value of a
variable in a shell script
and that value happened to be "-e"

for example
echo $TEXT
exit 0


see above.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]