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 strongm 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. philthygeezer

    AWK script to print the first 50 lines of any text file?

    I piped the command awk 'FNR<=50' hugefile.txt > junk2.txt junk2.txt is created but it's empty.
  2. philthygeezer

    How to replace spaces with commas?

    awk '{gsub(/,/," ");print}' This will replace commas with spaces, but awk '{gsub(/ /,",");print}' Doesn't appear to do the reverse. What do I do?
  3. philthygeezer

    AWK script to print the first 50 lines of any text file?

    I've got some whopping big text files to deal with, and would like to view partial contents in order to determine how to handle them. Thanks, P

Part and Inventory Search

Back
Top