Search Results

Search: Posts Made By: jim mcnamara
4,025
Posted By jim mcnamara
try cat filename | tr -d '\n' | tr -s '"'...
try

cat filename | tr -d '\n' | tr -s '"' '\n' | wc -l


awk might be better -


awk -v ch='"' '
BEGIN {cnt=0 }
{cnt += gsub(ch,"Z") }
END {print cnt}...
Showing results 1 to 1 of 1

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