[Top][All Lists]

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

Problems with echo. (echo period)

From: Aaron Shatters
Subject: Problems with echo. (echo period)
Date: Tue, 17 Apr 2007 13:45:10 -0700 (PDT)

There is a usage of the echo command in the cmd.exe shell that doesn't seem to 
be supported by gnu make.  This is different that all other shell commands in 
that it's arguments are not necessarily separated by whitespace from the 
command.  For example:


will print a blank line

@echo.  Hi.

will print "  Hi."

I have seen this used in order to print blank lines, and in order to avoid 
printing "ECHO is off." in the case where they print an empty variable.


would print "ECHO is off." or "ECHO is on."... but


will just print a blank line.

"make" doesn't recognize this as a shell command because the "echo." command is 
not in the shell command list for dos, and furthermore, the arguments are not 
separated from the command by a space or tab.  I have patched the 3.81 source 
code, but I guess that I should get agreement that this needs to be fixed 
before I get to exited.

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

reply via email to

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