From: Jim Cromie <jim.cromie@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-core] [patch] xeno-test: replace 'head -3' with 'head -n 3'
Date: Thu, 13 Apr 2006 11:05:53 -0400 [thread overview]
Message-ID: <443E68D1.5060004@domain.hid> (raw)
[-- Attachment #1: Type: text/plain, Size: 141 bytes --]
heres an untested (still, low risk) patch for xeno-test
which corrects an obsolete usage of head.
noted by Tobias Marschall on xeno-help.
[-- Attachment #2: patch-head-n --]
[-- Type: text/plain, Size: 412 bytes --]
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 ))
}
next reply other threads:[~2006-04-13 15:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-13 15:05 Jim Cromie [this message]
2006-04-16 10:40 ` [Xenomai-core] [patch] xeno-test: replace 'head -3' with 'head -n 3' Philippe Gerum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=443E68D1.5060004@domain.hid \
--to=jim.cromie@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.