18 darcs rec
-a -m add-foobar
22 # send-mail1.sh: Test sendmail command for darcs send 1
23 # 2008-Oct-06 22.25 / TN
25 echo all: \$0 "\$@" >>saved.out
26 echo \$6 contains: >>saved.out
29 echo End of \$6 contents >>saved.out
32 while [ "\$#" != "0" ]; do
34 echo \$0: arg[\$CNT] = \"\$1\" >>saved.out
37 echo \$0: Total \$CNT arguments >>saved.out
38 echo \$0: Input: >>saved.out
40 echo \$0: End of input: >>saved.out
46 darcs send
--author=me
-a --to=random@random \
47 --sendmail-command='bash ./saveit.sh %s %t %c %b %f %a %S %t %C %B %F %A something' ..
/temp2
50 grep add-foobar saved.out
51 grep 'addfile ./foobar' saved.out