chiark
/
gitweb
/
~cjwatson
/
bin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove bashism
[bin.git]
/
get-sig
diff --git
a/get-sig
b/get-sig
index f1c0c41d34d0187d3be55df546c5adf1e1b5f653..19630dc672a30e7528cce81a1d1347f11b9d5c0b 100755
(executable)
--- a/
get-sig
+++ b/
get-sig
@@
-1,6
+1,6
@@
-#! /bin/
ba
sh
+#! /bin/sh
-if [
"X$1" == "X
" ]; then
+if [
-z "$1
" ]; then
NAME=$(grep '^\*' ~/.siglist | head -n 1 | tr -s '\t' ' ' | cut -d' ' -f2)
if [ -z "$NAME" ]; then
echo "Usage: $0 signature-group [pattern]" >&2