![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Complex file count problem | bbergstrom74 | Shell Programming and Scripting | 1 | 01-22-2008 12:16 PM |
| byte count and cut command | hemangjani | Shell Programming and Scripting | 4 | 04-12-2007 11:32 AM |
| Word count problem | ssmith001 | UNIX for Dummies Questions & Answers | 1 | 01-02-2007 01:21 PM |
| command to count files in dir | balireddy_77 | Shell Programming and Scripting | 4 | 11-15-2006 01:56 AM |
| problem with count | uni_ajay_r | Shell Programming and Scripting | 5 | 11-06-2006 08:14 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Problem count with wc-l command
Hi All,
I'm trying to count how many line in my *.txt file. My *.txt file has 1937 lines. The problem is : when I use wc -l command the result is 1936. Again, I did some test. I create a new file with 100 lines with text editor (Notepad ++, Ultra edit). And when I count it again with wc -l command, the result is 99. Could someone help me ? Thanks Albasit |
|
||||
|
hi blowtorch,
thanks for the reply. Ooo...I see.. I did "vi" my text file, and it has 1937 lines. So, to make wc -l worked right, I have to make one blank line after the end of line. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|