Re: problems with a system call

On Mon, 06 Sep 2004 22:01:25 GMT, Joe Smith <Joe.Smith [at] inwap.com>
wrote:

>Paul Johnston wrote:
>
>> I was going to use the flags -w and -l but noticed something strange
>>
>> ~/project/lang_model/source> wc -l test
>> 50000 test
>> ~/project/lang_model/source> wc -w test
>> 1168463 test
>>
>> Not sure why but "wc -l" returns whitespace before the number of lines
>> "wc -w" has no whitespace before the number of words!
>
>Repeat your test using a file with fewer than 999,999 words.
>There is nothing strange about it.
> -Joe

See what you mean!
Unfortunately in my line files that small are of no use :-)
Paul Johnston [ Di, 07 September 2004 13:10 ] [ ID #18612 ]

RE:

please send your test mail to another group ! Idiot
Cozy Paul [ So, 06 November 2005 11:30 ] [ ID #1046325 ]
Perl » alt.perl » Re: problems with a system call

Vorheriges Thema: TEST POST IGNORE
Nächstes Thema: how to sleep few seconds in perl