All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Kevin Winchester <kjwinchester@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	"H. Peter Anvin" <hpa@zytor.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: X fails to start with latest Linus git
Date: Sun, 27 Jan 2008 13:35:14 +0100	[thread overview]
Message-ID: <20080127123514.GA21282@elte.hu> (raw)
In-Reply-To: <20080127083129.c14452ca.kjwinchester@gmail.com>


* Kevin Winchester <kjwinchester@gmail.com> wrote:

> although it is not complete.  For some reason (xubuntu, probably) dash 
> is my default shell and it does not like the for loop at line 69 of 
> that script:
> 
> for ((i=0; i<5; i++)); do
>  echo "-- sched_debug #$i: --"       >> $FILE
>  date                                >> $FILE
>  cat /proc/sched_debug               >> $FILE 2>/dev/null
>  sleep 1
> done
> 
> Not being a shell scripter, I have no idea how to port that to dash.

oops, stick this to the top of the script:

  #!/bin/bash

as that loop is a bashism. (I've updated the script on my site as well.)

	Ingo

  reply	other threads:[~2008-01-27 12:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-27  0:19 X fails to start with latest Linus git Kevin Winchester
2008-01-27  0:35 ` Kevin Winchester
2008-01-27  6:27   ` Ingo Molnar
2008-01-27 10:42     ` Jan Engelhardt
2008-01-27 12:31     ` Kevin Winchester
2008-01-27 12:35       ` Ingo Molnar [this message]
2008-01-27 23:08         ` Kevin Winchester
2008-01-27 12:37       ` Ingo Molnar
2008-01-27 12:41         ` Ingo Molnar
2008-01-27 12:42           ` Ingo Molnar
2008-01-27 23:12             ` Kevin Winchester
2008-01-27 23:35             ` Kevin Winchester
2008-01-27 23:10         ` Kevin Winchester
2008-01-27  7:12 ` [git pull] printk fix (was: Re: X fails to start with latest Linus git) Ingo Molnar

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=20080127123514.GA21282@elte.hu \
    --to=mingo@elte.hu \
    --cc=hpa@zytor.com \
    --cc=kjwinchester@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /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.