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

> yeah everything is a string or a command

And you're not kidding about everything being a command - this here is some "what the fuck is wrong with you people": https://wiki.tcl-lang.org/page/comment

Including the truly stunning collection of:

- one must terminate the command with ; before one can comment

- one cannot have mismatched braces so don't try to comment out bogus code

- one cannot have a backslash in a comment but hey it's a feature not a bug because this is how they launch wish:

  #!/bin/sh
  # the next line restarts using wish \
  exec wish8.0 "$0" "$@"
since the backslash is ignored by the shell but parsed by wish


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

Search: