File: init-out

package info (click to toggle)
utfcheck 1.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,360 kB
  • sloc: lex: 472; sh: 262; ansic: 130; makefile: 42
file content (18 lines) | stat: -rwxr-xr-x 681 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# This script should only be run by the package maintainer,
# to generate reference copies of test script output.

for i in ascii binary utf16-be utf16-le utf8-bom-begin utf8-bom-end utf8 ; do
   gunzip             < samples/sample-${i}.txt.gz | \
      ../src/utfcheck > expected/out-${i}.txt ;
done

gunzip                < samples/sample-utf8.txt.gz | \
   ../src/utfcheck -a > expected/out-ascii-only.txt ;

gunzip                < samples/sample-utf8-surrogate.txt.gz | \
   ../src/utfcheck    > expected/out-utf8-surrogate.txt ;

gunzip                          < samples/sample-utf8.txt.gz | \
   ../src/utfcheck --expurgated > expected/out-utf8-expurgated.txt ;