|
|
Re: [patch] xeno-test: replace 'head -3' with 'head -n 3': msg#00115
linux.real-time.xenomai.devel
|
Subject: |
Re: [patch] xeno-test: replace 'head -3' with 'head -n 3' |
Jim Cromie wrote:
heres an untested (still, low risk) patch for xeno-test
which corrects an obsolete usage of head.
Applied, thanks.
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@xxxxxxx
https://mail.gna.org/listinfo/xenomai-core
--
Philippe.
|
|