Search Results

Search: Posts Made By: HugoDarley
10,423
Posted By HugoDarley
Yes, I tried this before, unfortunately it did...
Yes, I tried this before, unfortunately it did not have an effect.

---------- Post updated at 09:38 AM ---------- Previous update was at 09:36 AM ----------



That's great. I still need a...
10,423
Posted By HugoDarley
AWk - supress warning
Hi,

I am trying to run a script using awk and sed a few times.

The script itself seems to work fine but in a final awk statement it throws up a warning:

awk: warning: escape sequence `\.'...
6,787
Posted By HugoDarley
ok I have this inside my script now, which...
ok I have this inside my script now, which displays my output to the screen with 'test' in the right place:

awk '/#end of nero56 commands/ {print "test"} {print}' hugo01.vm1.commands >...
6,787
Posted By HugoDarley
To be honest, not a lot, I tried simply...
To be honest, not a lot, I tried simply substituting the text I am searching for from the command line as follows:

$ sed -f hugo01.vm1.commands 's/oldtext/newtext/'

but got the error

sed:...
6,787
Posted By HugoDarley
KSH - search for string and insert line above
Hi,, Please excuse my lack of knowledge here. I think I am tring to do something fairly advanced yet am a bit of a beginner.....

I want to use a korn shell (as is the norm with others in my...
Showing results 1 to 5 of 5

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