Timeline for Echo outputting results in erratic order in BASH
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 15, 2015 at 23:37 | comment | added | Jeff Schaller♦ |
looks like a carriage return snuck in; maybe output your matches piped through od -c to confirm
|
|
| Sep 15, 2015 at 23:36 | vote | accept | Paul | ||
| Sep 15, 2015 at 23:35 | answer | added | Tom Hunt | timeline score: 4 | |
| Sep 15, 2015 at 23:30 | comment | added | Paul | Well, the two files have these outputs: File 1: ASCII English text, with very long lines File 2: ASCII text, with very long lines, with CRLF line terminators | |
| Sep 15, 2015 at 23:25 | comment | added | alienth |
You might want to check your input file for any unicode characters or newline oddities. A quick file run might show something. A peek with a hex editor couldn't hurt, either.
|
|
| Sep 15, 2015 at 23:20 | review | First posts | |||
| Sep 15, 2015 at 23:37 | |||||
| Sep 15, 2015 at 23:18 | history | asked | Paul | CC BY-SA 3.0 |