grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] terminal split


From: Robert Millan
Subject: Re: [PATCH] terminal split
Date: Fri, 7 Nov 2008 20:07:07 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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? ;-)

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]