From: luis Date: Sun, 21 Aug 2005 15:58:03 +0000 (+0000) Subject: On function GetMessage, renamed variable "STDIN" to "stdin" and declared it as local. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=584380d42b0a55f1ea6effd2c70f489a33b39478;p=firma.git On function GetMessage, renamed variable "STDIN" to "stdin" and declared it as local. --- diff --git a/firma b/firma index 1f0ff8a..1684396 100755 --- a/firma +++ b/firma @@ -171,11 +171,12 @@ function GetMessage { # returns: 0 on success, 1 if there's no input #------------------------------------------------------------- + local stdin local element # store message in array ORIG_MESSAGE - while read STDIN; do - ORIG_MESSAGE[$element]="$STDIN\n" + while read stdin; do + ORIG_MESSAGE[$element]="$stdin\n" ((++element)) done