diff options
-rwxr-xr-x | bin/insert-colophon | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/insert-colophon b/bin/insert-colophon index d2930c2..0ed995b 100755 --- a/bin/insert-colophon +++ b/bin/insert-colophon @@ -15,8 +15,10 @@ while test -z "$FIRSTNAME"; do read FIRSTNAME done -echo -n "Enter contributor's middle initial/name (leave blank for NONE): " -read OTHERNAME +if ! ( set | grep "^OTHERNAME" >/dev/null ); then + echo -n "Enter contributor's middle initial/name (leave blank for NONE): " + read OTHERNAME +fi while test -z "$SURNAME"; do echo -n "Enter contributor's surname: " |