All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Jim Cromie <jim.cromie@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] [patch] xeno-test: replace 'head -3' with 'head -n 3'
Date: Sun, 16 Apr 2006 12:40:06 +0200	[thread overview]
Message-ID: <44421F06.5070500@domain.hid> (raw)
In-Reply-To: <443E68D1.5060004@domain.hid>

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@domain.hid
> https://mail.gna.org/listinfo/xenomai-core


-- 

Philippe.


      reply	other threads:[~2006-04-16 10:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-13 15:05 [Xenomai-core] [patch] xeno-test: replace 'head -3' with 'head -n 3' Jim Cromie
2006-04-16 10:40 ` Philippe Gerum [this message]

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=44421F06.5070500@domain.hid \
    --to=rpm@xenomai.org \
    --cc=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.