Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!usenet.stanford.edu!not-for-mail From: Dan Douglas Newsgroups: gnu.bash.bug Subject: Re: Parameter Expansion: Case Modification: ${var~} not documented Date: Tue, 18 Aug 2015 08:50:51 -0500 Lines: 35 Approved: bug-bash@gnu.org Message-ID: References: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7Bit X-Trace: usenet.stanford.edu 1439905860 11306 208.118.235.17 (18 Aug 2015 13:51:00 GMT) X-Complaints-To: action@cs.stanford.edu Cc: Isaac Good To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=bq35RVkGe6WsCq1uxFtc461ZoGiTPP+j2Al4nETzjzA=; b=AqDR+6EhdinqZIaN0TfXUfu8ReSmOoM4vJpxSNlsfFP9KmOg4N7b7fcyGs/HHuAVNP yEsCUKqwVcoXheWmES/Ukxc6z0/Ubv+mx8iKjXlfX7BneGw3b67RwejdpKmhUTJn6/ED NnRC8ETacAaiQW56WGLKtLVHaiR0RWxnlO0ns3aNKBabDCpN4eqAQkXCoQ8tRRfYwJRC FW91jwOtggGrQiTH53Y8tB1iQ1L5U6Y3KwZEoxvq3148O/lccH0gdTTtUkNg3piYnwkD LiLNzG+qVgg2UhDFe3cCixKw9XrPLbHOg/cRXqEzP76t0umJzf2FRO3JpbCemaPGLtmp c/Og== X-Received: by 10.50.110.72 with SMTP id hy8mr21013111igb.36.1439905852966; Tue, 18 Aug 2015 06:50:52 -0700 (PDT) User-Agent: KMail/5.0.41 alpha1 (Linux/4.2.0-rc7; KDE/5.14.0; x86_64; ; ) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::22f X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:11367 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