|
From: Mikhael G. <mi...@co...> - 2000-12-12 18:36:01
|
On 12 Dec 2000 18:15:23 +0100, Olivier Chapuis wrote:
>
> It seems that the awk line is POSIX. However, the m4 esyscmd is a GNU
> extension and I do not see how to fix it without changing the logic.
> We can transform all the .db file to m4 file (using awk or by adding
> a new sub option to fvwm-themes-image) and use include. Or we can change
> the read command by something like:
>
> PipeRead 'a one line program in perl or in awk/sed'
>
> Any other suggestions?
If esyscmd does not exist in non-GNU m4, it probably can be emulated by
maketemp + syscmd + include.
It may be put into ifelse(defn({{__gnu__}}, ...) to use the current
solution without temporary files for GNU users.
Anyway I don't have non-GNU m4 to test this suggestion.
Regards,
Mikhael.
|