![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Stop a shell script | msb65 | UNIX for Dummies Questions & Answers | 3 | 09-04-2008 10:28 AM |
| Script to run non-stop | Raynon | Shell Programming and Scripting | 37 | 01-21-2008 05:36 AM |
| Script that doesn't stop | biot | UNIX for Dummies Questions & Answers | 3 | 11-30-2007 01:19 AM |
| Script does not stop when doing a read | rooseter | Shell Programming and Scripting | 7 | 11-05-2007 01:46 PM |
| Start/Stop Script | jjv1 | UNIX for Dummies Questions & Answers | 2 | 12-16-2003 04:28 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
script don't stop
Hello everybody! I am new to this and I am trying to change a script in an open source program that plots some offset vectors and then calls a postscript viewer. I have commented away the call for the postscript viewer but somehow the script doesn't return to the shell prompt. I cant figure out why. It is not a big problem since the script will continue if there are more "calls" in the script, but why is it "waiting"? any ideas? Code:
### Add the window numbers (last overlay, no -K (close plot system)).
#pstext: (x, y, size(pts), angle(ccw), fontno, justify, text)
set GMTFLAGS = "-O -N -G0/0/0 $GENOPT $RANGE $SIZE"
echo " Calling: pstext $GMTFLAGS >> $PSFILE"
#green, 14pts, RightTop BottomLeft
$AWK '{printf "%.1f %.1f 10 0 0 RT %s\n", $2, $3, $1}' $TMPFILE | pstext $GMTFLAGS >> $PSFILE
# commented away 081011
# # calls from Doris, cannot interactive...
# #%// BK 19-Jul-2000
# echo " Calling: viewanddel"
# rm -f $TMPFILE $GRDFILE $CPTFILE
# viewanddel $PSFILE
# ### EOF
exit 0 # added 081011
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|