↧
Answer by Stéphane Chazelas for bash - why does \x0d\x20 erase the line
Characters of code 0 to 31 in ASCII are control characters. When sent to a terminal, they're used to do special things. For instance, \a (BEL, 0x7) rings the terminal's bell. \b (BS, 0x8) moves the...
View ArticleAnswer by Eric Renouf for bash - why does \x0d\x20 erase the line
\x0d is the character \r which brings the cursor to the start of the line, then \x20 is a space, so it overwrites the a with a space. If you're on a unix-y system you may want to consider just removing...
View Articlebash - why does \x0d\x20 erase the line
This is the view from gedit editor: and the view from vim editor: I then try to grep it, it did grep successfully if i put Log instead of Tog, but the output is corrupted: [xiaobai@xiaobai grep]$ grep...
View Article