[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

GMT- Bug?



Hallo,

my GMT3.4 Version seems to be buggy.
The 'pstext' command in the following script prints only ONE (the last) text and not all while the same script on a SuSE Linux with the same debian version gives the corect output. Any Ideas?


Malte
____________________________________


#!/bin/bash
AUS=ant_sites.ps

REG=-R0/360/-90/90
PRO=-JN0/15

pscoast $REG -Dc $PRO -G200 -K -Bg60/g30 > $AUS

psxy $REG $PRO -K -O -Sc0.15 -G0 << END >> $AUS
2.5      52.5     Amsterdam
-73.6    40.9     New York
-122.27  37.45    San Franzisko
122.5    22.5     Hong Kong
-157.57   21.19    Hawaii
72.51    18.56    Bombay
3.28     6.27     Lagos
39.40    -4.04    Mombasa
-34.53   -8.06    Recife
-77.03   -12.06   Lima
127.5    -12.5    Darwin
292.5    -52.5    Rio Grande
END


awk '{print $1, $2-2, 10, 0, 0, "CT", $3, $4, $5}' << END > tmp
3.28     6.27      Lagos
39.40    -4.04     Mombasa
2.5      52.5     Amsterdam
122.5    22.5      Hong Kong
127.5    -12.5     Darwin
292.5    -52.5    Rio Grande
-122.27  37.45     San Franzisko
-73.6    40.9      New York
-157.57   21.19     Hawaii
-34.53   -8.06     Recife
-77.03   -12.06    Lima
72.51    18.56     Bombay
END

pstext -V -O $REG $PRO tmp >> $AUS

#rm tmp

gv $AUS




Reply to: