[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] terminal split
From: |
Yoshinori K. Okuji |
Subject: |
Re: [PATCH] terminal split |
Date: |
Sun, 9 Nov 2008 08:22:39 +0100 |
User-agent: |
KMail/1.9.9 |
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
Re: [PATCH] terminal split, Vesa Jääskeläinen, 2008/11/04
- Re: [PATCH] terminal split, Robert Millan, 2008/11/04
- Re: [PATCH] terminal split, Colin D Bennett, 2008/11/04
- [RFC] Multi-terminal support (Re: [PATCH] terminal split), Robert Millan, 2008/11/07
- Re: [RFC] Multi-terminal support (Re: [PATCH] terminal split), Yoshinori K. Okuji, 2008/11/22
- Re: [RFC] Multi-terminal support (Re: [PATCH] terminal split), Robert Millan, 2008/11/22
- Re: [RFC] Multi-terminal support (Re: [PATCH] terminal split), Yoshinori K. Okuji, 2008/11/25
- Re: SPAM-LOW: Re: [RFC] Multi-terminal support (Re: [PATCH] terminal split), Amin Azez, 2008/11/26
- Re: [RFC] Multi-terminal support (Re: [PATCH] terminal split), Robert Millan, 2008/11/28
- Re: [RFC] Multi-terminal support (Re: [PATCH] terminal split), Vesa Jääskeläinen, 2008/11/29