Colour in BASH scripts

Rather than using obfuscated escape sequences, use the tput facility instead. BLACK=$(tput setaf 0) RED=$(tput setaf 1) GREEN=$(tput setaf 2) YELLOW=$(tput setaf […]

10.11 SUS URL

http://swscan.apple.com/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog and betas http://swscan.apple.com/content/catalogs/others/index-10.11seed-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog

BASH-Variable Expansion Formats

Variable Expansion Formats ${#variable} length of variable ${variable:–word} value of variable if set and not null, else print word ${variable:= word} value of variable if set and not null, […]