|
| From: | Rob Landley |
| Subject: | Re: Feature Request: Add -a Option to mkdir for Single-Directory Names with Custom Formatting |
| Date: | Tue, 14 Jan 2025 08:59:49 -0600 |
| User-agent: | Mozilla Thunderbird |
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
| [Prev in Thread] | Current Thread | [Next in Thread] |