[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: doesn't bash do variable subst. or quote removal on function stateme
From: |
Greg Wooledge |
Subject: |
Re: doesn't bash do variable subst. or quote removal on function statement |
Date: |
Tue, 12 Jan 2016 14:56:03 -0500 |
User-agent: |
Mutt/1.4.2.3i |
On Tue, Jan 12, 2016 at 11:52:47AM -0800, Linda Walsh wrote:
> Also, from a documentation standpoint, not all behaviors are documented
> in the manpage, like:
>
> echo $[1+2]
>
> as far as I can tell, isn't documented, yet not supporting
> its behavior would break many older scripts....
That syntax has been deprecated for at least 15 years. Nobody is
supposed to be using it. It's undocumented ON PURPOSE, to try to make
people stop doing it.
If you have older scripts that use it, fix them now.
- Re: aliases v. functions; command extension? (-f & -F)?, (continued)
- doesn't bash do variable subst. or quote removal on function statement, Linda Walsh, 2016/01/09
- Re: doesn't bash do variable subst. or quote removal on function statement, Andreas Schwab, 2016/01/10
- Re: differences in Q.-removal, var-expansion and allowed characters in fn & var names, Linda Walsh, 2016/01/10
- Re: differences in Q.-removal, var-expansion and allowed characters in fn & var names, Chet Ramey, 2016/01/11
- Re: doesn't bash do variable subst. or quote removal on function statement, Chet Ramey, 2016/01/11
- Re: doesn't bash do variable subst. or quote removal on function statement, Linda Walsh, 2016/01/12
- Re: doesn't bash do variable subst. or quote removal on function statement,
Greg Wooledge <=
- Re: doesn't bash do variable subst. or quote removal on function statement, Linda Walsh, 2016/01/12
- Re: doesn't bash do variable subst. or quote removal on function statement, Chet Ramey, 2016/01/13
- Re: doesn't bash do variable subst. or quote removal on function statement, Linda Walsh, 2016/01/13
- Re: doesn't bash do variable subst. or quote removal on function statement, Chet Ramey, 2016/01/13
- Re: doesn't bash do variable subst. or quote removal on function statement, Chet Ramey, 2016/01/13
- Re: aliases v. functions; command extension? (-f & -F)?, Chet Ramey, 2016/01/11
- Re: aliases v. functions; command extension? (-f & -F)?, Reuti, 2016/01/11
- Re: aliases v. functions; command extension? (-f & -F)?, Chet Ramey, 2016/01/11
Re: 'official function declaration format' doesn't work if alias defined, Eric Cook, 2016/01/09