Re: set $'\001'; v=$* converted $'\001' to $'\001\001'

2018-01-17 Thread Clark Wang
On Mon, Jan 15, 2018 at 11:44 PM, Chet Ramey  wrote:

> On 1/15/18 1:26 AM, Clark Wang wrote:
> > See following example:
> >
> > [STEP 100] # echo $BASH_VERSION
> > 4.4.12(4)-release
> > [STEP 101] # set -- $'\001'
> > [STEP 102] # v=$*
> > [STEP 103] # printf '%q\n' "$v"
> > $'\001\001'
> > [STEP 104] #
>
> Thanks for the report. This was fixed last month after a report from back
> in November. The fix is in the devel branch.
>

Hi Chet, what kind of bug fixes can we expect to be backported to the
current release branch (4.4)?

-clark


Re: set $'\001'; v=$* converted $'\001' to $'\001\001'

2018-01-17 Thread Chet Ramey
On 1/17/18 3:39 AM, Clark Wang wrote:
> On Mon, Jan 15, 2018 at 11:44 PM, Chet Ramey  > wrote:
> 
> On 1/15/18 1:26 AM, Clark Wang wrote:
> > See following example:
> >
> > [STEP 100] # echo $BASH_VERSION
> > 4.4.12(4)-release
> > [STEP 101] # set -- $'\001'
> > [STEP 102] # v=$*
> > [STEP 103] # printf '%q\n' "$v"
> > $'\001\001'
> > [STEP 104] #
> 
> Thanks for the report. This was fixed last month after a report from back
> in November. The fix is in the devel branch.
> 
> 
> Hi Chet, what kind of bug fixes can we expect to be backported to the
> current release branch (4.4)?

I have another batch waiting to be assembled into patches, mostly patches
I've already posted to the mailing list.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRUc...@case.eduhttp://tiswww.cwru.edu/~chet/



Re: [annoyance/non-feature] On OS X, every process is "occupying" CWD, making disk ejects impossible after cd'ing into them.

2018-01-17 Thread L A Walsh

Danyel Bayraktar wrote:

3) Honestly, the most obvious and backward-compatible solution would be to put 
this behind a shopt option, e.g. ‘shopt -s cwdspoof’. I don’t see any reason 
why this wouldn’t be feasible…
  

Because it's not a bash problem?

In Windows, in their cmd.exe, if you cd to a directory,
you can't delete the directory (nor eject the device it
is on).