Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: