Search Results

Search: Posts Made By: Subbeh
3,755
Posted By Subbeh
Just trying out different methods in case anyone...
Just trying out different methods in case anyone is interested:

Perl:
perl -lne 'print $_ =~ tr/\.//' file
Python:
python -c 'print open("file").read().count(".")'
Showing results 1 to 1 of 1

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