#52112 mgp: %filter does not allow quoting

Package:
mgp
Source:
mgp
Description:
MagicPoint — an X11-based presentation tool
Submitter:
Yann Dirson
Date:
2005-07-18 03:14:05 UTC
Severity:
normal
#52112#5
Date:
1999-12-07 09:13:00 UTC
From:
To:
%filter does not call the shell, as system() does in C.  Thus "sh -c
'...'" must be called to get shell functionalities (stderr
redirection, pipe, etc.).

However, mgp does not take ' into account when word-splitting %filter
command-line.  Hence the following ends with sh complaining about a
syntax error:

%filter "sh -c 'ls -l /'"
%endfilter