> From: "Noli Rafallo" <[EMAIL PROTECTED]>
> Subject: [plug] Text file manipulation in command line
> To: <[email protected]>
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="us-ascii"
> 
> existing text file? Also, how can I determine the line
> number of the last
> occurrence of some string?

    try :
         grep -n "string" <filename> | tail

regards,
ludwig lim



       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
 
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to