Error in bash manual?

2012-04-22 Thread Jan Carreras Prat
>From my point of view in the section REDIRECTION of the man manual there is something technically incorrect: /dev/tcp/host/port     If host is a valid hostname or Internet address, and port     is  an integer port number or service name, bash attempts     to open a TCP connection to the correspon

Re: string replace with multibyte chars and extglob fails with bash-4.2

2012-04-22 Thread Chet Ramey
On 4/21/12 3:27 PM, Andreas Schwab wrote: > Mike Frysinger writes: > >> first set your locale to something unicode based: >> export LC_ALL=en_US.UTF-8 >> >> then try the simple script (from Ulrich Müller): >> $ cat test.sh >> shopt -s extglob >> text="aaaäöü" >> echo "${text} ${text//?aa} ${text/

Re: Directory completion problems

2012-04-22 Thread Chet Ramey
On 4/19/12 9:03 AM, Artur Rataj wrote: > I want the logical view, and I think there is one by now. But there is a > file missing in the logical directory, when cd ../ is completed from a > symlink. > > ~/projects/art/dev$ ls -la > drwxr-xr-x 6 art art 4096 2012-02-24 16:21 .bzr > lrwxrwxrwx 1 a

Re: Directory completion problems

2012-04-22 Thread Chet Ramey
On 4/20/12 4:41 AM, Artur Rataj wrote: > ~/a$ mkdir .java > ~/a$ cd symlink > ~/a/symlink$ cd ../.java/ > ~/a/.java$ > ~/a/.java$ cd ../ > ~/a$ rm -r .java && touch .java > ~/a$ cd symlink > ~/a/symlink$ cd ../.java/ > ~/.java$ > > Should it really be like that? I can't reproduce it. Is the foll

[patch] fix building when readline is disabled

2012-04-22 Thread Mike Frysinger
if you disable readline, the complete.def code fails to build. simple patch below (not sure if it's correct, but at least gets the conversation going). -mike --- a/builtins/complete.def +++ b/builtins/complete.def @@ -49,6 +49,8 @@ $END #include +#ifdef READLINE + #include #include ".