RosettaCodeData/Task/File-input-output/UNIX-Shell/file-input-output-1.sh
2015-02-20 09:02:09 -05:00

4 lines
86 B
Bash

#!/bin/sh
while IFS= read -r a; do
printf '%s\n' "$a"
done <input.txt >output.txt