回答編集履歴
1
変更
test
CHANGED
@@ -12,21 +12,19 @@
|
|
12
12
|
|
13
13
|
fi
|
14
14
|
|
15
|
+
echo "Quit:Clrl+d"
|
16
|
+
|
15
17
|
if [ -f $1 ]; then
|
16
18
|
|
17
|
-
echo "File Exists $1"
|
18
|
-
|
19
|
-
|
19
|
+
cat $1
|
20
20
|
|
21
21
|
fi
|
22
|
-
|
23
|
-
echo "Quit:Clrl+d"
|
24
22
|
|
25
23
|
while read line
|
26
24
|
|
27
25
|
do
|
28
26
|
|
29
|
-
printf "%s\n" $line >>$1
|
27
|
+
printf "%s\n" $line >>$1
|
30
28
|
|
31
29
|
done
|
32
30
|
|