Re: bash completion escaping bug

2015-08-25 Thread Neven Sajko
> for example I have this in shell input: > db.rc $home/Downloads/games/DOS/Captai > and after I press Tab I have this: > db.rc \$home/Downloads/games/DOS/Captain\ Bible\ in\ the\ Dome\ of\ > Darkness.zip Sorry, the completed command line was wrapped: db.rc \$home/Downloads/games/DOS/Captain\

Re: [ PATCH 1/1 ] l10n: zh_{CN,TW} localization update for bash 4.3

2015-08-25 Thread Chet Ramey
On 8/22/15 8:46 AM, Mingye Wang (Arthur2e5) wrote: > It appears that bash-4.4 pots are not yet submitted to TP, so maybe you > need to submit them first. I don't usually submit the POT files until I get through a round of alpha testing, but I will send them a note today. Chet -- ``The lyf so s

Re: [ PATCH 1/1 ] l10n: zh_{CN,TW} localization update for bash 4.3

2015-08-25 Thread Chet Ramey
On 8/22/15 7:26 PM, Mingye Wang (Arthur2e5) wrote: > I have got some reply from the TP guys concerning the bash l10n files. > It seems that the current files in po/ is outdated compared to the TP > ones, especially the zh_CN tranlation, so maybe you should merge them in > first. The bash-4.4-alpha

Re: help builtin generates unaligned results for multicolumn widechars.

2015-08-25 Thread Chet Ramey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/22/15 9:59 AM, Mingye Wang (Arthur2e5) wrote: > Version: <= 4.4-alpha > > In bash's `help.def' builtin, wdispcolumn() is used to display `help' > columns. It terminates the string at wcstr[width - 1], with a comment > that assmues each wide chara

Re: bash completion escaping bug

2015-08-25 Thread Chet Ramey
On 8/24/15 4:01 PM, Neven Sajko wrote: > Hi, > > I use bash 4.3.039 and there is a bug (not necessarily a recent > regression) with its file name completion feature. > for example I have this in shell input: > db.rc $home/Downloads/games/DOS/Captai > and after I press Tab I have this: > db.rc

Function name conflict with alias in bash-4.3

2015-08-25 Thread Corentin Peuvrel
Hi, I found a bug in bash-4.3 (4.3.39 in fedora 21), that seems to exists for a long time (at least from 4.1.2 in Centos 6). If you have an alias named "foobar", you can create a function with the keyword "function" (with or without parenthesis) : $ function foobar { :; } But you cannot if you

Re: Function name conflict with alias in bash-4.3

2015-08-25 Thread Greg Wooledge
On Tue, Aug 25, 2015 at 06:36:34PM +0200, Corentin Peuvrel wrote: > If you have an alias named "foobar", you can create a function with the > keyword "function" (with or without parenthesis) : > $ function foobar { :; } > > But you cannot if you don't : > $ foobar() {:;} > -bash: syntax error nea

Re: Function name conflict with alias in bash-4.3

2015-08-25 Thread Eric Blake
On 08/25/2015 10:36 AM, Corentin Peuvrel wrote: > Hi, > > I found a bug in bash-4.3 (4.3.39 in fedora 21), that seems to exists for a > long time (at least from 4.1.2 in Centos 6). Not a bug, but a misunderstanding on your part about how aliases work. Alias expansion is done on the left-most wo