Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
echo $"Script Written by $(tput setaf 5)Bikram Hanzra$(tput sgr 0) (bikz.05@gmail.com)"$ | |
if [ "$#" == 0 ] ; then | |
echo "$(tput setaf 1)We need at least 2 arguments" | |
echo "SYNTAX ./remove <file-name> <text-to-be-removed>" | |
echo "<text-to-be-removed> by default = www.it-ebooks.info$(tput sgr 0)" | |
exit | |
fi | |
if [ "$#" == 1 ] ; then |