From afb2dbb6cd0e0214f352338c0abb880d02986242 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 8 Mar 2009 19:32:03 +0000 Subject: Fixed strings.sh to work with NetBSD. Fixed various lint warnings. --- strings.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'strings.sh') diff --git a/strings.sh b/strings.sh index 47753535..4fdb5273 100644 --- a/strings.sh +++ b/strings.sh @@ -45,11 +45,11 @@ fi input=$2 if [ "$output" ]; then - exec 1<>$output + exec >$output fi if [ "$input" ]; then - exec 0<>$input + exec <$input fi cat <