summaryrefslogtreecommitdiff
path: root/preprocess-no-lower
diff options
context:
space:
mode:
authorPatrick Simianer <patrick@lilt.com>2026-02-26 10:05:59 +0000
committerPatrick Simianer <patrick@lilt.com>2026-02-26 10:05:59 +0000
commitb31ace79ea5f6b3f279c544cd3a443d6fbf2a24d (patch)
tree31f2b599fa5f6996aeb134390d58deb63eefe04a /preprocess-no-lower
parent8805e95ae94d798c6441f7e1b72c90e049563f17 (diff)
overhaulHEADmaster
Diffstat (limited to 'preprocess-no-lower')
-rwxr-xr-xpreprocess-no-lower5
1 files changed, 2 insertions, 3 deletions
diff --git a/preprocess-no-lower b/preprocess-no-lower
index afd87e9..7e3ad91 100755
--- a/preprocess-no-lower
+++ b/preprocess-no-lower
@@ -1,9 +1,8 @@
#!/bin/bash
-pushd `dirname $0` > /dev/null
-P=`pwd -P`
+pushd "$(dirname "$0")" > /dev/null
+P="$(pwd -P)"
popd > /dev/null
LANG=$1
$P/no-non-printables | sed "s|[-,\.]\{4,\}|...|g" | $P/htmlentities 2>htmlentities.$LANG.err | $P/normalize-punctuation 2>normalize-punctuation.$LANG.err | $P/tokenizer-no-escape.perl -a -b -threads 1 -l $LANG 2>tokenizer.$LANG.err
-