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 > "New.txt";
else if($4=="Status=\"bringUp\"") print $3 > "New.txt";}' bringUp.txt
awk '{split($1,i,"\"")
print i[2] > "Neu.txt";}' New.txt
Thanks
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 > "New.txt";
else if($4=="Status=\"bringUp\"") print $3 > "New.txt";}' bringUp.txt
awk '{split($1,i,"\"")
print i[2] > "Neu.txt";}' New.txt
Thanks