mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-21 22:25:02 +01:00
content/posts/2021-05.md: Fix csvgrep command
This commit is contained in:
parent
c00e6395d8
commit
1a9194e460
@ -401,7 +401,7 @@ localhost/dspace63= > \COPY (SELECT DISTINCT text_value, count(*) FROM metadatav
|
|||||||
COPY 5000
|
COPY 5000
|
||||||
$ csvcut -c 1 /tmp/2021-05-20-agrovoc.csv| sed 1d > /tmp/2021-05-20-agrovoc.txt
|
$ csvcut -c 1 /tmp/2021-05-20-agrovoc.csv| sed 1d > /tmp/2021-05-20-agrovoc.txt
|
||||||
$ ./ilri/agrovoc-lookup.py -i /tmp/2021-05-20-agrovoc.txt -o /tmp/2021-05-20-agrovoc-results.csv
|
$ ./ilri/agrovoc-lookup.py -i /tmp/2021-05-20-agrovoc.txt -o /tmp/2021-05-20-agrovoc-results.csv
|
||||||
$ csvgrep -c "number of matches" -m 0 /tmp/2021-05-20-agrovoc-results.csv > /tmp/2021-05-20-agrovoc-rejected.csv
|
$ csvgrep -c "number of matches" -r '^0$' /tmp/2021-05-20-agrovoc-results.csv > /tmp/2021-05-20-agrovoc-rejected.csv
|
||||||
```
|
```
|
||||||
|
|
||||||
- Meeting with Medha and Pythagoras about the FAIR Workflow tool
|
- Meeting with Medha and Pythagoras about the FAIR Workflow tool
|
||||||
|
Loading…
Reference in New Issue
Block a user