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

  • Users: 0492
  • Order by date
  1. 0492

    using awk to split a file into many output files...

    I have a file containing posts from usenet. I have tried this to split the file into output files containing one post each. ----------------------------------- #!/bin/bash # $1= Inputfile ARR=($(grep -n 'From ' $1 | cut -d':' -f1)) i=0 let j=i+1 cnt=${#ARR} while [[ $i -lt $cnt ]] do sed...

Part and Inventory Search

Back
Top