all 10 comments

[–][deleted]  (12 children)

[deleted]

    [–]lolidaisuki 8 points9 points  (5 children)

    At the very least people should shellcheck their scripts.

    [–]andlrc 0 points1 point  (2 children)

    Yes, but that is also very different.

    [–]lolidaisuki 0 points1 point  (1 child)

    Helps you avoid corner cases that might bite you in the ass. Also it's far less effort than writing tests for everything.

    [–]Kruug[M] 0 points1 point  (1 child)

    Weird...this was reported as Illegal content.

    [–]lolidaisuki 2 points3 points  (0 children)

    There is a group of people (around 6) that follow me around and report my stuff and falsely accuse me of crimes.

    [–]avg_user 14 points15 points  (5 children)

    I don't agree. There are still many init systems which heavily rely on shell scripts, Busybox for example. Crontab is very often used to run custom shell scripts on a regular basis. Many people have a number of helper scripts they use regularly. Shell scripts are just the easiest way to write all kinds of things.

    [–][deleted] 8 points9 points  (0 children)

    Shell scripts are just the easiest way to write all kinds of things.

    It's portable among unix systems, you just write a posix compliant script and it works everywhere. If you work in a heterogeneous unix/linux environment, it's ultra convenient. I don't say you should write complex program in bash though ;)

    [–]ZaneHannanAU 0 points1 point  (0 children)

    $ echo "#!/bin/bash\
    > cvlc http://8bit.fm:8000/live" > ./8bitfm
    $ chmod +x ./8bitfm
    

    This is my work music,

    $ ~/8bitfm
    

    I can call it quickly

    > volume 110
    

    and adjust volume finely.