On Wednesday 12 August 2009 15:24:01 Denys Vlasenko wrote: > On Wed, Aug 12, 2009 at 3:56 PM, Michal Simek<[email protected]> wrote: > > I am trying to run ltp on hush and runltp use PWD too. It will be better > > if hush will export PWD variable. I am not script specialist and don't > > have any statistic but seems to me it is common thing and shell should > > provide it. What do you think? > > hush currently has no support for special variables at all > (not counting $1, $_ etc). It makes sense to add it, > but it will take some time.
it doesnt need to be special. export it when hush starts up like any other variable, and then update it whenever someone uses the `cd` builtin. side note -- setting PWD is the same thing as doing `cd`. so `PWD=/` and `cd /` are equivalent. -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
