Handling control characters on the command line: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'Category Unix Category Bash ==printf== printf '\033'"\n" | cat -vet - printf '\x0d'"\n" | cat -vet - [ctrl-v][esc] [ctrl-v][ctrl-m] printf '[ctrl-v][ctrl-m]' | cat -v…') |
(No difference)
|
Revision as of 14:46, 8 July 2010
printf
printf '\033'"\n" | cat -vet - printf '\x0d'"\n" | cat -vet -
[ctrl-v][esc] [ctrl-v][ctrl-m]
printf '[ctrl-v][ctrl-m]' | cat -vet -; echo
Control-V
Use Control-V to insert control codes.