bug-textutils
[Top][All Lists]
Advanced

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

wc problem


From: Yuval Dinari
Subject: wc problem
Date: Thu, 12 Jun 2003 17:53:50 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (BDP)

Hi,

(Well, this is not really a bug since the program behaves as specified)

wc -l counts the number of newlines. If the the file doesn't end with a newline then
this number is less the the number of lines in the file.
Wouldn't it be nicer if wc would return the actual number of lines?

Thanks, Yuval





reply via email to

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