Björn Persson wrote: > I have often wanted a command combining mkdir and cd. I looked around and > found several blog and forum posts showing quick and dirty implementations, > but none that were complete enough to include in a distribution, so I wrote > this one. > > Do you think this would fit in the Moreutils collection? It is admittedly > somewhat different from most of the other tools in that it can't be used in > a pipeline. > > I was originally going to call it "mkcd", but that's apparently a CD making > program in Solaris and Mandriva. "mcd" is taken by Mtools, to I decided on > "mkcdir". > > The command is implemented as a shell function, as a child process can't > change the working directory of its parent. I don't expect it to work in a > plain Bourne shell, but I have tested it in Bash, Kornshell and the Z Shell. > I don't have an implementation for the C Shell. That would have to be quite > different.
I don't think it really fits, since this kind of thing requires shell setup, and moreutils is about simple commands that just work. -- see shy jo
signature.asc
Description: Digital signature

