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 gkittelson 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. 123tips

    Filtering out text

    I am a newbee. I want to filter out text from lines in a file. Shold I use sed or grep? How do you do this? Here is the file: table.tbl-arc(table.tbl) period.tbl-arc(period.tbl) On each line, I want to filter out everytning from the - to the end of the line so that my output is: table.tbl...
  2. 123tips

    I am an AWK newbee and am trying to create an output of every 3 lines

    Thanks PHV! That worked great! Is it possible to get the output into 3 columns?
  3. 123tips

    I am an AWK newbee and am trying to create an output of every 3 lines

    I have an input text file that looks like: \\awpvcp01 Rev 1.7 Last modified: \\awpvcp01 Rev 1.6 Last modified: I am trying AWK to get this output: \\awpvcp01 Rev 1.7 Last modified: \\awpvcp01 Rev 1.6 Last modified: Am I trying to make this harder than it should be? Here is my attempt: awk...

Part and Inventory Search

Back
Top