fix 1992/westley/README.md
Improve the formatting in `1992/westley/README.md` and thus the resulting `1992/westley/index.html`. Corrected a mistake on the use of `./whereami.alt`. Perform `make www` to perform the above and test under macOS.
This commit is contained in:
1 parent
e66631b543
commit
71280fc6de
2 files changed
+46
-36
No files matched your search
+23
-18
@@ -78,22 +78,27 @@ entry and the alternate code so one can try the same script for both:
|
|||||||
To find the approximate place where this entry was judged, type:
|
To find the approximate place where this entry was judged, type:
|
||||||
|
|
||||||
``` <!---sh-->
|
``` <!---sh-->
|
||||||
./whereami.sh 37 -122 # NOTE: - means west of meridian
|
# NOTE: Use - for south of the equator and/or west of the meridian
|
||||||
|
|
||||||
# or if you don't have at least 80 columns and want to see what it
|
./whereami.sh 37 -122
|
||||||
# looks like anyway:
|
|
||||||
./whereami 37 -122 # NOTE: - means west of meridian
|
# If you don't have at least 80 columns, try:
|
||||||
|
|
||||||
|
./whereami 37 -122
|
||||||
```
|
```
|
||||||
|
|
||||||
If you wish to see this on the US map:
|
If you wish to see this on the US map:
|
||||||
|
|
||||||
``` <!---sh-->
|
``` <!---sh-->
|
||||||
make alt
|
make alt
|
||||||
./whereami.alt.sh 37 -122 # NOTE: - means west of meridian
|
|
||||||
|
|
||||||
# or if you don't have at least 80 columns and want to see what it
|
# NOTE: Use - for south of the equator and/or west of the meridian
|
||||||
# looks like anyway:
|
|
||||||
./whereami.alt.sh 37 -122 # NOTE: - means west of meridian
|
./whereami.alt.sh 37 -122
|
||||||
|
|
||||||
|
# If you don't have at least 80 columns, try:
|
||||||
|
|
||||||
|
./whereami.alt 37 -122
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@@ -164,16 +169,16 @@ is reasonably accurate.
|
|||||||
### Here are some cities you might like to try:
|
### Here are some cities you might like to try:
|
||||||
|
|
||||||
```
|
```
|
||||||
New York 41 -74
|
New York 41 -74
|
||||||
London 52 0
|
London 52 0
|
||||||
Moscow 56 38
|
Moscow 56 38
|
||||||
New Delhi 29 77
|
New Delhi 29 77
|
||||||
Sydney -34 151
|
Sydney -34 151
|
||||||
Los Angeles 34 -118
|
Los Angeles 34 -118
|
||||||
Paris 45 2
|
Paris 45 2
|
||||||
Rio de Janeiro -23 -43
|
Rio de Janeiro -23 -43
|
||||||
Beijing 40 116
|
Beijing 40 116
|
||||||
Tokyo 36 140
|
Tokyo 36 140
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+23
-18
@@ -432,18 +432,23 @@ entry and the alternate code so one can try the same script for both:</p>
|
|||||||
<pre><code> ./try.sh</code></pre>
|
<pre><code> ./try.sh</code></pre>
|
||||||
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
||||||
<p>To find the approximate place where this entry was judged, type:</p>
|
<p>To find the approximate place where this entry was judged, type:</p>
|
||||||
<pre><code> ./whereami.sh 37 -122 # NOTE: - means west of meridian
|
<pre><code> # NOTE: Use - for south of the equator and/or west of the meridian
|
||||||
|
|
||||||
# or if you don't have at least 80 columns and want to see what it
|
./whereami.sh 37 -122
|
||||||
# looks like anyway:
|
|
||||||
./whereami 37 -122 # NOTE: - means west of meridian</code></pre>
|
# If you don't have at least 80 columns, try:
|
||||||
|
|
||||||
|
./whereami 37 -122</code></pre>
|
||||||
<p>If you wish to see this on the US map:</p>
|
<p>If you wish to see this on the US map:</p>
|
||||||
<pre><code> make alt
|
<pre><code> make alt
|
||||||
./whereami.alt.sh 37 -122 # NOTE: - means west of meridian
|
|
||||||
|
|
||||||
# or if you don't have at least 80 columns and want to see what it
|
# NOTE: Use - for south of the equator and/or west of the meridian
|
||||||
# looks like anyway:
|
|
||||||
./whereami.alt.sh 37 -122 # NOTE: - means west of meridian</code></pre>
|
./whereami.alt.sh 37 -122
|
||||||
|
|
||||||
|
# If you don't have at least 80 columns, try:
|
||||||
|
|
||||||
|
./whereami.alt 37 -122</code></pre>
|
||||||
<h2 id="authors-remarks">Author’s remarks:</h2>
|
<h2 id="authors-remarks">Author’s remarks:</h2>
|
||||||
<p>Run the program with your latitude & longitude as integer
|
<p>Run the program with your latitude & longitude as integer
|
||||||
arguments; it will produce a map made up of <code>'!'</code> with the given
|
arguments; it will produce a map made up of <code>'!'</code> with the given
|
||||||
@@ -496,16 +501,16 @@ blank line. It’s just for show, really.</p>
|
|||||||
be just off the map; this is an unavoidable artifact. The map
|
be just off the map; this is an unavoidable artifact. The map
|
||||||
is reasonably accurate.</p>
|
is reasonably accurate.</p>
|
||||||
<h3 id="here-are-some-cities-you-might-like-to-try">Here are some cities you might like to try:</h3>
|
<h3 id="here-are-some-cities-you-might-like-to-try">Here are some cities you might like to try:</h3>
|
||||||
<pre><code> New York 41 -74
|
<pre><code> New York 41 -74
|
||||||
London 52 0
|
London 52 0
|
||||||
Moscow 56 38
|
Moscow 56 38
|
||||||
New Delhi 29 77
|
New Delhi 29 77
|
||||||
Sydney -34 151
|
Sydney -34 151
|
||||||
Los Angeles 34 -118
|
Los Angeles 34 -118
|
||||||
Paris 45 2
|
Paris 45 2
|
||||||
Rio de Janeiro -23 -43
|
Rio de Janeiro -23 -43
|
||||||
Beijing 40 116
|
Beijing 40 116
|
||||||
Tokyo 36 140</code></pre>
|
Tokyo 36 140</code></pre>
|
||||||
<p>For a domestic (US) version with higher resolution, try:</p>
|
<p>For a domestic (US) version with higher resolution, try:</p>
|
||||||
<pre><code> main(l,a,n,d)char**a;{for(d=atoi(a[1])/2*80-atoi(a[2])-2043;
|
<pre><code> main(l,a,n,d)char**a;{for(d=atoi(a[1])/2*80-atoi(a[2])-2043;
|
||||||
n="bnaBCOCXdBBHGYdAP[A M E R I C A].AqandkmavX|ELC}BOCd"
|
n="bnaBCOCXdBBHGYdAP[A M E R I C A].AqandkmavX|ELC}BOCd"
|
||||||
|
|||||||
Reference in new issue
Block a user