From: <don...@is...> - 2008-09-18 12:31:42
|
Sam Steingold writes: > Don Cohen wrote: > > > > > > [2008-09-18 09:19:17 root@number11 ~/clisp/clisp/build-dir] > > > > $ echo '(princ (+ 11 99))' | ./lisp.run -B . -N locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -q -M lispinit.mem - > > > > 110 > > > > [2008-09-18 09:19:45 root@number11 ~/clisp/clisp/build-dir] > > > > $ > > > > > > good. > > > so, how about the failing test? > > > > > > echo '(+ foo bar)' | ./lisp.run -B . -N locale -E UTF-8 -Epathname 1:1 -Emisc > > > 1:1 -norc -q -M lispinit.mem -x '(setq foo 11 bar 99)' -repl | tr '\n' '_' | tr > > > -d '\r' > > > > [2008-09-18 11:02:55 root@number11 ~/clisp/clisp/build-dir] > > $ echo '(+ foo bar)' | ./lisp.run -B . -N locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -q -M lispinit.mem -x '(setq foo 11 bar 99)' -repl | tr '\n' '_' | tr -d '\r' > > 99_[1]> _110_[2008-09-18 11:04:18 root@number11 ~/clisp/clisp/build-dir] > > $ > > ok, how about > z=`echo '(+ foo bar)' | ./lisp.run -B . -N locale -E UTF-8 -Epathname 1:1 > -Emisc 1:1 -norc -q -M lispinit.mem -x '(setq foo 11 bar 99)' -repl | tr '\n' > '_' | tr -d '\r'` > echo $z > > how is $z different from '99_[1]> _110_'? > (your make fails claiming that they are different. how?) Could the error be coming from somewhere else, like the next command? > > (I hope that including my prompt actually helps rather than hinders) > > yes, please do keep them. > also, please keep more dialog history $ z=`echo '(+ foo bar)' | ./lisp.run -B . -N locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -q -M lispinit.mem -x '(setq foo 11 bar 99)' -repl | tr '\n' '_' | tr -d '\r'` [2008-09-18 12:24:51 root@number11 ~/clisp/clisp/build-dir] $ echo $z 99_[1]> _110_ [2008-09-18 12:24:57 root@number11 ~/clisp/clisp/build-dir] $ Perhaps the difference is a newline at the end? (BTW, another possible source of error is pasting into a mail buffer that insists on adding new lines when the lines get too long. Also when I copy/paste from one xemacs -nw to another I tend to get backslashes at the ends of continued lines. I've been trying to edit those out to show what's "really" there but I might sometimes make mistakes.) |