The UNIX and Linux Forums  

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 -->
  #1 (permalink)  
Old 10-23-2002
r0mulus r0mulus is offline
Registered User
  
 

Join Date: Oct 2002
Posts: 2
Unhappy Counting words in a file

I'm trying to figure out a way to count the number of words in the follwing file:


cal 2002 > file1


Is there anyway to do this without using wc but instead using the cut command?