root/other-projects/hathitrust/wcsa/extracted-features-solr/trunk/solr-ingest/scripts/FULL-SELECT-EVERY-N.sh @ 31035

Revision 31035, 180 bytes (checked in by davidb, 3 years ago)

Changes after testing scripts

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3if [ "$#" != "1" ] ; then
4    echo "Usage FULL-SELECT-EVERY-N.sh <num>" >&2
5    exit 1
6fi
7
8
9num=$1
10
11sed -n "1~${num}p" full-listing.txt > full-listing-step${num}.txt
Note: See TracBrowser for help on using the browser.