Search Results

Search: Posts Made By: anothersolution
Forum: HP-UX 04-08-2008
81,021
Posted By anothersolution
Another solution
This sort of thing should also work:
sed -e 's/[^myChar]//g' myFile | wc -c
where myChar is the character you are searching for and myFile is the file you are searching in.
Showing results 1 to 1 of 1

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