diff --git a/handbook/troggle/scriptscurrent.html b/handbook/troggle/scriptscurrent.html index 9fa63cede..a83f4ecfa 100644 --- a/handbook/troggle/scriptscurrent.html +++ b/handbook/troggle/scriptscurrent.html @@ -113,9 +113,40 @@ Its job has almost certainly been superceded by the survex file parser in troggl

"cavestats" is compiled by noinfo/cavestats.build source code and is used by "create_dplong_table.py". -

:loser:/docs/smklengths is a brief bash script that runs cavern on all the top-level cave svx files and extracts the total lengths. +

smklengths

+

:loser:/docs/smklengths is a brief bash script that runs cavern on all the top-level cave svx files and extracts the total lengths: +

+cave length depth
+32:  1973m   161m
+40:  7154m   262m
+41:  9611m   387m
+78:  7847m   328m
+87:   520m   289m
+88:  1849m   201m
+115:  6407m   741m
+142:   645m    53m
+143:  3382m   309m
+144:  3263m   366m
+158:  3061m   345m
+216:   105m    27m
+83:   493m    62m
+107:  3788m   254m
+136:  3461m   438m
+161: 26284m   526m
+204: 18593m   622m
+258: 20736m   912m
+264: 18265m   591m
+(data as of 12 Sept. 2022). +
#!/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
+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
diff --git a/handbook/troggle/scriptsother.html b/handbook/troggle/scriptsother.html index 967ee5ebe..691441bae 100644 --- a/handbook/troggle/scriptsother.html +++ b/handbook/troggle/scriptsother.html @@ -28,7 +28,7 @@
  • make-alljs.py - extracts legs and entrances - part of GPX processing.
  • convert.py Scripts working on Loser-1624 Uebersicht_2011.svx
  • create_dplong_table.py Creates and updates the lengths and depths of all the caves. -
  • cavestats and smklengths extract overall lengths and depths from all the survex files +
  • cavestats and smklengths extract overall lengths and depths from all the survex files
  • summarizecave.sh gets .3d file contents using survex
  • caves-tabular.html a re-sortable table of cave data
  • JavaScript packages are used by some troggle pages. See the Expo server page.