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

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 07-17-2008
phemanth24 phemanth24 is offline
Registered User
  
 

Join Date: Apr 2008
Location: Hyderabad, India
Posts: 14
Hi Samz. I should have elaborated further.
I put my code into a script and ran it with awk.

Code:
awk -f <script name> <file>
Currently it prints the number of instances of A and B