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!

Recent content by bassfass

  1. bassfass

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

    Perfect. Thanks so much. You guys are the greatest
  2. 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?
  3. bassfass

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

    argggh just realized that the unbalance "{" should've been a "{". correceted that & I'm good to go. Thanks CaKiwi
  4. bassfass

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

    still gets me parse errors starting with "if" (once I removed the unbalanced "}") the delimna goes on
  5. 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