Hi I wrote some lines in awk and now I wanted to write them into a file, but there always occur some errors.
Hope someone can help me.
awk '/bringUp/' V03_autsfce12_26-07-05.xml > bringUp.txt
awk '{if ($2=="Status=\"bringUp\"") print $4 > "New.txt";
else if ($3=="Status=\"bringUp\"") print $2...
.....following data:
field1^Vfield2^V^field3^Vfield4
I need to take the data from test1 and output it into test2 but where i can specify the order that the fields come out.
I have tried to cut the fields using the following command
grep "f" test1 | cut f 4,3,2,1 -d"^V" >>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.