On Tue, 2003-02-18 at 22:20, Yoshinori K. Okuji wrote:
> At Wed, 19 Feb 2003 10:29:59 +1100,
> Jason Thomas wrote:
> > > > +++ sed -n 's%.*-> %\1%p'
> > > 
> > > It's a grub bug.
> > > 
> > > The offending line is:
> > > 
> > >         tmp_new_fname=`ls -al $tmp_fname | sed -n 's%.*-> %\1%p'`
> > > 
> > > I believe that this should be
> > > 
> > >         tmp_new_fname=`readlink $tmp_fname`
> 
> So, what is the bug? Generally speaking, if you don't tell me what
> wrong thing happens actually, I wouldn't change anything.

I'm guessing that something changed in ls's output so that that sed
expression won't work on the output of ls anymore.  Sadly, I don't think
that readlink is a standard command you can count on the existence of :/

Jeremy



_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to