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

    New to using AWK - query regarding reading in from file

    Yes that sort thing exactly - thank you Feherke. I'll sit down and try and learn awk properly when I have more time, it seems like it is significantly quicker than perl for these relatively simple tasks. Thanks, Jamie.
  2. jamie999

    New to using AWK - query regarding reading in from file

    Hmmmm, in that case I may go with cut option. Just one question. The code you've given won't work as such. That's not your fault, I gave a slightly simplified version of the task for ease of explanation. The list of names in the name_file are not totally identical to the headers in the...
  3. jamie999

    New to using AWK - query regarding reading in from file

    Thank you feherke - I'll have a play about with both options and see which best suits. Yes sorry, that was the code for cut, I'd been comparing cut, awk and perl performing the same task and found that awk and cut took approximately the same time but perl was slower. I obviously mixed up my cut...
  4. jamie999

    New to using AWK - query regarding reading in from file

    Hi there, Firstly apologies, I am completely new to AWK but am a reasonable Perl programmer. I have actually completed the following task using a perl script, but I feel that AWK *may* be faster so it would be good to know if what I want to do can be carried out in AWK as in all likelihood I...

Part and Inventory Search

Back
Top