[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash expansion nuance or bug?
From: |
Eric Blake |
Subject: |
Re: Bash expansion nuance or bug? |
Date: |
Thu, 22 Jun 2006 03:33:33 +0000 |
> I ran into an oddity in alias expansion. I don't know if it
> is a bug, or some feature I'm unfamiliar with:
>From 'man bash', under the section 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."
This is intentional, so that you can do something like:
alias nice='nice -n 5 '
and then 'nice ls' will still use the aliases you normally have
for ls.
--
Eric Blake