On 2005-06-07, Tong wrote:
> Hi,
>
> How can I use my aliases in my bash script?
This has been answered more than adequately in the comp.unix.shell
newsgroup.
The correct answer, which you seem not to like, is, "Don't use
aliases; use functions."
When given advice on how to do th
Tong <[EMAIL PROTECTED]> writes:
> Hi,
>
> How can I use my aliases in my bash script?
>
> This seems a very simple question but I just can't get it working. For
> example, I have an alias
>
> alias acpl='apt-cache policy'
Have you tried
$ source cmd.bash
??
--
To UNSUBSCRIBE, email
Hi,
How can I use my aliases in my bash script?
This seems a very simple question but I just can't get it working. For
example, I have an alias
alias acpl='apt-cache policy'
and this test file:
$ cat cmd.bash
shopt
alias
acpl apt-cache
Now, no matter how I invoke the script, I always get t
3 matches
Mail list logo