Skip to content

Commit

Permalink
Update READMEs
Browse files Browse the repository at this point in the history
Fix typo

Fix typo in comment
  • Loading branch information
lapthorn committed Feb 15, 2017
1 parent db0602b commit 0e3a0b6
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -1220,15 +1220,15 @@ see [go-cve-dictionary#usage-fetch-jvn-data](https://github.com/kotakanbe/go-cve
**fetchnvd -> fetchjvnの順番で実行すること**
```
$ for i in {2002..2016}; do go-cve-dictionary fetchnvd -years $i; done
$ for i in {1998..2016}; do go-cve-dictionary fetchjvn -years $i; done
$ for i in `seq 2002 $(date +"%Y")`; do go-cve-dictionary fetchnvd -years $i; done
$ for i in `seq 1998 $(date +"%Y")`; do go-cve-dictionary fetchjvn -years $i; done
```
の順でやった場合、最初のコマンドが15分程度、二つ目のコマンドが10分程度(環境依存)
```
$ for i in {1998..2016}; do go-cve-dictionary fetchjvn -years $i; done
$ for i in {2002..2016}; do go-cve-dictionary fetchnvd -years $i; done
$ for i in `seq 1998 $(date +"%Y")`; do go-cve-dictionary fetchjvn -years $i; done
$ for i in `seq 2002 $(date +"%Y")`; do go-cve-dictionary fetchnvd -years $i; done
```
の順で行うと、最初のコマンドは1時間くらいで終わるが二つ目のコマンドが21時間かかることもある(環境依存)。
Expand Down Expand Up @@ -1261,7 +1261,7 @@ $ git pull
$ mv vendor /tmp/bar
$ make install
```
- バイナリファイルは`$GOPARH/bin`以下に作成される
- バイナリファイルは`$GOPATH/bin`以下に作成される
---
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ $ git clone https://github.com/kotakanbe/go-cve-dictionary.git
$ cd go-cve-dictionary
$ make install
```
The binary was built under `$GOPARH/bin`
The binary was built under `$GOPATH/bin`

Fetch vulnerability data from NVD.
It takes about 10 minutes (on AWS).
Expand All @@ -192,7 +192,7 @@ $ git clone https://github.com/future-architect/vuls.git
$ cd vuls
$ make install
```
The binary was built under `$GOPARH/bin`
The binary was built under `$GOPATH/bin`

## Step6. Config

Expand Down Expand Up @@ -1224,7 +1224,7 @@ $ git pull
$ mv vendor /tmp/bar
$ make install
```
Binary file was built under $GOPARH/bin
Binary file was built under $GOPATH/bin
---
Expand Down
2 changes: 1 addition & 1 deletion models/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func (r ScanResult) ServerInfoTui() string {
)
}

// FormatServerName returns server and contianer name
// FormatServerName returns server and container name
func (r ScanResult) FormatServerName() string {
if len(r.Container.ContainerID) == 0 {
return r.ServerName
Expand Down
2 changes: 1 addition & 1 deletion setup/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ vuls v0.1.xxx xxxx
## Step1. Fetch NVD

```console
$ for i in {2002..2016}; do \
$ for i in `seq 2002 $(date +"%Y")`; do \
docker run --rm -it \
-v $PWD:/vuls \
-v $PWD/go-cve-dictionary-log:/var/log/vuls \
Expand Down
2 changes: 1 addition & 1 deletion setup/docker/go-cve-dictionary/latest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ $ docker run --rm vuls/go-cve-dictionary -v
## fetchnvd

```console
$ for i in {2002..2016}; do \
$ for i in `seq 2002 $(date +"%Y")`; do \
docker run --rm -it \
-v $PWD:/vuls \
-v $PWD/go-cve-dictionary-log:/var/log/vuls \
Expand Down

0 comments on commit 0e3a0b6

Please sign in to comment.