Hacker News new | ask | show | jobs
by o11c 698 days ago
It's a bad sign when I immediately look at the screenshot and see quoting bugs.
1 comments

Author here,

Because all shell variables in code generated by pnut are numbers, variables never contain whitespace or special characters and don't need to be quoted. We considered quoting all variable expansions as this is generally seen as best practice in shell programming, but thought it hurt readability and decided not to.

If you think there are other issues, please let me know!

I think they're talking about the cp example, doesn't seem like it would handle filenames with spaces!

Super neat project, btw!

You're right, thanks for the bug report. It should now be fixed :)