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
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...
Hi there,
When I used
echocommand in alias function,-noption is not used byechoas follows:But,
lscommand can use options successfully:It seems a bug but I can't understand why ONLY
echobehave it...