#! /usr/bin/gawk -f # Last edited on 2004-01-18 22:55:49 by stolfi # Preprocess the Quran in JSAR encoding BEGIN { abort = -1; # Does nothing for now } (abort >= 0) { exit abort; } // { print; next; } END { if (abort >= 0) { exit abort; } } function arg_error(msg) { printf "%s\n", msg > "/dev/stderr"; printf "usage: %s\n", usage > "/dev/stderr"; abort = 1; exit 1; } function data_error(msg) { printf "line %d: %s\n", FNR, msg > "/dev/stderr"; abort = 1; exit 1; }