On 2020/07/09 20:36, deserter...@danwin1210.me wrote: > On Thu, July 9, 2020 5:53 pm, Ingo Schwarze wrote: > > Hi, > > > > The interface is so outrageously ill-designed that we decided to not > > provide it, even though it is part of POSIX. > > > > Talk to the upstream program author and ask them to use a saner API > > instead. > > > > Yours, > > Ingo > > > Hey, thanks for the reference. For word/path expansion even glob can be used, > so I replaced all wordexp calls to glob, and it worked just as well. > > Have a good day! > > >
That (replace with glob) is what most things in ports are doing. Obviously not identical (doesn't handle environment expansion, ~, etc) but often good enough.