On 1/19/07, Wayne Topa <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED]([EMAIL PROTECTED]) is reported to have said:
> On 1/19/07, cassiano <[EMAIL PROTECTED]> wrote:
> >Why not just
> >
> >$ echo alias aliasname=\"alias commands\" >> ~/.bashrc
[--snip --]
> ...and have it work? Aliases don't support $1 or $@, do they?
They do here
alias deps='apt-cache showpkg $1'
alias policy="apt-cache policy $1"
alias 4page="a2ps --medium=Letter -4 $1"
Ok, but how about one with $1 not at the end? Like:
alias testarg="echo $1 was the testarg"
I get "bell-style was the testarg blah" when I run $(testargh blah).
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]