projects
/
gpgme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0176c2
)
Pretty print.
author
Marcus Brinkmann
<mb@g10code.com>
Thu, 24 Apr 2003 15:15:29 +0000
(15:15 +0000)
committer
Marcus Brinkmann
<mb@g10code.com>
Thu, 24 Apr 2003 15:15:29 +0000
(15:15 +0000)
trunk/gpgme/mkstatus
patch
|
blob
|
history
diff --git
a/trunk/gpgme/mkstatus
b/trunk/gpgme/mkstatus
index 03779bec5bf2b17ab23634ad90e7a97b744e3c8c..7895ec7f644f09da0dd77d31471ff81f0fb03a88 100755
(executable)
--- a/
trunk/gpgme/mkstatus
+++ b/
trunk/gpgme/mkstatus
@@
-39,10
+39,10
@@
static struct status_table_s status_table[] =
EOF
awk '
-/GPGME_STATUS_ENTER/
{ okay=
1 }
-!okay
{next
}
-/}/ { exit 0 }
-/GPGME_STATUS_[A-Za-z_]*/ {
sub (/,/, "", $1); printf " { \"%s\", %s },\n", substr($1,14), $1 }
+/GPGME_STATUS_ENTER/
{ okay =
1 }
+!okay
{ next
}
+/}/
{ exit 0 }
+/GPGME_STATUS_[A-Za-z_]*/ { sub (/,/, "", $1); printf " { \"%s\", %s },\n", substr($1,14), $1 }
' | sort
cat <<EOF