[Discuss] Bourne Shell variable assignment question

Ben Eisenbraun bene at klatsch.org
Thu Dec 15 16:22:15 EST 2011


On Thu, Dec 15, 2011 at 03:57:04PM -0500, Jerry Feldman wrote:
> I have not done my homework on this as much as I should.
> A coworker needs to set variable names and values input from another
> file. Normally, I would source that file, but he specifically wants to
> parse the file.
> So, in simple terms, he has a file that has something like:
> var1=foo
> 
> Instead of sourcing he wants to parse the file using readline so he

Readline is a library for that command line apps can use for command
editing and history. It's not part of the shell, and I don't think it can
be used the way you're suggesting.

-b

--
the wages of gin is breath.                                  <anonymous>



More information about the Discuss mailing list