quote-args 445 B

12345678910111213141516171819202122
  1. #!/bin/sh
  2. # $Id: quote-args,v 1.3 2010-12-04 00:05:54 karl Exp $
  3. # Public domain. Test @quote-args facility.
  4. unset TEXINFO_OUTPUT LANG LANGUAGE
  5. LC_ALL=POSIX; export LC_ALL
  6. : ${srcdir=.}
  7. TMP=quote-args.out
  8. cat > quote-args.samp <<EOT
  9. *FIXME: Many arguments, separated by commas, are processed here*
  10. natopocotuototam
  11. EOT
  12. ../makeinfo --plaintex $srcdir/quote-args.txi | diff - quote-args.samp
  13. exit_code=$?
  14. rm quote-args.samp
  15. exit $exit_code