mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 23:00:17 +00:00
things
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ "$(uname)" == Darwin ]; then
|
||||
bashf-sed() { command sed -l "$@"; }
|
||||
else
|
||||
bashf-sed() { command sed -u "$@"; }
|
||||
fi
|
||||
|
||||
# Syntax sugar.
|
||||
bashf-indent() {
|
||||
bashf-sed "s/^/ /"
|
||||
}
|
||||
Reference in New Issue
Block a user