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

Alias help needed



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



Reply to: