An Improved Echo
Here's an improvement on the standard echo
utility:
#!/bin/bash WORD="${1:-echo}" WORD="${WORD,,}" echo "${WORD^^} ${WORD^} ${WORD} ${WORD: -3} ${WORD: -1}"
Example usage:
$ ./echo.sh ECHO Echo echo cho o $ ./echo.sh "this is a test" THIS IS A TEST This is a test this is a test est t