nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] I'm confused


From: Ken Hornstein
Subject: Re: [Nmh-workers] I'm confused
Date: Fri, 14 Sep 2012 15:08:03 -0400

>OK, well, this stuff did fine for years.  Guess those shortcut hacks are
>coming back to haunt me.

Well, it wasn't widely known before so maybe now we're getting more
users, and the rough edges are being exposed.  Also, it wasn't until
1.5 that it worked out of the box.

>glob won't work because it doesn't do tilde expansion but wordexp does.

I just checked and on two systems (MacOS X and Linux) I see that there
is a GLOB_TILDE flag that does what you expect.  It's not part of POSIX,
though.  I'd live with only supporting tilde expansion on systems
that supoprted glob().

Hm, I was not aware of wordexp() until now ... I see it does more
things, like support for environment variables.  But it seems like
it's implemented via a subshell.  At least that would move some of
the complexity out of nmh and potentially make it more portable.
I guess I'm torn; part of me prefers glob(3) just because it's more
straightforward, but I can see the added utility of wordexp(3).
Thoughts?

>Having a real attach command would give Norm a place for documentation.

Definitely.

--Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]