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 Shaun E 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: sbgirl54
  • Content: Threads
  • Order by date
  1. sbgirl54

    Why does this not work...

    This doesn't work: awk ' NR == FNR { x=$1 ; next } { y=$1 } {if (x==y) print $0} ' file1.in catalog.cat > file2.res I'm trying to make a list of catalog entries that match the line headers in file1. The program instead outputs a copy of file1. That doesn't make...
  2. sbgirl54

    building from multiple files

    Hi! Basically, I have 2 text files and need to combine them into one while making a few changes. The commands I came up with were too long/slow so I figured some more familiar with awk could help me. Basically I have these 2 files, were N~50000 : file1.res 1 a1 a2 ... a13 2 b1 b2 ... b13 ...

Part and Inventory Search

Back
Top