Hi, [email protected] wrote on Thu, Jul 09, 2020 at 05:38:18PM -0000:
> wordexp.h is part of glibc: functions, constants and data types for word > expansion are declared in the header file `wordexp.h'. > > But it is not in my system! Is this by design? or an error? The absence of wordexp(3) from OpenBSD is intentional. https://marc.info/?l=openbsd-tech&m=127053352511782&w=2 "This patch adds support for wordexp(3) and wordfree(3) to libc." https://marc.info/?l=openbsd-tech&m=127056947124559&w=2 tedu@: "What a load of crap." https://marc.info/?l=openbsd-tech&m=127057160727771&w=2 deraadt@: "I think we should stand up to crap and not ever implement it." 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
