Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: New2awk
  • Content: Threads
  • Order by date
  1. New2awk

    writing awk commands into a file

    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...
  2. New2awk

    Awk question - Suppose I have a file called Test1 with the ....

    .....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" >>...

Part and Inventory Search

Back
Top