Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: cygwin
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i686-pc-cygwin'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
-DS
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: cygwin
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i686-pc-cygwin'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
-DS
a}"
echo "replace all \"a\" to uppercase: ${var^^a}"
Then the result is:
mylogin@Xubuntu:~/shell$ ./a.sh
var: abcabc
replace the leading "ab" to uppercase: abcabc --> incorrect
replace all the "ab" to
/bashbug: rmail: not found
/usr/bin/bashbug: mail failed: report saved in /home/jmarbas/dead.bashbug
So I decided to send it to you as an attachment to this email instead.
Hope this is ok.
Thanks,
Jerry
dead.bashbug
Description: Binary data