mirror of https://github.com/tLDP/LDP
20 lines
486 B
Bash
20 lines
486 B
Bash
#!/bin/bash
|
|
|
|
# String expansion.
|
|
# Introduced with version 2 of Bash.
|
|
|
|
# Strings of the form $'xxx'
|
|
#+ have the standard escaped characters interpreted.
|
|
|
|
echo $'Ringing bell 3 times \a \a \a'
|
|
# May only ring once with certain terminals.
|
|
# Or ...
|
|
# May not ring at all, depending on terminal settings.
|
|
echo $'Three form feeds \f \f \f'
|
|
echo $'10 newlines \n\n\n\n\n\n\n\n\n\n'
|
|
echo $'\102\141\163\150'
|
|
# B a s h
|
|
# Octal equivalent of characters.
|
|
|
|
exit
|