3 ms·
ANSI escape sequences. Your terminal interprets them like move cursor to row x, column y. Set color green. Etc. https://en.wikipedia.org/wiki/ANSI_escape_code
by idsout 9y ago
ANSI escape sequences. Your terminal interprets them like move cursor to row x, column y. Set color green. Etc.
https://en.wikipedia.org/wiki/ANSI_escape_code https://en.wikipedia.org/wiki/ANSI_escape_code
- rijoja 9y agoInteresting? but why does bash execute the code from standard output instead of simply displaying it to the user?
- sp332 9y agoIt's not bash. You can remove the shebang line and cat the file, and it still works. It's simply your terminal interpreting the ANSI codes and displaying the contents of the file.