Nigel, All,

On Wednesday 25 May 2011 165635 Nigel Hathaway wrote:

Please, don't top-post. Write below the text you are replying to, it's
easier to follow and understand. Also, please wrap long lines to below
80 chars length.

> Do you know what the solution is?

Why do you need to add 'eval' in front of lines?
Does your input file contain only affectations, or other stuff?
Are affectations in this file properly escaped?

It all depends. If you have only affectations, and they are properly escaped
and/or quoted, then just source the file (notice the leading dot):
  . "${my_file}"

If not, then pre-process the file, stick 'eval' where it is due, escape
and/or quote where needed, and source the resulting file.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< O_o >==-- '------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL    |  """  conspiracy.  |
'------------------------------'-------'------------------'--------------------'
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to