1. 73

  2. 7

    Thanks, I hate it.

    A while ago I wrote a window manager in nothing than POSIX sh and POSIX utilities: https://git.qtp2t.club/hazel/wmrc. This taught me to never write shell in an extended capacity again, especially after I forgot to define a variable and it wiped $HOME.

    1. 1

      yea, POSIX shell isn’t exactly a good language to write a nontrivial program in. But I thought I’d share it here anyway, seeing people implement stuff in esoteric languages is always fun :)

    2. 3

      What came first, the (shitty 😏) name, or the idea?

      1. 1

        I’m a bit confused.

        For example is using $(()) which is a bashism, I’d assume

        (almost) entirely written in POSIX shell

        means using some external tools (like od), not relying on non-POSIX features.

        1. 5
          1. 2

            You are right.

            Thanks for the correction. I misread a table, clear sign I never used arithmetic expressions before.