a guest Nov 21st, 2013 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- select a in \
- 'a list of users with the UID greater than 999' \
- 'the Day, Month, and Year' \
- 'show a file name from lower case to upper case'
- case "$REPLY" in
- 1) awk -F: '$3>=999' /etc/passwd ;;
- 2) date +'Today is %d %B %Y' ;;
- echo 'What file would you like to change from lower case to uppercase?'
- select y in *; do
- tr '[:lower:]' '[:upper:]' < "$y"
- *) echo 'Invalid input'
RAW Paste Data