[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: declare -c still undocumented.
From: |
DennisW |
Subject: |
Re: declare -c still undocumented. |
Date: |
Fri, 12 Feb 2010 08:46:10 -0800 (PST) |
User-agent: |
G2/1.0 |
On Feb 12, 2:10 am, Mikael Fridh <fri...@gmail.com> wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: x86_64
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
> -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
> -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
> -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include
> -I../bash/lib -g -O2 -Wall
> uname output: Linux teheran 2.6.31-19-generic #56-Ubuntu SMP Thu Jan
> 28 02:39:34 UTC 2010 x86_64 GNU/Linux
> Machine Type: x86_64-pc-linux-gnu
>
> Bash Version: 4.0
> Patch Level: 33
> Release Status: release
>
> Description:
> declare: usage: declare [-aAfFilrtux] [-p] [name[=value] ...]
> mikfri@teheran:~$ declare -c moo=moo; echo $moo
> Moo
>
> Repeat-By:
> run declare -c
>
> Fix:
> document in bash(1), document in usage:, add to builtin help.
Also, toggle case by word ${PARAMETER~PATTERN} and toggle case all $
{PARAMETER~~PATTERN} are undocumented.