projects
/
muttjump
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
62fc281
)
is_callable: simpler solution
author
Johannes Weißl
<jargon@molb.org>
Tue, 30 Nov 2010 01:48:55 +0000
(
02:48
+0100)
committer
Johannes Weißl
<jargon@molb.org>
Tue, 30 Nov 2010 01:48:55 +0000
(
02:48
+0100)
muttjump
patch
|
blob
|
history
diff --git
a/muttjump
b/muttjump
index 8170f4e821857f7d3f6c21c6d4af2af03421d84d..74f69d13bade6bbb351d2144f5174bde1cd6c3a1 100755
(executable)
--- a/
muttjump
+++ b/
muttjump
@@
-59,8
+59,7
@@
function quote () {
}
function is_callable () {
}
function is_callable () {
- read cmd args <<<$1
- type -p $cmd >/dev/null
+ type -p $1 >/dev/null
}
# Check command-line arguments and STDIN
}
# Check command-line arguments and STDIN
Benjamin Mako Hill
||
Want to submit a patch?