[U-Boot-Users] Delete all env vars except read onlys

Scott Wood
2008-02-13T23:04:49Z

Wolfgang Denk wrote:
> In message <47B37416.8090708@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