Pretty print.
This commit is contained in:
parent
f58531a211
commit
5b88552e74
@ -39,8 +39,8 @@ static struct status_table_s status_table[] =
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
awk '
|
awk '
|
||||||
/GPGME_STATUS_ENTER/ { okay=1 }
|
/GPGME_STATUS_ENTER/ { okay = 1 }
|
||||||
!okay {next}
|
!okay { next }
|
||||||
/}/ { exit 0 }
|
/}/ { exit 0 }
|
||||||
/GPGME_STATUS_[A-Za-z_]*/ { sub (/,/, "", $1); printf " { \"%s\", %s },\n", substr($1,14), $1 }
|
/GPGME_STATUS_[A-Za-z_]*/ { sub (/,/, "", $1); printf " { \"%s\", %s },\n", substr($1,14), $1 }
|
||||||
' | sort
|
' | sort
|
||||||
|
Loading…
Reference in New Issue
Block a user