$ type -a echo echo is a shell builtin echo is /bin/echo $bash --version GNU bash, version 3.2.25(1)-release (i486-pc-linux-gnu)
$/bin/echo --version echo (GNU coreutils) 5.97 On Nov 20, 2007 8:11 PM, Oleg Goldshmidt <[EMAIL PROTECTED]> wrote: > "Kfir Lavi" <[EMAIL PROTECTED]> writes: > > > Hi, > > I have a problem running echo inside Makefile. > > Here is the Makefile: > > all: > > @echo "string" > > @echo -e -n "string" > > The output is: > > string > > -e -n string > > The problem is the second @echo command. It prints '-e -n' instead of > > interpreting those options. > > I have tested it on other comps and it works fine, so its an environment > > problem in my comp. > > What var or file determine this behavior? > > What does "type -a echo" say in the same environment under which you run > make? > > Your makefile works properly for me, FWIW, but I am on Fedora, not Ubuntu. > > -- > Oleg Goldshmidt | [EMAIL PROTECTED] | http://www.goldshmidt.org > > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] > >
