Created
September 2, 2019 11:35
-
-
Save Matts966/b931a6751b944331faa1a6cbd3ffe47b to your computer and use it in GitHub Desktop.
cat txt | awk '{print $1}' | ./readline-refsafe.sh みたいに使うやつ。refsafeのところは静的解析ツールに置き換える
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while read line; do | |
echo $line | |
go get $line | |
refsafe $line/... | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
txt
はgo.mod
のrequire
内部のテキストを適当にコピーして貼ったファイルを想定している。