bug-bash
[Top][All Lists]
Advanced

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

Re: alias for commands broken in bash 2.05.0


From: Paul Jarc
Subject: Re: alias for commands broken in bash 2.05.0
Date: Tue, 07 Aug 2001 18:52:19 -0400
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7

william@nscs.fast.net writes:
> "Brian J. Fox":
>> aliases are not exectued within scripts.
> 
> what am I supposed to do instead?

Rewrite them as shell functions.  Functions work for interactive and
non-interactive shells.
alias abc=pwd
abc() { pwd ${1+"$@"}; }


paul



reply via email to

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