Re:Filenames and Pathnames in Shell: How to Do It Correctly
by emmelaich on Monday June 19, 2023 @11:55PM
(#36399511)
Does this work as desired?
Is $file not actually quoted here? Since the quoted bits are
[ Parent
| on HN ]
Re:Filenames and Pathnames in Shell: How to Do It Correctly
by two_handfuls on Tuesday June 20, 2023 @12:04AM
(#36399571)
This will correctly nest the quotes, yes. It’s somewhat counter-intuitive, but it works.
Re:Filenames and Pathnames in Shell: How to Do It Correctly
by coldtea on Tuesday June 20, 2023 @05:32AM
(#36401632)
>It’s somewhat counter-intuitive, but it works.
Sums up the POSIX shell experience
Re:Filenames and Pathnames in Shell: How to Do It Correctly
by layer8 on Tuesday June 20, 2023 @05:42AM
(#36401702)
One might disagree about “it works”.