Re: Issues when func name is the same with an alias

2010-08-05 Thread Marc Herbert
Le 04/08/2010 15:29, Clark J. Wang a écrit : I do not agree. Aliases are much simpler to use than functions. Please provide examples.

Re: RFE: allow double quotes to group multi-words be treated as 1 arg, w/DQ's stripped off -- including RH =~

2010-08-05 Thread Linda Walsh
On 8/4/2010 10:07 PM, Chet Ramey wrote: On 8/4/10 8:31 AM, Greg Wooledge wrote: In fact, putting the ERE-pattern you want to match against into a variable and then using =~ $variable *is* the recommended practice, if you need to use =~ at all. It is the only way to get consistent results

Re: RFE: allow double quotes to group multi-words be treated as 1 arg, w/DQ's stripped off -- including RH =~

2010-08-05 Thread Andreas Schwab
Linda Walsh b...@tlinx.org writes: Or, why should double quotes be functionally the same as single quotes in that situation? Handling it different from glob meta characters would make it even more special. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7

Re: RFE: allow double quotes to group multi-words be treated as 1 arg, w/DQ's stripped off -- including RH =~

2010-08-05 Thread Chet Ramey
On 8/5/10 2:56 AM, Linda Walsh wrote: Couldn't you have limited to single quotes -- reserving to them the function of literalizing what is between them. No. That's not the difference between single and double quotes. Why would I complicate things further? Otherwise, could you think other

Re: Fix testsuite errors due to shell quoted parameter expansion issue.

2010-08-05 Thread Chet Ramey
On 8/3/10 4:55 PM, Eric Blake wrote: [adding autoconf to document some shell bugs] On 08/03/2010 02:32 PM, Ralf Wildenhues wrote: Interesting shell unportability: $ bash -c 'f= val e=; echo $e$f' val $ ksh -c 'f= val e=; echo $e$f' val ksh93, dash, zsh all do it like ksh. Is that a

Re: Issues when func name is the same with an alias

2010-08-05 Thread Clark J. Wang
On Thu, Aug 5, 2010 at 4:06 PM, Marc Herbert marc.herb...@gmail.com wrote: Le 04/08/2010 15:29, Clark J. Wang a écrit : I do not agree. Aliases are much simpler to use than functions. Please provide examples. The following is a part of my aliases. I'll have to write much more code if I

Re: Issues when func name is the same with an alias

2010-08-05 Thread Chris F.A. Johnson
On Fri, 6 Aug 2010, Clark J. Wang wrote: On Thu, Aug 5, 2010 at 4:06 PM, Marc Herbert marc.herb...@gmail.com wrote: Le 04/08/2010 15:29, Clark J. Wang a écrit : I do not agree. Aliases are much simpler to use than functions. Please provide examples. The following is a part of my aliases.

Re: Issues when func name is the same with an alias

2010-08-05 Thread Clark J. Wang
On Fri, Aug 6, 2010 at 9:54 AM, Chris F.A. Johnson ch...@cfajohnson.comwrote: On Fri, 6 Aug 2010, Clark J. Wang wrote: On Thu, Aug 5, 2010 at 4:06 PM, Marc Herbert marc.herb...@gmail.com wrote: Le 04/08/2010 15:29, Clark J. Wang a écrit : I do not agree. Aliases are much simpler to use