This file contains 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/sh | |
# 第一引数にプロジェクトのルートディレクトリをいれてください | |
# 相対パスでOKです | |
project_root_dir=$1 | |
play_ec_hookscript=$project_root_dir/.git/hooks/play-eclipsify.sh | |
cat <<_EOT_ >$play_ec_hookscript | |
#!/bin/sh | |
play ec |
This file contains 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
//検索したいIPが書かれたファイル | |
# cat hage.list | |
1.1.1.1 | |
255.255.0.0 | |
# cat hoge.list | |
1.1.1.1,"bob" | |
10.30.0.1, "cathy" | |
255.255.0.0, "mike" | |
1.8.2.1, "john" |