Mailing List Archive

Support open source code!


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

Re: tlug: Re: file counting



Hi all,

On 12-Oct-98 Scott Stone wrote:
> Are you sure that you can use tokens like $1 in an alias?  It's acting
> weird.

It IS acting wierd and yes, $1 does work:

schweiz:~$ alias psg
alias psg='ps -aux | grep  $1'
schweiz:~$ psg schweiz
schweiz    831  0.0  3.5   94  388 pp0 S    21:48   0:00 -bash
<snip>

I'm at a loss to explain it....

Regards,

Jim S.
---------------------------------------------------------------
Next Nomikai: 20 November, 19:30 Tengu TokyoEkiMae 03-3275-3691
Next Meeting: 12 December, 12:30 Tokyo Station Yaesu central gate
---------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links