> >Can someone tell me what command I
> >can use to go to machines and count the
> >lines on a certain file?
perl -ne '/\n/ and $i++; eof and print $i' <filename>
where <filename> isn't really in <>s.
(Btw, be wary of using eof().
Otoh, sometimes it's just what you want.)
- Counting lines on a file Susan Richter
- Re: Counting lines on a file Jeff Pinyan
- Re: Counting lines on a file Brett W. McCoy
- Re: Counting lines on a file Mike Lacey
- Re: Counting lines on a file Brett W. McCoy
- Re: Counting lines on a file Paul
- Re: Counting lines on a file Brett W. McCoy
- Re: Counting lines on a file Jeff Pinyan
- Re: Counting lines on a file Casey West
- Re: Counting lines on a file Jos I Boumans
- Re: Counting lines on a file Jeff Pinyan
- Re: Counting lines on a file Jos I Boumans
