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