source:
other-projects/hathitrust/wcsa/extracted-features-solr/trunk/solr-ingest/scripts/FULL-SELECT-EVERY-N.sh@
32109
Last change on this file since 32109 was 31035, checked in by , 7 years ago | |
---|---|
|
|
File size: 180 bytes |
Line | |
---|---|
1 | #!/bin/bash |
2 | |
3 | if [ "$#" != "1" ] ; then |
4 | echo "Usage FULL-SELECT-EVERY-N.sh <num>" >&2 |
5 | exit 1 |
6 | fi |
7 | |
8 | |
9 | num=$1 |
10 | |
11 | sed -n "1~${num}p" full-listing.txt > full-listing-step${num}.txt |
Note:
See TracBrowser
for help on using the repository browser.