make - tcsh shell invokes csh script calls Makefile: Argument with double quotes and a space -
i have csh script phone call in tcsh shell. csh calls makefile. i'd either hardcode or pass in argument a_b_c="yyy zzz" goes makefile. have tried simplify problem toy illustration below.
so if csh script run-csh phone call in tcsh shell: run-csh -option a_b_c="yyy zzz" in run-csh: (cd foo ; $command > a.log) &
which should invoke (target test hardcoded run-csh): cd foo ; create test a_b_c="yyy zzz" d=e f=g h=j > b.log
it appears problem double quotes , space getting dropped runs: make test a_b_c=yyy zzz , complains zzz not valid create target
how can either prepare argument on tcsh command line (-option a_b_c="yyy zzz") or hardcode csh script (a_b_c="yyy zzz")? if skip csh file , run make test a_b_c="yyy zzz" tcsh, works, why think translation of double quotes , space problem. when utilize echo in csh script appears how want it.
make arguments csh tcsh
No comments:
Post a Comment