All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yoshinori K. Okuji" <okuji@enbug.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] terminal split
Date: Sun, 9 Nov 2008 08:22:39 +0100	[thread overview]
Message-ID: <200811090822.40119.okuji@enbug.org> (raw)
In-Reply-To: <20081107190707.GC8625@thorin>

On Friday 07 November 2008 20:07:07 Robert Millan wrote:
> On Thu, Nov 06, 2008 at 06:20:57PM +0100, Yoshinori K. Okuji wrote:
> > Also, a similar technique can be used to implement "getting an output as
> > a string". For example:
> >
> >   # Use the same password as the super user.
> >   set password=$(sed -ne '/^root:/{s/root:\([^:]*\).*/\1/;p}'
> > /etc/shadow)
>
> This would work much better in grub-mkconfig.  You don't want to implement
> (or port) sed do you? ;-)

I don't want to duplicate information when they should be indentical. 
Synchronization is a nightmare. sed is just an example. You can use 'cut' in 
this case as well.

Regards,
Okuji



  reply	other threads:[~2008-11-09  7:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-02 18:11 [PATCH] terminal split Robert Millan
2008-11-04 15:52 ` Yoshinori K. Okuji
2008-11-04 17:14   ` Robert Millan
2008-11-06 17:05     ` Yoshinori K. Okuji
2008-11-07 19:13       ` Robert Millan
2008-11-04 18:31   ` Vesa Jääskeläinen
2008-11-06 17:20     ` Yoshinori K. Okuji
2008-11-07 19:07       ` Robert Millan
2008-11-09  7:22         ` Yoshinori K. Okuji [this message]
2008-11-04 18:53 ` Vesa Jääskeläinen
2008-11-04 19:12   ` Robert Millan
2008-11-04 19:49     ` Colin D Bennett
2008-11-07 19:26     ` [RFC] Multi-terminal support (Re: [PATCH] terminal split) Robert Millan
2008-11-22 17:42       ` Yoshinori K. Okuji
2008-11-22 19:54         ` Robert Millan
2008-11-25 21:23           ` Yoshinori K. Okuji
2008-11-26 11:41             ` SPAM-LOW: " Amin Azez
2008-11-28 20:38             ` Robert Millan
2008-11-29 21:20               ` Vesa Jääskeläinen

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=200811090822.40119.okuji@enbug.org \
    --to=okuji@enbug.org \
    --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.