On Mon, Nov 14, 2005 at 02:01:32AM +0100, Michael Monnerie wrote: > My parameters (from ps auxw): > /usr/bin/perl -w ./mass-check --progress --cache --all -n --after="-180 days" > --net -j=4 --progress > > What's wrong? I assign this in my script: > MASS_PARAM='--progress --cache --all -n --after="-180 days" --net -j=4' > Is that format wrong?
Welcome to the fun of quoting in shell scripts. :)
Using it in the way you're trying makes the quotes not work, twice (once
because of the single quote and again because you're doing ="...").
I found the simplest way to deal with it was to do:
$CORPUS/run-masses $SA_VER $OPTS --after "$AFTER"
which calls my run-masses script (an older one is in contrib) which passes the
above options to mass-check.
--
Randomly Generated Tagline:
I bought some used paint. It was in the shape of a house.
-- Steven Wright
pgpvQQcZj8Vag.pgp
Description: PGP signature
