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

Re: text editing



Once upon a time Tsuyoshi Takada wrote @ Sat, 24 May 2003 13:44:38 +0900

> 
> Hi,
> 
> $ wc -l 1.txt
> returns
> " 150 1.txt"
> 
> I want to extract the lines count "100" as the following,
> 
> $ wc -l 1.txt | <some sommand>
> returns
> 100
> 

I had a stupid idea:
cat 1.txt | wc -l
!
-- 
----------------
-- Katoob Main Developer
Linux registered user # 224950
ICQ # 58475622
FIRST  make  it  run, THEN make it run fast "Brian Kernighan".

Attachment: pgpkSMrIr8IKq.pgp
Description: PGP signature


Reply to: