[BusyBox] RE: Ash question - solved
Michael Sternberg
MichaelS at boscom.com
Sun Jun 2 04:40:03 UTC 2002
Oh, I already found the solution, sorry for junk e-mail.
The solution was:
eval CurrentInit\=\$Init$index
Michael.
-- -----Original Message-----
-- From: Michael Sternberg
--
-- I'm trying to accomplish the following:
-- I have variable Init5 in script, it's value is "x"
-- I also have variable Index in script, it's value is "5"
--
-- In regular bash following command assigns "x" into
-- CurrentInit variable.
-- eval CurrentInit=\$Init$index
--
-- How can I do the similar in busybox ash ?
-- When I trying the above I receive "$Init5" in CurrentInit.
--
--
-- Thanx, Michael.
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20020602/94e1f42b/attachment-0001.htm
More information about the busybox
mailing list