Search Results

Search: Posts Made By: derekphl
1,561
Posted By derekphl
The key thing is doing something different with...
The key thing is doing something different with the second instance than the first, which is why I'm trying to find a way to move straigth to the nth found instance.

Is there anything more...
1,561
Posted By derekphl
Process selected lines
I have an if statement where I state that if there are more than one records (lines) found containing a string in a file, then it enters into a while loop to use each line for as many lines as there...
1,665
Posted By derekphl
Noted; once I have my head removed from this...
Noted; once I have my head removed from this excessively long script I will take a look at the guide.

Perl is also on my list to-do!

Thanks all.
1,665
Posted By derekphl
Thanks, that worked, but I had to ditch the /is/{...
Thanks, that worked, but I had to ditch the /is/{ and }

Not sure why. Are there differences between sed on one platform to another? I'm on Solaris 10.

---------- Post updated at 02:27 PM...
1,665
Posted By derekphl
Find and delete everything else...
Ok, new user, relatively new to scripting and need to move to the next stage with awk or sed or both. I have been using them both at a basic level in my script.

I want to find a line, no problem,...
Showing results 1 to 5 of 5

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