Samba4 Patch: newuseradv and newgroupadv scripts for net cmd utlity
Michael Wood
esiotrot at gmail.com
Sun Jun 13 06:52:53 MDT 2010
On 13 June 2010 12:14, Lukasz Zalewski <lukas at dcs.qmul.ac.uk> wrote:
> Tried various combinations of ", \" and ' with no success :( As a workaround
I think the problem might be
testit () {
name="$1"
shift
cmdline="$*"
^^^^^^^^^^^^^^^^^^^^^^^
Normally if you want to keep quoted things as a single parameter you
need to use "$@" instead of "$*".
Actually, I think this:
output=`$cmdline 2>&1`
also causes trouble.
Anyway, maybe moving to Python would be better than fixing testit.
--
Michael Wood <esiotrot at gmail.com>
More information about the samba-technical
mailing list