Skip to content

Commit 1eee4d2

Browse files
committed
Update dcw-figure.sh
1 parent 02d8a88 commit 1eee4d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dcw-figure.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# Make a single global figure with DCW-GMT
33

44
ps=dcw-figure.ps
5-
here=`pwd`
5+
here=$(pwd)
66
grep -v '^#' dcw-countries.txt > /tmp/$$.C.txt
7-
n_poly=`gmt info -Fi -o2 /tmp/$$.C.txt`
7+
n_poly=$(gmt info -Fi -o2 /tmp/$$.C.txt)
88
gmt makecpt -T0/$n_poly/1 -Ccategorical -N > /tmp/$$.cpt
99
paste /tmp/$$.cpt /tmp/$$.C.txt > /tmp/$$.txt
1010
grep -v '^#' dcw-states.txt | awk '{printf "%s.%s\n", $1, $2}' > /tmp/$$.S.txt

0 commit comments

Comments
 (0)