mirror of https://github.com/tLDP/LDP
19 lines
472 B
Bash
19 lines
472 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' # Bash
|
|
# Octal equivalent of characters.
|
|
|
|
exit
|