#!/bin/sh

# topformflat normalizes structured input into a flat canonical form
# (e.g. removing indentation and layout variations) to improve the
# effectiveness of delta debugging tools.

cd debian/tests/
cp input.txt $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP

topformflat < input.txt > flat.txt
cat flat.txt
grep TRIGGER flat.txt
