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 IamaSherpa 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: *

  1. Darshh

    converting a sed comande to awk

    this what i wrote but still there is a small problem, it doesn't erase the data betwen " " if this one starts on a line and finish on a 2nd line : ex data: data data "data unwanted data unwanted " data data # data unwanted awk '{ gsub(/"[^"]*"/, ""); print }' /data.log | awk '{ gsub(/#.*/...
  2. Darshh

    converting a sed comande to awk

    hi, i'm using this sed comande sed 's/"[^"]*"//g;s/#.*//' to parse data file . ex. data file : "unwanted data" data "unwanted data" data"unwanted data" #unwanted data #unwanted data"unwanted data" "#unwanted data" data#unwanted data this sed comande takes out evrything between Double...

Part and Inventory Search

Back
Top