Search Results

Search: Posts Made By: PTL
1,802
Posted By PTL
Thank you both, much appreciated. awk '/STOP...
Thank you both, much appreciated.
awk '/STOP HERE/ {FN="XX"; next} {print > FN}' FN="YY" file

Please could you explain the actions? FN, I can't seem to find that as an awk variable. Please...
1,802
Posted By PTL
Unfortunately I didn't even know where to start....
Unfortunately I didn't even know where to start. I was reading up on egrep and I've been having a look at sed as you suggested. If you could throw some more light, I'd appreciate it.

thank you
1,802
Posted By PTL
Help with shell script to extract certain information
Hi,
I have a file which I need to programmatically split into two files.

All the information in the file before pattern "STOP HERE" is to be stripped and output into one file while everything...
3,839
Posted By PTL
Hi Don, The point you made about portability of...
Hi Don,
The point you made about portability of "\c" is interesting. How do I get the cursor to go on to the next line i.e. what is the replacement for "\c" when I use printf?
I have indeed...
3,839
Posted By PTL
Wow!!! Thank you all again! I hadn't realised...
Wow!!! Thank you all again! I hadn't realised there were responses waiting for me, I was busy trying various other options.

You were all correct i.e. bits from each suggestion put together seem...
3,839
Posted By PTL
hi, Are there any more suggestions to the...
hi,
Are there any more suggestions to the problem I logged please? I have tried both the suggestions above but neither was successful. The programming still does not return to the calling script.
...
3,839
Posted By PTL
wow!! You guys are great! thank you for both...
wow!! You guys are great! thank you for both suggestions, I will try both and let you know how it goes.

thanks again.
PTL
3,839
Posted By PTL
How to return programming to calling shell script?
Hi,
I need to edit a shell script which is calling another shell script. At the moment the program returns to the command prompt after executing each called script. I need to change it to make it...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 12:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy