• Shaarli
  • Tag cloud
  • Daily
  • RSS
  • Login
4505 shaares
 
Filters
3 results tagged scripts

Better Bash Scripting in 15 Minutes

QRCode

The tips and tricks below originally appeared as one of Google's "T esting on the Toilet" (TOTT) episodes. 

I start every bash script with the following prolog:

#!/bin/bash
set -o nounset
set -o errexit

Use functions

  • Favor $() over backticks (`)
  • Favor [[]] (double brackets) over []
  • Avoiding Temporary Files with <()
https://robertmuth.blogspot.com/2012/08/better-bash-scripting-in-15-minutes.html
October 14, 2026 at 10:34:00 AM EDT *
bash scripts linux
FILLER

Want to know the easiest way to save time? Use `make`!

QRCode

But there is a good standard UNIX tool. By standard I mean it actually has robust documentation, that many forgot. Or never learned? I’m talking about make. More accurately, this article focuses on GNU make. It’s available on macOS, Windows, Linux and most other operating systems.

https://medium.freecodecamp.org/want-to-know-the-easiest-way-to-save-time-use-make-eec453adf7fe
March 8, 2019 at 4:07:32 PM EST *
make coding scripts
FILLER

slayeroffice | photo fade

QRCode
http://slayeroffice.com/code/imageCrossFade/
February 15, 2006 at 10:35:43 AM EST *
css images photography webdesign scripts
FILLER
Shaarli · The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community · Documentation
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community