質問編集履歴

3

2019/08/18 09:00

投稿

HearthXml
HearthXml

スコア51

test CHANGED
File without changes
test CHANGED
@@ -38,7 +38,7 @@
38
38
 
39
39
  `echo "パラメータ" | go run main.go`でパイプラインを使って標準入力に成功。
40
40
 
41
- `go run main.go`を`input_output`にする方法を考えて[これ](https://www.kameneko.com/self-made-command/)を参考にして下のスクリプト(ファイル名は`input_output `)を書くがエラーが吐き出され`bash: wordcount: command not found`というエラーが出る。
41
+ `go run main.go`を`input_output`にする方法を考えて[これ](https://www.kameneko.com/self-made-command/)を参考にして下のスクリプト(ファイル名は`input_output `)を書くがエラーが吐き出され`bash:input_output: command not found`というエラーが出る。
42
42
 
43
43
  もうPATHを通すか、PATHを通すスクリプトを作る必要(作り方も分からない)があるのかと悩んで質問。
44
44
 

2

ファイル名統一

2019/08/18 09:00

投稿

HearthXml
HearthXml

スコア51

test CHANGED
File without changes
test CHANGED
@@ -36,9 +36,9 @@
36
36
 
37
37
  # やったこと
38
38
 
39
- `echo "パラメータ" | go run test.go`でパイプラインを使って標準入力に成功。
39
+ `echo "パラメータ" | go run main.go`でパイプラインを使って標準入力に成功。
40
40
 
41
- `go run test.go`を`input_output`にする方法を考えて[これ](https://www.kameneko.com/self-made-command/)を参考にして下のスクリプト(ファイル名は`input_output `)を書くがエラーが吐き出され`bash: wordcount: command not found`というエラーが出る。
41
+ `go run main.go`を`input_output`にする方法を考えて[これ](https://www.kameneko.com/self-made-command/)を参考にして下のスクリプト(ファイル名は`input_output `)を書くがエラーが吐き出され`bash: wordcount: command not found`というエラーが出る。
42
42
 
43
43
  もうPATHを通すか、PATHを通すスクリプトを作る必要(作り方も分からない)があるのかと悩んで質問。
44
44
 

1

漏れ追加。

2019/08/18 02:59

投稿

HearthXml
HearthXml

スコア51

test CHANGED
File without changes
test CHANGED
@@ -38,7 +38,7 @@
38
38
 
39
39
  `echo "パラメータ" | go run test.go`でパイプラインを使って標準入力に成功。
40
40
 
41
- `go run test.go`を`input_output`にする方法を考えて[これ](https://www.kameneko.com/self-made-command/)を参考にして下のスクリプトを書くがエラーが吐き出され`bash: wordcount: command not found`というエラーが出る。
41
+ `go run test.go`を`input_output`にする方法を考えて[これ](https://www.kameneko.com/self-made-command/)を参考にして下のスクリプト(ファイル名は`input_output `)を書くがエラーが吐き出され`bash: wordcount: command not found`というエラーが出る。
42
42
 
43
43
  もうPATHを通すか、PATHを通すスクリプトを作る必要(作り方も分からない)があるのかと悩んで質問。
44
44