From 1820942e94aa005370b14692d3333ddc6b496e28 Mon Sep 17 00:00:00 2001 From: "Paul W. Frields" Date: Mon, 16 Jan 2006 13:54:43 +0000 Subject: Make OTHERNAME setting scriptable --- bin/insert-colophon | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin') 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: " -- cgit