Update all new Tasks
This commit is contained in:
parent
00a190b0a6
commit
91df62d461
5697 changed files with 93386 additions and 804 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