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

  • Users: mac9968
  • Content: Threads
  • Order by date
  1. mac9968

    For i in $userarray[@] is one line off

    Hello, I have searched the forum, but am unable to find direction on my issue. I have s simple BASH script below #!/bin/bash # ########################### userarray=$(cat test|awk 'BEGIN {FS="\t"}; {print $1}'|sort -u) echo "USERID #of occurances" for i in $userarray[@] do printf...
  2. mac9968

    Data Mapping with Hashes

    Morning all, I have a task that I need to get done, and cant seem to get it together. I have a file that I am read via the <> operator. This files contains simply: 17 21 19 70 99 45 32 25 67 89 90 91 11 10 12 33 34 36 37 several lines of numbers from 1 to 99. In the perl file I am pulling the...
  3. mac9968

    Second file read from Diamond Operator need first line removed

    First Thread! Folks, I have a script that is using the diamond operator to read two files that I have specified at the command line. The first file is a standard text, the second file is a CSV file, with a header. My script works if I remove the header before executing, but I would like to...

Part and Inventory Search

Back
Top