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

> In some non-bash shells, the `function` keyword is needed to declare certain types of function.

In shells that aren't POSIX-compliant [0], maybe. In which case: yes, there are many wildly different scripting languages with REPLs.

[0] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...



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

Search: