File input/output: Difference between revisions
→[[UNIX Shell]]: version with cat
(→[[UNIX Shell]]: version with cat) |
|||
Line 291:
echo "$a"
done <input.txt >output.txt
#!/bin/sh
# another way, using the 'cat' program
cat input.txt >output.txt
|