[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Test for files with ls
From: |
Marco Gerards |
Subject: |
Re: [PATCH] Test for files with ls |
Date: |
Tue, 05 Aug 2008 13:03:57 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Hi,
Lampersperger Andreas <address@hidden> writes:
> 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 glad if you accept the patch or give me comments to improve
> the patch.
It would be better to add a "test" command. I have one sitting on my
harddisk, waiting for me to finish it... :-/
--
Marco
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] Test for files with ls,
Marco Gerards <=