Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: Re: file counting
- To: tlug@example.com
- Subject: Re: tlug: Re: file counting
- From: Scott Stone <sstone@example.com>
- Date: Mon, 12 Oct 1998 21:56:40 +0900 (JST)
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- In-Reply-To: <XFMail.981012215654.schweiz@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
On Mon, 12 Oct 1998, Jim Schweizer wrote: > Hi all, > > On 12-Oct-98 Scott Stone wrote: > > Try changing it to: > > > > find $1/ -type f | wc -l > > > > If you don't have a trailing slash on the path, find goes into stupid mode > > and doesn't really work.. :) > > OK, tried that. I'm still stuck... > > schweiz:~$ alias numf > alias numf='find $1/ -type f | wc -l' > schweiz:~$ numf ~/Mail > wc: /home/schweiz/Mail: Is a directory > 0 /home/schweiz/Mail > Broken pipe > schweiz:~$ > > Is the broken pipe coming from find or wc; how would I know? Are you sure that you can use tokens like $1 in an alias? It's acting weird. -------------------------------------------------- Scott M. Stone <sstone@example.com, sstone@example.com> <sstone@example.com> Head of TurboLinux Development/Systems Administrator Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan) http://www.pht.com http://armadillo.pht.co.jp http://www.pht.co.jp http://www.turbolinux.com --------------------------------------------------------------- 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
- Follow-Ups:
- Re: tlug: Re: file counting
- From: Jim Schweizer <schweiz@example.com>
- References:
- tlug: Re: file counting
- From: Jim Schweizer <schweiz@example.com>
Home | Main Index | Thread Index
- Prev by Date: tlug: Re: file counting
- Next by Date: Re: tlug: Re: file counting
- Prev by thread: tlug: Re: file counting
- Next by thread: Re: tlug: Re: file counting
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links