logoalt Hacker News

laughing_mantoday at 1:09 AM1 replyview on HN

That won't save you from weird file names, but null termination will.


Replies

samtheprogramtoday at 2:20 AM

Passing "{}" handles most sane cases including spaces. If I'm doing bash that needs to be robust (rare and/or dotfiles) or know the folder/dataset has weird filenames, sure.