RosettaCodeData/Task/File-input-output/UNIX-Shell/file-input-output-1.sh

5 lines
86 B
Bash
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
#!/bin/sh
while IFS= read -r a; do
printf '%s\n' "$a"
done <input.txt >output.txt