[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with relaying
On Thu, Jan 18, 2001 at 03:11:16PM +0300, Eugene Crosser wrote:
> On 18-Jan-01 at 13:56, Arnt Gulbrandsen (arnt@trolltech.com) wrote:
> > > Changeing the script interpret is one of the most difficult things
> > > in ZMailer, and this evaluator detail doubly so... I recall having
> > > tried and failed.
>
> I'd second this.
> "Don't fix it if it ain't broken"
> sh-like language has its problems (notably dangerous variable expansion)
> but it also has advantages. For example, most admins know it at least
> basically, and very few people are religious about it.
Some of those Implicite Dangers make things such that I don't like
to give them to everyday careless people. Even I tend to make
mistakes which are potentially quite harmfull..
I just made some tests (changed v_expand() to always quote variables
which are STRINGs), and when I tried to use it, I learned what the
system wants to behave with implied IFS-split.
I am now adding explicite $(ifssplit "string with IFS chars")
function to convert a quoted string (e.g. from v_expand()) to
a list (of quoted strings), which will help at that hurdle.
> Eugene
--
/Matti Aarnio <mea@nic.funet.fi>