4 # File ID: bcf111dc-7683-11e0-9799-01b466beaad8
8 if [ "$1" = "-g" ]; then
11 cat "$@" | xf | roundgpx | latlon | wpt-dupdesc | wpt-rmsym | xf | sortxml
-r -s wpt
-u
16 branch
=$progname.$
(date -u +"%Y%m%dT%H%M%SZ")
20 stat1
=$
(git status
--short $files)
21 if [ -z "$stat1" ]; then
22 echo $progname: No changes
, skipping commit
\"$msg\"
26 git commit
-m "$msg$(echo; echo; suuid -t c_poiformat -c "$msg")"
29 git checkout
-b $branch
31 echo $progname: XML error
>&2;
33 git branch
-d $branch;
36 commit
"$progname filtered files through xf"
38 commit
"$progname filtered files through roundgpx"
40 commit
"$progname filtered files through latlon"
41 filt wpt-dupdesc
$files
42 commit
"$progname filtered files through wpt-dupdesc"
44 commit
"$progname filtered files through wpt-rmsym"
46 commit
"$progname filtered files through xf"
47 filt
"sortxml -r -s wpt" $files
48 commit
"$progname filtered files through sortxml -r -s wpt"
49 filt
"sortxml -r -s wpt -u" $files
50 commit
"$progname removed duplicate waypoints"
52 git merge
--no-ff --edit -m "Merge branch '$branch' created by $progname" $branch