projects
/
muttjump
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
is_callable: simpler solution
[muttjump]
/
muttjump
diff --git
a/muttjump
b/muttjump
index 8170f4e821857f7d3f6c21c6d4af2af03421d84d..74f69d13bade6bbb351d2144f5174bde1cd6c3a1 100755
(executable)
--- a/
muttjump
+++ b/
muttjump
@@
-59,8
+59,7
@@
function quote () {
}
function is_callable () {
- read cmd args <<<$1
- type -p $cmd >/dev/null
+ type -p $1 >/dev/null
}
# Check command-line arguments and STDIN
Benjamin Mako Hill
||
Want to submit a patch?