[U-Boot-Users] Delete all env vars except read onlys
Scott Wood
scottwood at freescale.com
Thu Feb 14 00:04:49 CET 2008
Wolfgang Denk wrote:
> In message <47B37416.8090708 at freescale.com> you wrote:
>>> That would be exactly the other way round, i. e. provide an optional
>>> "-i" argument like "rm *" is doing in Unix.
>>>
>>> The default shall be not to ask any questions.
>> rm defaults to not asking questions in *some* cases, but to asking in
>> others. Hence the -f flag to rm.
>
> Oops??? "rm" never asks unless you ask it to ask.
Not true. It will ask if you don't have write permission to the file,
even if you are able to delete because you have write permission to the
directory.
The -f flag wouldn't be there if it were a no-op...
-Scott
More information about the U-Boot
mailing list