All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: missing arguments for script functions
Date: Wed, 6 Apr 2016 09:45:18 +0200	[thread overview]
Message-ID: <20160406074518.GB4291@aepfle.de> (raw)
In-Reply-To: <CAA91j0V5XzGtZghrnSSE2Nk7kHiUFG-0M27iVWux9ypCO_XPyg@mail.gmail.com>

On Thu, Mar 31, Andrei Borzenkov wrote:

> On Thu, Mar 31, 2016 at 11:28 AM, Olaf Hering <olaf@aepfle.de> wrote:
> > Is this supposed to work?
> >
> > function f() {
> 
> This gives syntax error to me. But
> 
> function f {
> echo $1
> }
> 
> works.

It does. Not sure what exactly was used in my first attempt which caused
the errors. At least now it is working as expected.

Olaf


      reply	other threads:[~2016-04-06  7:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-31  8:28 missing arguments for script functions Olaf Hering
2016-03-31 13:49 ` Andrei Borzenkov
2016-04-06  7:45   ` Olaf Hering [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=20160406074518.GB4291@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=grub-devel@gnu.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.