Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extract single string from a file

Status
Not open for further replies.

sharma29

Technical User
Sep 11, 2003
10
GB
Have a file(contents of the file wibble.lis as below)

Log file for RRV112T2 - Ad-hoc Bill Extract Table (Re-)Create

PL/SQL procedure successfully completed.

Started RRV112F2.sh - Ad-hoc Bill Extract Flat File (Re-)Create

RRV112F2 - Extract file name: /xxx/xxxxx/xxxxxx/xxx/RRV112F2_27726.lst

RRV112E2 - Extract file /xxx/xxxxx/xxxxxx/xxxx/RRV112F2_27726.lst (re)generated
[/color red]

I want a script to read the file wibble.lis and extract the string RRV112F2_27726.lst

The RRV112F2_ is always fixed.

Thanks in advance
 
What have you tried so far and where in your code are you stuck ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top