On Thu, 04 Dec 2003 00:22:46 +0100, 
[EMAIL PROTECTED] (Bj�rn Lindstr�m) wrote in message 
<[EMAIL PROTECTED]>:

> Nori Heikkinen <[EMAIL PROTECTED]> writes:
> 
> > on Wed, 03 Dec 2003 01:57:17PM -0500, Bob Tilley (AT&T) insinuated:
> >> 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.
> >
> > why don't you just use "less filename"?
> 
> Maybe he actually wants to concatenate the files, rather than see them
> one at a time, which is what less(1) does.

..huh?  Either 'less `ls /files/I/wanna/read/* ` ' or some such, one by
one, or  'cat ``ls /files/I/wanna/read/* ` |less ' for all in one go.

..tested down my /proc tree.  ;-)

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;-)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to