Problem with the echo command
Bug #78116 reported by
nicolas66
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dash (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
I have found a problem by using the echo command in a Makefile. The problem is simple :
1) I create a new file named 'Makefile'.
2) I fill it by typing these lines :
all:
@echo -e "foo\nbar"
3) I obtain a strange output WITH the parameter -e :
-e foo
bar
Changed in dash: | |
importance: | Medium → Wishlist |
To post a comment you must log in.
I am not sure what you mean by strange output:
-e option of echo recognizes escape sequences, so "\n" makes bar start in a new line.