Commit Graph

5 Commits

Author SHA1 Message Date
Stefan Weil
934e612a3e testing: Fix warnings from shellcheck
Fix these kinds of warnings:

SC2002: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
SC2086: Double quote to prevent globbing and word splitting.
SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-11 18:23:47 +02:00
Stefan Weil
b75beda7f9 Fix some issues reported by shellcheck (SC2004, SC2006)
Examples:

In training/tesstrain.sh line 64:
if (( ${LINEDATA} )); then
      ^-- SC2004: $/${} is unnecessary on arithmetic variables.

In training/tesstrain.sh line 56:
source `dirname $0`/language-specific.sh
       ^-- SC2006: Use $(..) instead of legacy `..`.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-14 14:11:24 +01:00
theraysmith
7a2a378699 Update for move of top-level to api directory
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@328 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-05-19 18:10:49 +00:00
theraysmith
0b1643454b Upgrade for testing for 3.00
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@284 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-07-11 01:50:32 +00:00
theraysmith
627368df42 API/output changes to produce unlv-style latin-1 output and test scripts
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@86 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2007-07-18 01:11:18 +00:00