• Punkie@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    1 year ago

    A previous workplace had a former contractor I constantly had to fix his shit from. One of his many peccadilloes was how he did shell scripts. He’d have dozens of scripts in folders, each named things like “bsr001, bsr002, bsr003,” and so on. Each script was only three lines.

    1. The usual #!/bin/sh
    2. One line of code.
    3. A call to execute the next script in sequence

    Some of his stuff was “encrypted” by base64 so you couldn’t read them. I mean, it was easy to figure out how to decrypt them, but still annoying.

    Guy charged $250k/year for his work. And apparently was so surly, when I started working there after him, they were shocked how friendly I was.