From 5b88552e74818acb08241834af02a8169ddc6fa6 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Thu, 24 Apr 2003 15:15:29 +0000 Subject: [PATCH] Pretty print. --- gpgme/mkstatus | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gpgme/mkstatus b/gpgme/mkstatus index 03779be..7895ec7 100755 --- a/gpgme/mkstatus +++ b/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 <