Is there an escape sequence, such as \012
or something like that?
I want to append on ascii chars to a file using echo ?? >> file
Is there an escape sequence, such as \012
or something like that?
I want to append on ascii chars to a file using echo ?? >> file
In the DOS command line enter EDIT, then to insert control characters use CTRL+P followed by the control character required.
For example
echo Ctrl-P ALT+013 > file
If you care about portability, you'll drop echo and use printf(1):
printf '\012'