Re:Unix Shell Programming: The Next 50 Years [pdf]
by ptspts on Friday June 04, 2021 @10:16AM
(#27393824)
This doesn't work if $0 contains whitespace. Fix it by using "$0" instead.
[ Parent
| on HN ]
Re:Unix Shell Programming: The Next 50 Years [pdf]
by enriquto on Friday June 04, 2021 @11:02AM
(#27394279)
LOL. What kind of savage runs a script with whitespace in its name?
Re:Unix Shell Programming: The Next 50 Years [pdf]
by oblio on Friday June 04, 2021 @03:41PM
(#27398196)
What kind of savage OS doesn't even have a standard text encoding for its filenames and even allows its filenames to be binary?
Just because we wish something weren't so, doesn't make it as we wish it.