bug-coreutils
[Top][All Lists]
Advanced

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

wrong result from wc


From: Manu Hack
Subject: wrong result from wc
Date: Fri, 18 Jan 2008 02:59:55 -0500

Hi,

I have a data file attached.  When I run

wc -l < r.dat

it gives 999.

but when I open the file with vim, it shows 1000 lines.  Also,

cut -d ' ' -f1 r.dat | wc -l

gives 1000.

Why was that?  I couldn't figure it out ...

Manu

Attachment: r.dat
Description: Netscape Proxy Auto Config


reply via email to

[Prev in Thread] Current Thread [Next in Thread]