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

    Print filename and 1st line of every file within a directory

    I'm sure I saw this as an example somewhere. Creating a new file that contains a file list & 1st line of current directory ie.: File1.dat This is the first line of 1st file File2.dat This is the first line of 2nd file etc. for as many files as in the directory. Anybody got a quickie?
  2. bassfass

    king of the parse errors {}, if, variables...

    I've got a file that I want to split out by value of field 1. I'm trying to say "print the first line out to a new file called 'out1', go to the next line & compare the value of $1 with that of the previous line, if value is the same append this line to that file, if different create a...

Part and Inventory Search

Back
Top