Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
4
Task/File-input-output/UNIX-Shell/file-input-output-1.sh
Normal file
4
Task/File-input-output/UNIX-Shell/file-input-output-1.sh
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
while IFS= read -r a; do
|
||||
printf '%s\n' "$a"
|
||||
done <input.txt >output.txt
|
||||
2
Task/File-input-output/UNIX-Shell/file-input-output-2.sh
Normal file
2
Task/File-input-output/UNIX-Shell/file-input-output-2.sh
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
cat input.txt >output.txt
|
||||
2
Task/File-input-output/UNIX-Shell/file-input-output-3.sh
Normal file
2
Task/File-input-output/UNIX-Shell/file-input-output-3.sh
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
cp input.txt output.txt
|
||||
Loading…
Add table
Add a link
Reference in a new issue