Timeline for strange characters in the log file from bash + how to avoid them ?
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 2, 2018 at 6:28 | vote | accept | yael | ||
| Jan 22, 2018 at 13:07 | comment | added | George Vasiliou | Have a look in this post, you might get lucky : stackoverflow.com/questions/6534556/… | |
| Jan 22, 2018 at 12:32 | comment | added | Jeff Schaller♦ | Where is bash in this? | |
| Jan 22, 2018 at 12:08 | answer | added | RedGrittyBrick | timeline score: 1 | |
| Jan 22, 2018 at 12:08 | comment | added | yael | any choice to remove them ? or filter them ? | |
| Jan 22, 2018 at 11:58 | comment | added | ilkkachu |
They're terminal control codes indeed, ^[[1m sets bold etc. Whatever prints your log, probably prints them too, even though it doesn't usually make much sense in a file.
|
|
| Jan 22, 2018 at 11:47 | comment | added | tonioc | what command are you using when this happens: text editor? if so, just check using cat <logfile>, these are probably used to set text format attributes for display (color, bold, italic...) | |
| Jan 22, 2018 at 11:40 | history | asked | yael | CC BY-SA 3.0 |