i'm not clear on what's so wrong with the above. i assume proc would
be expanded, so you'd end up with
/bin/sh -c 'less -aics arg1 arg2 arg3'
or
/bin/sh -c '~pgf/foo arg1 arg2 arg3'
i'm missing the "extra level of interpretation" you're thinking of.
Let's say "arg2" contains a space. ~pgf/foo would get four arguments
instead of three. Also, if it contained double quotes they would be
eaten.
--Ken
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers