Re: $HOME does not get abbreviated in prompt \w output when there is a trailing slash

2014-05-29 Thread Libor Pechacek
On Fri 23-05-14 06:13:13, Eric Blake wrote: > On 05/23/2014 02:32 AM, Libor Pechacek wrote: > > > +++ b/general.c > > @@ -699,7 +699,10 @@ polite_directory_format (name) > >int l; > > > >home = get_string_value ("HOME"); > > - l = home ? strlen (home) : 0; > > + > > + /* remove trailin

bug-bash@gnu.org

2014-05-29 Thread Dale R. Worley
Version: GNU bash, version 4.2.47(1)-release (x86_64-redhat-linux-gnu) Problem: Manual page does not describe the redirection form "n>&-". The manual page section "Duplicating File Descriptors" is as follows: Duplicating File Descriptors The redirection operator [n]<&w

bug-bash@gnu.org

2014-05-29 Thread Eduardo A . Bustamante López
> However, the last paragraph does not describe the form "n>&-" (which > does close descriptor n). Perhaps that is implied by "similarly", but > it would be better to spell it out: > >is used similarly to duplicate output file descriptors. If >word expands to one or more digits,