On Wed, 03 Dec 2003 13:57:17 -0500, Bob Tilley (AT&T) wrote: > I wish to use the expression "catl <filename>" to execute the commands "cat > <filename> | less". > > Is it possible to use 'alias' in the definition? > > "alias catl='cat $0 | less'" seems like a good idea, but I don't know if the '$0' > works in a simple alias. > > Bob
Why not just type: "less <filename>" for the same effect? In any case, for info about constructing and using aliases, type man bash /alias -- ....................paul "I think that gay marriage is something that should be between a man and a woman." -- Arnold Schwarzenegger, Governor of California -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]