Hacker News new | ask | show | jobs
by laurenth 696 days ago
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!

1 comments

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 :)