![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| count the number of field in a string with deliminter | yang | UNIX for Dummies Questions & Answers | 9 | 07-25-2008 02:24 AM |
| How to print empty line when the a field is changed | yahyaaa | Shell Programming and Scripting | 9 | 06-17-2008 07:31 AM |
| Awk scrip to remove empty field | bombcan | Shell Programming and Scripting | 4 | 06-11-2008 09:57 AM |
| Shell Script using Join, empty field help! | tibbyuk | UNIX for Dummies Questions & Answers | 1 | 02-25-2008 08:33 AM |
| Awk-Group count of field | tinivt | Shell Programming and Scripting | 3 | 05-07-2007 12:44 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Count of Field for Non-Empty
Hi Guys,
I wanted to count the number of records for a particular field of a file. whose fields are separated by comma"," I fI use this command. cat "filename" cut -sd "," -f13 | wc -l This shows all the lines count including the blank values for the field number 13. I wanted to count record of field which are non-empty. Kindly help me out. Swapna |
| Forum Sponsor | ||
|
|