chiark
/
gitweb
/
~cjwatson
/
bin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3068c03
)
remove bashism
author
Colin Watson
<cjwatson@chiark.greenend.org.uk>
Mon, 5 May 2008 00:51:54 +0000
(
00:51
+0000)
committer
Colin Watson
<cjwatson@chiark.greenend.org.uk>
Mon, 5 May 2008 00:51:54 +0000
(
00:51
+0000)
get-sig
patch
|
blob
|
history
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