Skip to content

Commit

Permalink
Replace backticks with $() in docs (#7818)
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman authored Sep 17, 2023
1 parent 9231efc commit fb11dd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/rst/source/gmtinfo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ plot all the points as small black circles using :doc:`plot`, run

::

gmt plot `gmt info -I5 -D1 @ship_15.txt` @ship_15.txt -B -Sc2p -pdf map
gmt plot $(gmt info -I5 -D1 @ship_15.txt$) @ship_15.txt -B -Sc2p -pdf map

To find the min and max values for each of the first 3 columns, but
rounded to integers, and return the result individually for each data
Expand Down
6 changes: 3 additions & 3 deletions doc/rst/source/supplements/mgd77/mgd77list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ cruises.lis, we try

::

gmt mgd77list `cat cruises.lis` -E -Ia -F"dist,faa,grav12_2,depth<3000" > \
gmt mgd77list $(cat cruises.lis) -E -Ia -F"dist,faa,grav12_2,depth<3000" > \
shallow_grav.txt

To extract dist, faa, and grav12_2 from all the MGD77+ netCDF files
Expand All @@ -525,15 +525,15 @@ records whose bitflag for faa indicates BAD values, we try

::

gmt mgd77list `cat cruises.lis` -E -Ia -F"dist,faa,grav12_2:+faa" > bad_grav.txt
gmt mgd77list $(cat cruises.lis) -E -Ia -F"dist,faa,grav12_2:+faa" > bad_grav.txt

To output lon, lat, mag, and faa from all the cruises listed in the file
cruises.lis, but recalculate the two residuals based on the latest
reference fields, try:

::

gmt mgd77list `cat cruises.lis` -Flon,lat,mag,faa -Af2,4 -Am2 > data.txt
gmt mgd77list $(cat cruises.lis) -Flon,lat,mag,faa -Af2,4 -Am2 > data.txt

Recalculated Anomalies
----------------------
Expand Down

0 comments on commit fb11dd1

Please sign in to comment.