Last change
on this file since 36668 was 33589, checked in by cpb16, 5 years ago |
final01. Need Map results still
|
-
Property svn:executable
set to
*
|
File size:
459 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | #https://stackoverflow.com/questions/15148796/get-string-after-character
|
---|
3 | file_name=$1
|
---|
4 | location=$2
|
---|
5 |
|
---|
6 | IFS=$'\n'
|
---|
7 | for id in `cat $file_name` ; do
|
---|
8 | new_id=$(echo "$id" | awk 'BEGIN {FS="\t"}; {print $1}')
|
---|
9 | page_num=$(echo "$id" | awk 'BEGIN {FS="\t"}; {print $2}')
|
---|
10 | echo "id: $new_id page_num: $page_num"
|
---|
11 | echo ""
|
---|
12 | ./COMPX520-MAP-RUN-PNG-hi-res.sh $new_id $page_num $location
|
---|
13 | #./firstlast-RUN-PNG-hi-res.sh $new_id $page_num $location
|
---|
14 | sleep 2
|
---|
15 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.