I'm looking for a modern shell for Ubuntu.
Here is the first qualifying issue, say in a build style script (not looking for a build system btw):
In powershell:
new-item workspaces\crm\builds\demo -ItemType Directory
Now, the clever bit, if none of the preceding directories exist, it's clever enough to just to create them all, if on a subsequent run only demo dir is missing it creates that. In Bash I need to do a loop construct or manually cd dirname
, mkdir subdirname
, cd subdirname
Nah... I want less friction.
I want convention over configuration. Some might deem the above command to do be doing too much, but with flags I can move away from the convention. If that make sense, the shortest command should do the most logical thing, side cases expressed with explicit options.
Suggestions?