Linda Walsh <[EMAIL PROTECTED]> wrote:
> Two aliases:
>    alias ls='ls -CFG --show-control-chars --color=tty '
>    alias dir='ls'
>
> If I type "ls dir" (created a test dir called dir), I
> get:
>    "ls dir"
> I get:
>    ls: ls: No such file or directory.

man bash, under ALIASES:
# If the last character of the alias value is a blank, then the next
# command word following the alias is also checked for alias
# expansion.


paul


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to