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

Wolfgang Denk
2008-02-21T00:04:44Z

In message <00ca01c8740c$5a7b9fe0$c3031c0a@atmel.com> you wrote:
>
> It is a little different though, It will reinitialize the predefined
> environment
> variables to default settings but will not touch the other.

Makes sense.

> If "env default" is implemented the same way, then you could get a
> 100% clean environment by:
>
> env clear ; env default

I see.

> What will "env" do without parameters?

As usual: it will print it's "usage" message and return an error
code.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"If you are afraid of loneliness, don't marry." - Chekhov