diff options
author | luis <luis> | 2005-08-21 15:58:03 +0000 |
---|---|---|
committer | luis <luis> | 2005-08-21 15:58:03 +0000 |
commit | 584380d42b0a55f1ea6effd2c70f489a33b39478 (patch) | |
tree | d4d7ab3e0afa5ddcc96b2a63cc1c3efb1f1cd28d | |
parent | d4dc72b016f90113f1507cb9714b09174579bc16 (diff) | |
download | firma-584380d42b0a55f1ea6effd2c70f489a33b39478.tar.gz firma-584380d42b0a55f1ea6effd2c70f489a33b39478.tar.bz2 |
On function GetMessage, renamed variable "STDIN" to "stdin" and declared it as local.
-rwxr-xr-x | firma | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |