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

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 >

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" > >