Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11367

Re: Parameter Expansion: Case Modification: ${var~} not documented

From Dan Douglas <ormaaj@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: Parameter Expansion: Case Modification: ${var~} not documented
Date 2015-08-18 08:50 -0500
Message-ID <mailman.8524.1439905860.904.bug-bash@gnu.org> (permalink)
References <CAO9HFd=EKGJ3KpuJtOcfWTn2F88ZFs=RUjjA9YF_rwJE9HY=gw@mail.gmail.com>

Show all headers | View raw


On Monday, August 17, 2015 01:08:55 PM Isaac Good wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: i686
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
> -DCONF_OSTYPE='linux-    gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
> -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/  locale' -DPACKAGE='bash'
> -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib  -
>  D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong --   param=ssp-buffer-size=4
> -DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/    bin'
> -DSTANDARD_UTILS_PATH='/usr/bin' -DSYS_BASHRC='/etc/bash.bashrc' -
>       DSYS_BASH_LOGOUT='/etc/bash.bash_logout'
> uname output: Linux netbook 3.16.1-1-ARCH #1 SMP PREEMPT Thu Aug 14
> 07:48:39 CEST     2014 i686 GNU/Linux
> Machine Type: i686-pc-linux-gnu
> 
> Bash Version: 4.3
> Patch Level: 39
> Release Status: release
> 
> Description:
> The man page fails to document the ${var~} and ${var~~} case inversion
> expansion.
> It got the upper and lower, ie ${var^} and ${var,} but not invert.
> 
> Fix:
> More documentation.

I'm pretty sure that's intentional. The corresponding `declare -c` has never 
been documented either.
-- 
Dan Douglas

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: Parameter Expansion: Case Modification: ${var~} not documented Dan Douglas <ormaaj@gmail.com> - 2015-08-18 08:50 -0500

csiph-web