Search Results

Search: Posts Made By: Baefisch
2,051
Posted By Baefisch
thanks you very much. I am not worthy ...
thanks you very much.
I am not worthy

---------- Post updated 02-14-13 at 05:24 AM ---------- Previous update was 02-13-13 at 10:05 AM ----------

sorry, me again.

second one doesn´t work....
2,051
Posted By Baefisch
ahh.. ok. but if i try this the changed code is...
ahh.. ok. but if i try this the changed code is only shown in the cmd, but not in the text file.

:b:
2,051
Posted By Baefisch
everybody... :D i type in a cmd gawk -f...
everybody... :D

i type in a cmd
gawk -f test.awk test.txt

test.awk
awk -F. '
substr($3,1,index($3,"=")-1)=="mainclass" {print "#" $0;$NF="xyz"}
...
2,051
Posted By Baefisch
always invalid char ''' in expression? whats...
always invalid char ''' in expression?
whats my mistake?

cmd
gawk -f test.awk test.txt
2,051
Posted By Baefisch
yes change the two ...
yes change the two
wrapper.java.mainclass=org.tanukisoftware.wrapper. WrapperSimpleApp
wrapper.java.classpath.2=../../jdk/lib/tools.jar

and paste one line with and # for a comment.


So...
2,051
Posted By Baefisch
Gawk - Text replace - need help
Hello, i am a working student and have to build a patch setup.
I have to replace 2 lines in a .txt file. Can someone help me please.

Now:
wrapper.java.mainclass=org.tanukisoftware.wrapper....
Showing results 1 to 6 of 6

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