heres an untested (still, low risk) patch for xeno-test
which corrects an obsolete usage of head.


noted by Tobias Marschall on xeno-help.
Index: scripts/xeno-test.in
===================================================================
--- scripts/xeno-test.in        (revision 924)
+++ scripts/xeno-test.in        (working copy)
@@ -90,7 +90,7 @@
     loudly cat /proc/interrupts
     loudly cat /proc/loadavg
     [ -n "$prepost" ] && loudly $prepost
-    loudly top -bn1c | head -$(( 12 + $workload ))
+    loudly top -bn1c | head -n $(( 12 + $workload ))
 }
 
 
_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to