Skip to content

Instantly share code, notes, and snippets.

View erikmack's full-sized avatar

Erik Mackdanz erikmack

  • Austin, Texas, USA
View GitHub Profile
@erikmack
erikmack / knife.sh
Last active December 23, 2015 22:59 — forked from nukemberg/knife.sh
# vim: ft=sh:ts=4:sw=4:autoindent:expandtab:
# Author: Avishai Ish-Shalom <avishai@fewbytes.com> and Erik Mackdanz <erikmack@gmail.com>
# We need to specify GNU sed for OS X, BSDs, etc.
if [[ "$(uname -s)" == "Darwin" ]]; then
SED=gsed
else
SED=sed
fi