Re: Feature Request: Add -a Option to mkdir for Single-Directory Names w
From:
Ranuga D
Subject:
Re: Feature Request: Add -a Option to mkdir for Single-Directory Names with Custom Formatting
Date:
Wed, 15 Jan 2025 22:26:21 +0530
Thanks, I'll check it out.
On Tue, Jan 14, 2025 at 8:29 PM Rob Landley <rob@landley.net> wrote:
> On 1/14/25 06:25, Pádraig Brady wrote:
> > --convert-underscores etc. is too specific. Would you also have --
> > convert-hyphens.
> >
> > As it stands you have the wealth of conversion utilities available in the
> > existing unix toolset, which can be applied with quoting etc.
>
> $ x() { "$1" "${2//_/ }"; }
> $ x mkdir one_two_three
>
> Rob
>