Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update script syntax in README #213

Closed
Corkster919 opened this issue Sep 11, 2021 · 2 comments
Closed

Update script syntax in README #213

Corkster919 opened this issue Sep 11, 2021 · 2 comments
Labels

Comments

@Corkster919
Copy link

What did you do? (required. The issue will be closed when not provided.)

Followed installation instructions for GO / bash to fetch nvd data

What did you expect to happen?

run bash command as expected

What happened instead?

syntax failures

  • Corrected Output By me

Update README file to replace the following FAILING string:
for i in seq 2002 $(date +"%Y"); do go-cve-dictionary fetch nvd --years $i; done

with WORKING script:
for i in $(seq 2002 "$(date +"%Y")"); do go-cve-dictionary fetchnvd --years "$i"; done

@Corkster919
Copy link
Author

This shell (*remove .txt extension) worked for me to populate CVEs

cve_shell.sh.txt

@MaineK00n
Copy link
Collaborator

With this PR, the --years option has been deprecated.
#214

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants