Two reasons, one can probably be surmounted, the other probably cannot. 1. musl, the libc implementation that I use for building the static executables, lacks GLOB_TILDE_CHECK (and GLOB_TILDE for that matter). I don't think they're in POSIX. 2. The insurmountable one is that it creates a big inconsistency in the behavior of commands with respect to filename expansion. Look at the following typescript to see why.
Script started on Thu 14 May 2015 08:31:42 AM PDT [chris@mushroom ~]$ edbrowse do not send referrer edbrowse ready $a hello . w ~/foo cannot create ~/foo w /home/chris/foo 6 1c goodbye . w ~/foo 8 q [chris@mushroom ~]$ exit exit Script done on Thu 14 May 2015 08:32:26 AM PDT I'd be happy to submit a patch for review to rework envFile, so that it does its own ~ and ~username expansion. Sorry I didn't catch this earlier. -- Chris _______________________________________________ Edbrowse-dev mailing list [email protected] http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev
