Ignore:
Timestamp:
2019-10-16T21:39:56+13:00 (5 years ago)
Author:
ak19
Message:

Forgot to document that spaces were also allowed as separator in the input of crawl-site ids to the batchcrawl.sh script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/maori-lang-detection/hdfs-cc-work/scripts/batchcrawl.sh

    r33571 r33573  
    165165    echo "  $0 -all|<ids>"
    166166    echo "    where an id is a folder name in to_crawl/sites"
    167     echo "    and ids can be a comma separated list of"
     167    echo "    and ids can be a comma or space separated list of"
    168168    echo "    individual ids and/or ranges"
    169169    echo "  Examples:"
    170     echo "    $0 00008-00022,00025,00026,00028-00034"
     170    echo "    $0 00008-00022,00025,00026,00028-00034 00050"
    171171    echo "    $0 -all"
    172172    echo "    $0 00312"
     
    189189    fi
    190190   
    191     # works - split args on comma
     191    # works - split args on comma or space
    192192    # https://stackoverflow.com/questions/918886/how-do-i-split-a-string-on-a-delimiter-in-bash
    193193    IFS=', ' read -ra IDS <<< "$args"
Note: See TracChangeset for help on using the changeset viewer.