Re: ksh cd two args

2016-08-31 Thread Alexander Hall
On Wed, Aug 31, 2016 at 01:53:30PM +0100, Theo Buehler wrote: > On Wed, Aug 31, 2016 at 08:39:51AM -0400, Ted Unangst wrote: > > About ten times a day I do something like this: > > $ cd cd tedu > > ksh: cd: bad substitution > > > > What does that even mean? According to the source, but not the man

Re: ksh cd two args

2016-08-31 Thread Theo Buehler
On Wed, Aug 31, 2016 at 08:39:51AM -0400, Ted Unangst wrote: > About ten times a day I do something like this: > $ cd cd tedu > ksh: cd: bad substitution > > What does that even mean? According to the source, but not the manual, there > is some two argument cd syntax which substitutes something. I

ksh cd two args

2016-08-31 Thread Ted Unangst
About ten times a day I do something like this: $ cd cd tedu ksh: cd: bad substitution What does that even mean? According to the source, but not the manual, there is some two argument cd syntax which substitutes something. I have never once tried to do this on purpose. Thus, I think the error me