# 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}'

...

Bash git.io data filter with pro...

by Barry A., December 28, 2011 18:31, 2 refactorings, tagged with bash, awk, sed, grep, sh

Is there an awesomer shorte...

3f582b2bc3caf0d7074e85cdf2046a0f Talk
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...

by Kevin Tran, February 18, 2011 01:35, No refactoring, tagged with replace, bash, find, ack, sed

use ack and sed to find and...

D41d8cd98f00b204e9800998ecf8427e Talk