wc problem
Yuval Dinari <[email protected]> Thu, 12 Jun 2003 17:53:50 +0300
| Newsgroups | gmane.comp.gnu.textutils.bugs |
|---|---|
| Organization | Verisity |
| Message-ID | <[email protected]> |
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