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 IamaSherpa 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. pathfinderpathfinder

    annoying carriage return with paste and awk instructions

    ?? Error using ==> load Number of columns on line 2 of ASCII file pepito.new must be the same as previous lines. I tried what you said. fileAfixed works fine, and loads in matlab like I want it to be loaded. though: $ file fileA.fixed fileA.fixed: ASCII text, with very long lines, with no line...
  2. pathfinderpathfinder

    duplicated records

    well, I think there s a command called SORT (can t check it right now) you could probably sort your file before applying AWK. Is it stupid?
  3. pathfinderpathfinder

    annoying carriage return with paste and awk instructions

    $ file fileA.dat fileA.dat: ASCII text, with very long lines, with no line terminators $ file fileB.dat fileB.dat: ASCII text, with CR, LF line terminators There lies the problem: you pointed it perfectly! fileA is weird, isn t it? Though it s not a windows file, because when i edit it in...
  4. pathfinderpathfinder

    annoying carriage return with paste and awk instructions

    Thanks for your answer. The OS used with AWK and paste is Ubuntu Gutsy 64 bits. But the files created were created in fortran compaq visual studio, running in windows. All my files were generated in a windows environment. All the files were sent via sftp to a linux machine. And through paste and...
  5. pathfinderpathfinder

    annoying carriage return with paste and awk instructions

    Hi everybody, First post here. I put all my hopes here, I m running out of time to get a file, and can t go further now, there s something wrong in my files. I used a lot of times this instruction paste M1_CGK025_K1K2K3T0T1T2T3.dat M1_CGK025_ITSIM.dat | awk 'BEGIN{OFS=" "};NF==9 {for (i=1...

Part and Inventory Search

Back
Top