# Example Solution A :: longer, uses 1 fewer process
curl -s -i http://git.io -F "url=$URL" | awk '/Location: /{print x=$2}END{exit!x}'
...
ack --print0 -irl 'replace_me' location/ | xargs -0 -L1 sed -i '' 's/replace_me/with_me/g'
Bash use ack and sed to find and...
use ack and sed to find and...
Is there an awesomer shorte...