http://crl.nmsu.edu/say/tools/uniuygh.pl
The command line is: uniuygh.pl [-a|-p] [-o outfile] [file1 file2 ...]
| -a | Convert from Arabic block text to Presentation Form block text. |
| -p | Convert from Presentation Form block text to Arabic block text. |
| -o outfile | Use the named output file instead of STDOUT. |
| file1.... | If no filenames are provided for conversion, input is expected from STDIN. All files are expected to be UTF-8 encoded. |