Search Results

Search: Posts Made By: Stoner008
Forum: Linux 12-17-2012
2,483
Posted By Stoner008
Thanks all Yes i tried correcting the...
Thanks all

Yes i tried correcting the syntax and it worked wonderfully. Thanks all once again. esplly rudiC :-)
Forum: Linux 12-17-2012
2,483
Posted By Stoner008
Hmmm Im getting a syntax error awk: cmd....
Hmmm Im getting a syntax error

awk: cmd. line:1: !/^#/ && !Done{$2="Changed_Pattern");Done++}1
awk: cmd. line:1: ^ syntax error

----------...
Forum: Linux 12-17-2012
2,483
Posted By Stoner008
Hi RudiC It works and thanks for your time...
Hi RudiC

It works and thanks for your time but I have problem there as I cant give the pattern "Old_Pattern" as that can be anything and I used "*" which didnt work. Im really new to awk so can...
Forum: Linux 12-17-2012
2,483
Posted By Stoner008
Problem editting the first occurence of a pattern in the first uncommented line
Hi

I have to replace a pattern found in the first uncommented line in a file. The challenge I'm facing is there are several such similar lines but I have to edit only the first uncommented line.
...
Showing results 1 to 4 of 4

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