t.longoptions

来自「一个C语言写的快速贝叶斯垃圾邮件过滤工具」· LONGOPTIONS 代码 · 共 39 行

LONGOPTIONS
39
字号
#! /bin/sh# Note:  When run via "make check", test output files are automatically deleted.#	 When run from the command line, output files are left in directory#	 longoptions.YYYYMMDD.  This is useful when something is different.##	 ./inputs  - test inputs#	 ./outputs - known correct outputs##	 longoptions.YYYYMMDD:#		directory containing individual output filesNODB=1 . ${srcdir:=.}/t.frameCFG="${TMPDIR}/test.cf"MSG="${TMPDIR}/test.msg"cat >$CFG <<EOFblock_on_subnets  = Nocharset_default   = us-asciireplace_nonascii_characters = Nono-header-tags    = Yesstats_in_header   = Yesreport-unsure     = Nothresh_update     = 0.000000timestamp         = Yestimestamp-date    = 20040822EOFcat >$MSG <<EOFFrom testSubject: subjectthis is a testEOF$BOGOLEXER  -D -c $CFG -p -I $MSG    > ${TMPDIR}/bogolexer.out$BOGOFILTER -D -c $CFG -v -n -I $MSG > ${TMPDIR}/bogofilter.out

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?