Skip to content

Commit

Permalink
docs(cove): Fix bash commands
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Nov 21, 2023
1 parent e152cb6 commit cd154b2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/deploy/cove.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ For OCDS, run (takes about 4 minutes):
.. code-block:: bash
for file in $FILES; do
jq -rn 'input | (if .releases then .releases else .records end)[0].ocid // ""' $file; done | cut -d- -f1-2 | sort | uniq -c;
done
jq -rn 'input | (if .releases then .releases else .records end)[0].ocid // ""' $file;
done | cut -d- -f1-2 | sort | uniq -c
For OC4IDS, run:

.. code-block:: bash
for file in $FILES; do
jq -rn 'input | .projects[0].id // ""' $file; done | cut -c-11 | sort | uniq -c | sort -n;
done
jq -rn 'input | .projects[0].id // ""' $file;
done | cut -d- -f1-2 | sort | uniq -c

0 comments on commit cd154b2

Please sign in to comment.