Fucking Shell Scripts
fuckingshellscripts.org
Fucking Shell Scripts
1–10 of 180 posts
Re: Fucking Shell Scripts
#2Hahaha, I love that the install process is more complicated than the example shell script.
Re: Fucking Shell Scripts
#3Wait, a gem, a yaml file? What exactly is this doing with my scripts? Can I really expect this to make my shell scripts work across clouds?
Re: Fucking Shell Scripts
#4Hahaha, I love that the install process is more complicated than the example shell script.
[deleted]
Re: Fucking Shell Scripts
#5[deleted]
Re: Fucking Shell Scripts
#6So... this is basically just one module from Ansible, plus some obscenities?
Re: Fucking Shell Scripts
#7There are two ways to debug something:
1) Step through the program, try to think of logic errors etc.
2) Do a binary search through your latest commits and see where something broke.
Those are your two clues.
Re: Fucking Shell Scripts
#8Honestly this is not a bad idea. Since bringing up a new instance VM will always be in exactly the same state, the shell script is completely deterministic. If any line fails to run, you could simply log an error and automatically shut down the VM.
The bash script itself is also extremely straight forward and is easily testable with a built in REPL (you know, bash). Anybody who vaguely knows unix is also going to be able to understand and maintain the shell script. Adding in new dependencies is simple. It's easily portable and you don't need to do any extra work to add in new features. I can't even think of a drawback.
Re: Fucking Shell Scripts
#9[deleted]
[deleted]
Re: Fucking Shell Scripts
#10 "Wanna just use fucking shell scripts to configure a server? Read on!"
Step 0: Install the gem
# gem install fucking_shell_scripts
# gem: command not found
wat.