From 02334d1cf220aaca11f734a3646d2f099ad016ca Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 17 Jun 2008 16:26:55 -0700 Subject: Use tr command rather than awk For consistency, use tr for all case conversion in get_response --- scripts/install-system | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/install-system b/scripts/install-system index 2d97d90f..3df0e0ca 100755 --- a/scripts/install-system +++ b/scripts/install-system @@ -102,7 +102,7 @@ get_response () { # get the response from the user read myresponse - myresponse=$(echo "$myresponse" | awk '{ printf (tolower($0)) }') + myresponse=$(echo "$myresponse" | tr [:upper:] [:lower:]) # Check to see if the user accepts the default if [ -z "$myresponse" ]; then -- cgit v1.2.3