File: node20.html

package info (click to toggle)
gmt-doc 3.4-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,756 kB
  • ctags: 1,800
  • sloc: makefile: 30
file content (142 lines) | stat: -rw-r--r-- 5,402 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 99.2beta8 (1.46)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>4.5 Command Line History</TITLE>
<META NAME="description" CONTENT="4.5 Command Line History">
<META NAME="keywords" CONTENT="GMT_Docs">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v99.2beta8">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="GMT_Docs.css">

<LINK REL="next" HREF="node21.html">
<LINK REL="previous" HREF="node19.html">
<LINK REL="up" HREF="node15.html">
<LINK REL="next" HREF="node21.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html1232"
  HREF="node21.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A> 
<A NAME="tex2html1226"
  HREF="node15.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A> 
<A NAME="tex2html1220"
  HREF="node19.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A> 
<A NAME="tex2html1228"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A> 
<A NAME="tex2html1230"
  HREF="node149.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html1233"
  HREF="node21.html">4.6 Usage messages, syntax-</A>
<B> Up:</B> <A NAME="tex2html1227"
  HREF="node15.html">4. General features</A>
<B> Previous:</B> <A NAME="tex2html1221"
  HREF="node19.html">4.4 Standardized command line</A>
 &nbsp <B>  <A NAME="tex2html1229"
  HREF="node1.html">Contents</A></B> 
 &nbsp <B>  <A NAME="tex2html1231"
  HREF="node149.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H1><A NAME="SECTION001250000000000000000"></A>
<A NAME="4177"></A>
<A NAME="4178"></A>
<BR>
4.5 Command Line History
</H1>

<P>
<A NAME="tex2html240"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> programs ``remember'' the standardized command line options
(See previous section) given during their previous invocations
and this provides a shorthand notation for complex options.
For example, if a basemap was created with an oblique Mercator
projection, specified as

<P>
<BR> 

<P>
<TT>-Joc190/25.5/327/56/1:500000</TT> 
<BR>
<P>
then a subsequent <A NAME="tex2html241"
  HREF="../psxy.html"><I><B>psxy</B></I></A><A NAME="4691"></A> command to plot symbols only needs
to state <B>-J</B>o in order to activate the same projection.
Previous commands are maintained in the file <U>.gmtcommands</U>,
of which there will be one in each directory you run the programs
from.  This is handy if you create separate directories for
separate projects since chances are that data manipulations
and plotting for each project will share many of the same options.
Note that an option spelled out on the command line will always
override the last entry in the <U>.gmtcommands</U> file and,
if execution is successful, will replace this entry as the
previous option argument in the <U>.gmtcommands</U> file.
If you call several <A NAME="tex2html242"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> modules piped together then <A NAME="tex2html243"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> cannot
guarantee that the <U>.gmtcommands</U> file is processed
in the intended order from left to right.  The only guarantee
is that the file will not be clobbered since <A NAME="tex2html244"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> now uses advisory
file locking.  The uncertainty in processing order makes the use
of shorthands in pipes unreliable.  We therefore recommend that you
only use shorthands in single process command lines, and spell out
the full command option when using chains of commands connected with
pipes.

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html1232"
  HREF="node21.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A> 
<A NAME="tex2html1226"
  HREF="node15.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A> 
<A NAME="tex2html1220"
  HREF="node19.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A> 
<A NAME="tex2html1228"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A> 
<A NAME="tex2html1230"
  HREF="node149.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html1233"
  HREF="node21.html">4.6 Usage messages, syntax-</A>
<B> Up:</B> <A NAME="tex2html1227"
  HREF="node15.html">4. General features</A>
<B> Previous:</B> <A NAME="tex2html1221"
  HREF="node19.html">4.4 Standardized command line</A>
 &nbsp <B>  <A NAME="tex2html1229"
  HREF="node1.html">Contents</A></B> 
 &nbsp <B>  <A NAME="tex2html1231"
  HREF="node149.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2001-04-18
</ADDRESS>
</BODY>
</HTML>