The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



Thread: a
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-23-2006
ranj@chn ranj@chn is offline
Playing with Ubuntu Now!
 

Join Date: Oct 2005
Location: Chennai
Posts: 363
re

It finds(greps) lines having PAY in $FOR_FIL(file) and gets the characters from 92-106 and gives the last 'i' lines as the output.

Instead of cat $FOR_FIL, you could use - grep PAY $FOR_FIL which is a good way of scripting.
Reply With Quote