chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abb3686
)
hostside/measure-speeds: add imprecation to include args to measure-speed in commit...
author
Ian Jackson
<ian@davenant.greenend.org.uk>
Mon, 3 Jan 2011 19:01:09 +0000
(19:01 +0000)
committer
Ian Jackson
<ian@davenant.greenend.org.uk>
Mon, 3 Jan 2011 19:01:09 +0000
(19:01 +0000)
hostside/measure-speeds
patch
|
blob
|
history
diff --git
a/hostside/measure-speeds
b/hostside/measure-speeds
index 70844e76899f34e0f837c32d996505ec8f3c8ca5..11e1ea538a925c074364d447084eef569ef7a46c 100755
(executable)
--- a/
hostside/measure-speeds
+++ b/
hostside/measure-speeds
@@
-11,6
+11,9
@@
# OR put on track segment or C7 ish, facing CLOCKWISE
# ./measure-speeds /dev/railway C stop 2 50 0 40
+# When committing, it would be best to include the command line arguments
+# in the commit message.
+
# debugging:
# ./measure-speeds [stuff] 2>&1 | perl -pe '$|=1; s/\r/\n/g' | 3<&0 tclsh8.3 <(echo 'set f [open /dev/fd/3]; proc cm {} { clock clicks -milliseconds }; set z [cm]; while {[gets $f l]>=0} { puts [format "%-10s %s" [expr {[cm]-$z}] $l] }')