[PATCH] Test for files with ls

2008-07-07 Thread Lampersperger Andreas
Hi, I have there a small patch to commands/ls.c, whichs makes the ls-command return an error for non existing fils (as the bash ls command). With this patch, one can have in the grub.cfg files statements like: if ls /boot/grub/grub.cfg.gfx ; then source /boot/grub/grub.cfg.gfx fi I would be

RE: [PATCH] Test for files with ls

2008-07-13 Thread Lampersperger Andreas
ested this with GRUB 1.96 By Anreas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Millan Sent: Saturday, July 12, 2008 4:27 PM To: The development of GRUB 2 Subject: Re: [PATCH] Test for files with ls On Mon, Jul 07, 2008 at 09:46:58AM +0200, La