diff options
-rw-r--r-- | jh-mksource.help.txt | 2 | ||||
-rw-r--r-- | jh-mksource.sh | 15 |
2 files changed, 0 insertions, 17 deletions
diff --git a/jh-mksource.help.txt b/jh-mksource.help.txt deleted file mode 100644 index dba0cc1..0000000 --- a/jh-mksource.help.txt +++ /dev/null @@ -1,2 +0,0 @@ -Usage: eval `@cmd@ mksource [ignore-file-list...]` -Prints shell code that 1) runs mksource() 2) runs `@cmd@ checksource` diff --git a/jh-mksource.sh b/jh-mksource.sh deleted file mode 100644 index 31e40c7..0000000 --- a/jh-mksource.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -quote () { - local quoted=${1//\'/\'\\\'\'}; - printf "'%s'" "$quoted" -} - -quote_args() { - for arg in "$@"; do - quote "$arg" - printf ' ' - done -} - -echo "type mksource &>/dev/null && mksource; jh checksource $(quote_args "$@")" |