The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 06-25-2008
dcfargo dcfargo is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 45
I'm using Bash and going with:

awk '{print $1, gsub("[a-z]", ".")}' infile > outfile

appears to be counting all the letters not just the lowercase letters

Thank you