updated cave lengths - online edit of handbook/troggle/scriptscurrent.html

This commit is contained in:
Expo on server 2023-12-02 21:01:20 +00:00
parent 2c92e5ed81
commit 86a7390585

View File

@ -142,7 +142,7 @@ See the entire page devoted to the various
cave length depth
32: 1973m 161m
40: 7154m 262m
41: 9611m 387m
41: 9925m 387m
78: 7847m 328m
87: 520m 289m
88: 1849m 201m
@ -158,16 +158,27 @@ cave length depth
161: 26284m 526m
204: 18593m 622m
258: 20736m 912m
264: 18265m 591m</pre>
(data as of 12 Sept. 2022).
264: 18265m 591m
290: 5968m 456m
291: 868m 137m
359: 3442m 376m
Sat Dec 2 21:00:40 GMT 2023</pre>
<code><pre>#!/bin/sh
#!/bin/sh
echo "cave length depth"
for cave in 32 40 41 78 87 88 115 142 143 144 158 216 83 107 136 161 204 258 264
for cave in 32 40 41 78 87 88 115 142 143 144 158 216 83 107 136 161 204 258 264 290
do
echo -n "$cave:"
cavern -o /tmp ../caves-1623/${cave}/${cave}.svx | grep -o "(.*m adjusted)\|Vertical range = [.[:digit:]]*m " | grep -o [.[:digit:]]*m | gawk '{ gsub(/m/,""); printf "%6.0fm", $1 }'
echo
done
for cave in 359
do
echo -n "$cave:"
cavern -o /tmp ../caves-1626/${cave}/${cave}.svx | grep -o "(.*m adjusted)\|Vertical range = [.[:digit:]]*m " | grep -o [.[:digit:]]*m | gawk '{ gsub(/m/,""); printf "%6.0fm", $1 }'
echo
done</pre></code>