source:
other-projects/hathitrust/wcsa/extracted-features-solr/trunk/solr-ingest/scripts/FULL-SELECT-EVERY-N.sh@
31034
Last change on this file since 31034 was 31034, checked in by , 7 years ago | |
---|---|
|
|
File size: 190 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-file-listing.txt > full-file-listing-step${num}.txt |
Note:
See TracBrowser
for help on using the repository browser.