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

Re: Handy Bash alias script



On Saturday 20 January 2007 10:46, Wayne Topa wrote:
> I like to use real world examples.  If you want to play then
> go ahead.
>
> alias pslpt="cat $1 | psnup -2 -pletter | lpr"

This doesn't work in bash, it would be expanded like this:

$ psplt arg1   
  => cat | psnup -2 -pletter | lpr arg1

-- 
Wesley J. Landaker <wjl@icecavern.net> <xmpp:wjl@icecavern.net>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2

Attachment: pgpHoStP9XS0G.pgp
Description: PGP signature


Reply to: