From 66d6599499ed480660040cb91e9e242378f2d8d1 Mon Sep 17 00:00:00 2001 From: "Philip Sargent (muscogee)" Date: Mon, 6 Apr 2020 16:58:30 +0100 Subject: [PATCH] svx *ref validity checking stuff now working fine --- handbook/computing/regular.html | 6 ++++++ svx-refs.err.html | 2 ++ x-svxvalid.html => svxvalid.html | 3 ++- 3 files changed, 10 insertions(+), 1 deletion(-) rename x-svxvalid.html => svxvalid.html (88%) diff --git a/handbook/computing/regular.html b/handbook/computing/regular.html index 4fecebc7a..83802aee7 100644 --- a/handbook/computing/regular.html +++ b/handbook/computing/regular.html @@ -16,6 +16,12 @@

Wallets and Surveyscans

+

Run dos2unix to convert any uploaded Windows text files to the format expected by our software. e.g. +

cd expofiles/surveyscans
+find . -not -type d -exec file "{}" ";" | grep CRLF >crlf.txt
+`awk -F: '// {print "dos2unix \"" $1 "\""}' crlf.txt`
+
+

Also a good idea to run on all of expofiles once every few years as many GPX

Tunnel files (Drawings)

diff --git a/svx-refs.err.html b/svx-refs.err.html index 70ff867a6..72eeb64d9 100644 --- a/svx-refs.err.html +++ b/svx-refs.err.html @@ -53,4 +53,6 @@ mkdir /mnt/f/expofiles/surveyscans/2040/2040#24 mkdir /mnt/f/expofiles/surveyscans/2040/2040#27 mkdir /mnt/f/expofiles/surveyscans/2040/2040#28 mkdir /mnt/f/expofiles/surveyscans/2040/2040#31 +sed -i '/survex file/ s;"";"docs/intentionallybad.svx";' /mnt/f/expofiles/surveyscans/1975/1975#00/contents.json +UNSET json 1975/1975#00 docs/intentionallybad.svx diff --git a/x-svxvalid.html b/svxvalid.html similarity index 88% rename from x-svxvalid.html rename to svxvalid.html index 69914ff98..10948023f 100644 --- a/x-svxvalid.html +++ b/svxvalid.html @@ -8,7 +8,8 @@

Expo Systems - Data Validation

SVX files referring to wallets and vice-versa

- +

"json" is the survex filename stated in the 2018#03/content.json file in surveyscans/2018/ .