回答編集履歴
2
追記
test
CHANGED
@@ -25,3 +25,55 @@
|
|
25
25
|
```
|
26
26
|
|
27
27
|
[シェルスクリプト】コメントの書き方](https://www.server-memo.net/shellscript/comment.html)
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
「追記」
|
32
|
+
|
33
|
+
例えば・・・下記の例では'#'はコマンドの一部として解釈されるので意味がありませんが?
|
34
|
+
|
35
|
+
```sh
|
36
|
+
|
37
|
+
usr~ % cc --version | more
|
38
|
+
|
39
|
+
clang version 8.0.0 (trunk 341621)
|
40
|
+
|
41
|
+
Target: x86_64-unknown-linux-gnu
|
42
|
+
|
43
|
+
Thread model: posix
|
44
|
+
|
45
|
+
InstalledDir: /usr/local/bin
|
46
|
+
|
47
|
+
usr~ % cc --version #| more
|
48
|
+
|
49
|
+
clang version 8.0.0 (trunk 341621)
|
50
|
+
|
51
|
+
Target: x86_64-unknown-linux-gnu
|
52
|
+
|
53
|
+
Thread model: posix
|
54
|
+
|
55
|
+
InstalledDir: /usr/local/bin
|
56
|
+
|
57
|
+
usr~ % #cc --version
|
58
|
+
|
59
|
+
#cc: Command not found.
|
60
|
+
|
61
|
+
usr~ % cc --version | #more
|
62
|
+
|
63
|
+
#more: Command not found.
|
64
|
+
|
65
|
+
usr~ % cc --version
|
66
|
+
|
67
|
+
clang version 8.0.0 (trunk 341621)
|
68
|
+
|
69
|
+
Target: x86_64-unknown-linux-gnu
|
70
|
+
|
71
|
+
Thread model: posix
|
72
|
+
|
73
|
+
InstalledDir: /usr/local/bin
|
74
|
+
|
75
|
+
usr~ %
|
76
|
+
|
77
|
+
```
|
78
|
+
|
79
|
+
のようなことですか?
|
1
誤記修正
test
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
usr~ % cat tst.sh
|
12
12
|
|
13
|
-
#
|
13
|
+
#!/bin/bash
|
14
14
|
|
15
15
|
|
16
16
|
|