質問編集履歴

1

エラーメッセージの追加

2022/10/27 22:45

投稿

macaroni323
macaroni323

スコア31

test CHANGED
File without changes
test CHANGED
@@ -19,9 +19,12 @@
19
19
  #!/bin/bash
20
20
  command="sed -i '4i 文字列' README.md"
21
21
  echo $command
22
- eval command
22
+ eval $command
23
23
  ```
24
-
24
+ ### エラーメッセージ
25
+ ```
26
+ sed: 1: "README.md": invalid command code R
27
+ ```
25
28
 
26
29
  ### 試したこと
27
30