Re: Double slash root cwd

2016-12-11 Thread Jonathan Zdziarski
Cool... thanks! Pardon teh spellnig; Sent form my iPhone > On Dec 11, 2016, at 4:55 PM, Chet Ramey wrote: > >> On 12/11/16 4:10 PM, Jonathan Ździarski wrote: >> Hey there- >> >> Noticed in bash you can cd into paths prefixed with double slash; e.g. “cd >> //usr/sbin” and it will set the pwd e

Re: Double slash root cwd

2016-12-11 Thread Chet Ramey
On 12/11/16 4:10 PM, Jonathan Ździarski wrote: > Hey there- > > Noticed in bash you can cd into paths prefixed with double slash; e.g. “cd > //usr/sbin” and it will set the pwd environment variable as such; not sure if > this was intended or not, but can see where some poor guy’s aliases or bash

Double slash root cwd

2016-12-11 Thread Jonathan Ździarski
Hey there- Noticed in bash you can cd into paths prefixed with double slash; e.g. “cd //usr/sbin” and it will set the pwd environment variable as such; not sure if this was intended or not, but can see where some poor guy’s aliases or bash scripts are likely to barf. Jonathan