-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
Hi there,
When I used echo command in alias function, -n option is not used by echo as follows:
foo =
!f() {
echo -n 1
}; f
$ aws foo
-n 1
But, ls command can use options successfully:
bar =
!f() {
ls
}; f
baz =
!f() {
ls -l
}; f
$ aws bar
file1 file2
$ aws baz
total 0
-rw-r--r-- 1 aibou staff 0 3 16 15:20 file1
-rw-r--r-- 1 aibou staff 0 3 16 15:20 file2
It seems a bug but I can't understand why ONLY echo behave it...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels