json 을 커맨드 라인에서 처리할 수 있게 해주는 유틸
-r은 raw로 출력
oncotree 에서 api로 받은것 중에서 code 영역만 추출
jq -r '.[].code' tumorTypes > code
[링크 : https://blog.outsider.ne.kr/1202]
+
| sudo apt-get install jq |
'Linux' 카테고리의 다른 글
| awk 특정 열 제외하기 (0) | 2019.09.02 |
|---|---|
| linux 수동 trim (0) | 2019.08.16 |
| awk NR, NF (0) | 2019.08.12 |
| smart trip temperature? (0) | 2019.08.05 |
| uniq (0) | 2019.07.30 |
