This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

uppercase demo

By: a guest on Oct 16th, 2012  |  syntax: None  |  size: 0.09 KB  |  views: 35  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. bash-4.2$ set -- 'foo bar'
  2.  
  3. bash-4.2$ echo "$1"
  4. foo bar
  5.  
  6. bash-4.2$ echo "${1^^}"
  7. FOO BAR
clone this paste RAW Paste Data