Sha256: ebb33545773435f8040b1f4b6a7e69e2b00bf17d415e59f3e1ba8fe85e182d67

Contents?: true

Size: 541 Bytes

Versions: 5

Compression:

Stored size: 541 Bytes

Contents

@ECHO OFF
REM Complete check of a stateless encoding.
REM Usage: check-stateless.bat SRCDIR CHARSET

.\table-from %2 > tmp-%2.TXT
.\table-to %2 | sort > tmp-%2.INVERSE.TXT
fc %1\%2.TXT tmp-%2.TXT

if not exist %1\%2.IRREVERSIBLE.TXT goto ELSE_1
  copy /a %1\%2.TXT /a + %1\%2.IRREVERSIBLE.TXT /a tmp
  sort < tmp | uniq-u > tmp-orig-%2.INVERSE.TXT
  fc tmp-orig-%2.INVERSE.TXT tmp-%2.INVERSE.TXT
  del tmp
  del tmp-orig-%2.INVERSE.TXT
  goto ENDIF_1
:ELSE_1
  fc %1\%2.TXT tmp-%2.INVERSE.TXT
:ENDIF_1

del tmp-%2.TXT
del tmp-%2.INVERSE.TXT

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
controller_scaffolding-1.0.3 test/dummy/libiconv-1.13.1/tests/check-stateless.bat
controller_scaffolding-1.0.2 test/dummy/libiconv-1.13.1/tests/check-stateless.bat
controller_scaffolding-1.0.1 test/dummy/libiconv-1.13.1/tests/check-stateless.bat
controller_scaffolding-1.0.0 test/dummy/libiconv-1.13.1/tests/check-stateless.bat
controller_scaffolding-0.1.5 test/dummy/libiconv-1.13.1/tests/check-stateless.bat