diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-10-10 16:07:12 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-10-10 16:07:12 -0400 |
commit | 614f6cd4bf972b82ace294b8133122fdff5dc3a1 (patch) | |
tree | 779668e5dcdf7056be7d6acc392cf1163b90c27c /jh-mksource.sh | |
parent | 06d9a96e5b252d86418595dd1195a6f5ef69d462 (diff) |
add 'checksource' and 'mksource'
Diffstat (limited to 'jh-mksource.sh')
-rw-r--r-- | jh-mksource.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/jh-mksource.sh b/jh-mksource.sh new file mode 100644 index 0000000..c40a739 --- /dev/null +++ b/jh-mksource.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +quote_args() { + for arg in "$@"; do + quote "$arg" + printf ' ' + done +} + +echo "type mksource &>/dev/null && mksource; jh checksource $(quote_args "$@")" |