This appears to be a bug in echo:

echo `echo` should return 2 line feeds, but it only gives one. I noticed
this in a problem I had with a form sensitive script that had to check
the output of a command. Logicly, echo (without -n flag) returns a \n
line feed after echoing something, so technically even embedded echoes
should do the same.

A similar problem occurs with:  echo -n `echo`, which doesn't return in
trailing line feeds at all.



-- 
Alexander Bedard
[EMAIL PROTECTED]

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to