External lib unittests: they're killin me!

H. S. Teoh hsteoh at quickfur.ath.cx
Wed May 22 17:52:01 PDT 2013


On Wed, May 22, 2013 at 08:27:50PM -0400, Steven Schveighoffer wrote:
> On Wed, 22 May 2013 17:51:49 -0400, H. S. Teoh
> <hsteoh at quickfur.ath.cx> wrote:
> 
> >The correct solution was to have a globbing function in a standard
> >library that programs would use to expand wildcards.  That's what
> >shared libs are for!!!
> 
> This might be the "correct" solution, but it's not the solution that
> would have worked :)  ESPECIALLY in open-source-land.
[...]

True. But in open source land you just submit patches if something
doesn't call glob that should. Or in the worst case, fork. :-P  But OK,
I concede that realistically speaking, this would be unworkable.

Regardless, I've oft mused about writing my own shell that does *not*
glob by default. It would, of course, have convenient ways of doing that
(perhaps a single-char prefix/suffix that turns it on). This would be
done in a controlled manner so you could control exactly when and where
interpolation happens. (But I may just end up reinvent Perl though. :-P)


T

-- 
There are four kinds of lies: lies, damn lies, and statistics.


More information about the Digitalmars-d mailing list