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

  1. unixdummy

    Testing for special characters

    Hi futurelet, [2thumbsup] Your awk program worked also, and also performs the concatenation, so is very handy for the job at hand. Thanks! Joan
  2. unixdummy

    Testing for special characters

    PH - thanks, that's a much neater way to do it! Joan
  3. unixdummy

    Testing for special characters

    Hi again, Here's how I am appending the CR (the shell adds the newline): echo '\015' > crlffile cat $myfile crlffile > mynewfile Thanks again, Joan
  4. unixdummy

    Testing for special characters

    Ken, I think this would cause an extra blank line on the system that this file gets passed to. The test that Ed came up with works, so I don't have to test that... Thanks, Joan
  5. unixdummy

    Testing for special characters

    Hi, This little job got pushed aside, so I'm just testing this now. Your code works up to the SED part, which does not work due to the way SED works - if there is no newline at the end of the file, it does not read the last line. I'll plug away at this a little more. Thanks! Joan
  6. unixdummy

    Testing for special characters

    Hi, In ksh (hp-ux), we are concatenating several files before sending them along to another system. Each line in the file is supposed to end with a cr/lf (\015\012). However we have an occasional file where the cr/lf is missing from the last line of the file. This causes the first line in the...

Part and Inventory Search

Back
Top