Search Results

Search: Posts Made By: apoorvasharma80
105,846
Posted By apoorvasharma80
Dear Rahul, check the man page on awk....
Dear Rahul,

check the man page on awk. there you will know about the NF variable, which will give you the number of fields. You can do a
cat file | awk '{ print NF}'




regards
Apoorva...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 08:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy