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

Re: Handy Bash alias script



a.list.address@gmail.com(a.list.address@gmail.com) is reported to have said:
> On 1/19/07, cassiano <cassianoleal@gmail.com> 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"
etc

Wayne

-- 
All you need to know is the user interface.
_______________________________________________________



Reply to: