[Tutor] OS lib creating an directory using an absolute path.

Cameron Simpson cs at cskk.id.au
Tue Feb 9 05:57:30 EST 2021


On 08Feb2021 09:03, Alan Gauld <alan.gauld at yahoo.co.uk> wrote:
>On 07/02/2021 00:18, boB Stepp wrote:
>>> Speaking personally I find filenames/folders with spaces continually
>>> trip me up, especially in shell scripts and programs.
>
>> I take your points about care in quoting and splitting paths, but doesn't
>> one, nowadays, have to be prepared to deal with potential spaces as well as other
>> irksome characters?
>
>In production code of course. But many of my scripts are for personal
>use and I don't *expect* to find spaces in names. But of course
>occasionally I do :-(

Alas, I must apply my personal scripts to files from others. I like them 
to be robust.

Cheers,
Cameron Simpson <cs at cskk.id.au>


More information about the Tutor mailing list