Skip to content

Instantly share code, notes, and snippets.

@sogaiu
Created January 27, 2026 08:57
Show Gist options
  • Select an option

  • Save sogaiu/c165ce74698e31d95615c60c2d2f448d to your computer and use it in GitHub Desktop.

Select an option

Save sogaiu/c165ce74698e31d95615c60c2d2f448d to your computer and use it in GitHub Desktop.
janet-sh limits according to ianthehenry's book chapter
> but Bash still has a lot to recommend it: there’s no equivalent of trap EXIT in Janet, nor is there an analog of the extremely-useful cp foo.bar{,.bup} expansion shorthand. It’s a lot more verbose to set and reference environment variables in Janet, and there’s no ~/foo or ~user/foo shorthand for specifying home directories. You can’t spawn background jobs at all, and Janet has no job control facilities.
* there’s no equivalent of `trap EXIT` in Janet
* there is no analog of the extremely-useful `cp foo.bar{,.bup}` expansion shorthand
* It’s a lot more verbose to set and reference environment variables in Janet
* there’s no `~/foo` or `~user/foo` shorthand for specifying home directories
* You can’t spawn background jobs at all
* Janet has no job control facilities
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment