diff --git a/dots/bin/tp.sh b/dots/bin/tp.sh index 7d8383a..8530437 100755 --- a/dots/bin/tp.sh +++ b/dots/bin/tp.sh @@ -35,10 +35,10 @@ for input_file in "$@"; do declare -a theArray -while read -r input_file +while read -r line do theArray+=("$line") -done <<< "$lines" +done <<< "$input_file" for line in "${theArray[@]}" do