bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash expansion nuance or bug?


From: Paul Jarc
Subject: Re: Bash expansion nuance or bug?
Date: Wed, 21 Jun 2006 23:30:07 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)

Linda Walsh <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]