=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== dos2unix-7.4.1/test/ascii.t-14- dos2unix-7.4.1/test/ascii.t:15:system("$DOS2UNIX -v -n dos.txt out_unix.txt; cmp out_unix.txt unix.txt"); dos2unix-7.4.1/test/ascii.t-16-ok( $? == 0, 'DOS to Unix conversion' ); dos2unix-7.4.1/test/ascii.t-17- dos2unix-7.4.1/test/ascii.t:18:system("$MAC2UNIX -v -n mac.txt out_unix.txt; cmp out_unix.txt unix.txt"); dos2unix-7.4.1/test/ascii.t-19-ok( $? == 0, 'DOS to Unix conversion' ); dos2unix-7.4.1/test/ascii.t-20- dos2unix-7.4.1/test/ascii.t:21:system("$UNIX2DOS -v -n unix.txt out_dos.txt; cmp out_dos.txt dos.txt"); dos2unix-7.4.1/test/ascii.t-22-ok( $? == 0, 'Unix to DOS conversion' ); dos2unix-7.4.1/test/ascii.t-23- dos2unix-7.4.1/test/ascii.t:24:system("$UNIX2MAC -v -n unix.txt out_mac.txt; cmp out_mac.txt mac.txt"); dos2unix-7.4.1/test/ascii.t-25-ok( $? == 0, 'Unix to Mac conversion' ); dos2unix-7.4.1/test/ascii.t-26- dos2unix-7.4.1/test/ascii.t:27:system("cp -f dos.txt out_unix.txt; $DOS2UNIX -v out_unix.txt; cmp out_unix.txt unix.txt"); dos2unix-7.4.1/test/ascii.t-28-ok( $? == 0, 'DOS to Unix conversion, old file mode' ); dos2unix-7.4.1/test/ascii.t-29- dos2unix-7.4.1/test/ascii.t:30:system("cp -f unix.txt out_dos.txt; $UNIX2DOS -v out_dos.txt; cmp out_dos.txt dos.txt"); dos2unix-7.4.1/test/ascii.t-31-ok( $? == 0, 'Unix to DOS conversion, old file mode' ); dos2unix-7.4.1/test/ascii.t-32- dos2unix-7.4.1/test/ascii.t:33:system("$DOS2UNIX -v -n unix.txt out_unix.txt; cmp out_unix.txt unix.txt"); dos2unix-7.4.1/test/ascii.t-34-ok( $? == 0, 'dos2unix must not change unix line breaks'); dos2unix-7.4.1/test/ascii.t:35:system("$DOS2UNIX -v -n mac.txt out_unix.txt; cmp out_unix.txt mac.txt"); dos2unix-7.4.1/test/ascii.t-36-ok( $? == 0, 'dos2unix must not change mac line breaks'); dos2unix-7.4.1/test/ascii.t:37:system("$MAC2UNIX -v -n unix.txt out_unix.txt; cmp out_unix.txt unix.txt"); dos2unix-7.4.1/test/ascii.t-38-ok( $? == 0, 'mac2unix must not change unix line breaks'); dos2unix-7.4.1/test/ascii.t:39:system("$MAC2UNIX -v -n dos.txt out_unix.txt; cmp out_unix.txt dos.txt"); dos2unix-7.4.1/test/ascii.t-40-ok( $? == 0, 'mac2unix must not change dos line breaks'); dos2unix-7.4.1/test/ascii.t:41:system("$UNIX2DOS -v -n dos.txt out_dos.txt; cmp out_dos.txt dos.txt"); dos2unix-7.4.1/test/ascii.t-42-ok( $? == 0, 'unix2dos must not change dos line breaks'); dos2unix-7.4.1/test/ascii.t:43:system("$UNIX2DOS -v -n mac.txt out_dos.txt; cmp out_dos.txt mac.txt"); dos2unix-7.4.1/test/ascii.t-44-ok( $? == 0, 'unix2dos must not change mac line breaks'); dos2unix-7.4.1/test/ascii.t:45:system("$UNIX2MAC -v -n dos.txt out_mac.txt; cmp out_mac.txt dos.txt"); dos2unix-7.4.1/test/ascii.t-46-ok( $? == 0, 'unix2mac must not change dos line breaks'); dos2unix-7.4.1/test/ascii.t:47:system("$UNIX2MAC -v -n mac.txt out_mac.txt; cmp out_mac.txt mac.txt"); dos2unix-7.4.1/test/ascii.t-48-ok( $? == 0, 'unix2mac must not change mac line breaks'); dos2unix-7.4.1/test/ascii.t-49- dos2unix-7.4.1/test/ascii.t:50:system("$DOS2UNIX -v -n mixed.txt out.txt; cmp out.txt mixedd2u.txt"); dos2unix-7.4.1/test/ascii.t-51-ok( $? == 0, 'DOS to Unix conversion mixed'); dos2unix-7.4.1/test/ascii.t:52:system("$MAC2UNIX -v -n mixed.txt out.txt; cmp out.txt mixedm2u.txt"); dos2unix-7.4.1/test/ascii.t-53-ok( $? == 0, 'DOS to Unix conversion mixed'); dos2unix-7.4.1/test/ascii.t:54:system("$UNIX2DOS -v -n mixed.txt out.txt; cmp out.txt mixedu2d.txt"); dos2unix-7.4.1/test/ascii.t-55-ok( $? == 0, 'Unix to DOS conversion mixed'); dos2unix-7.4.1/test/ascii.t:56:system("$UNIX2MAC -v -n mixed.txt out.txt; cmp out.txt mixedu2m.txt"); dos2unix-7.4.1/test/ascii.t-57-ok( $? == 0, 'Unix to Mac conversion mixed'); dos2unix-7.4.1/test/ascii.t-58- dos2unix-7.4.1/test/ascii.t:59:system("$DOS2UNIX -v -l -n dos.txt out_unix.txt; cmp out_unix.txt unix_dbl.txt"); dos2unix-7.4.1/test/ascii.t-60-ok( $? == 0, 'DOS to Unix conversion with line doubling'); dos2unix-7.4.1/test/ascii.t:61:system("$MAC2UNIX -v -l -n mac.txt out_unix.txt; cmp out_unix.txt unix_dbl.txt"); dos2unix-7.4.1/test/ascii.t-62-ok( $? == 0, 'DOS to Unix conversion with line doubling'); dos2unix-7.4.1/test/ascii.t:63:system("$UNIX2DOS -v -l -n unix.txt out_dos.txt; cmp out_dos.txt dos_dbl.txt"); dos2unix-7.4.1/test/ascii.t-64-ok( $? == 0, 'Unix to DOS conversion with line doubling'); dos2unix-7.4.1/test/ascii.t:65:system("$UNIX2MAC -v -l -n unix.txt out_mac.txt; cmp out_mac.txt mac_dbl.txt"); dos2unix-7.4.1/test/ascii.t-66-ok( $? == 0, 'Unix to Mac conversion with line doubling'); dos2unix-7.4.1/test/ascii.t-67- dos2unix-7.4.1/test/ascii.t:68:system("$DOS2UNIX -v -l -n unix.txt out_unix.txt; cmp out_unix.txt unix.txt"); dos2unix-7.4.1/test/ascii.t-69-ok( $? == 0, 'dos2unix -l must not change unix line breaks'); dos2unix-7.4.1/test/ascii.t:70:system("$DOS2UNIX -v -l -n mac.txt out_unix.txt; cmp out_unix.txt mac.txt"); dos2unix-7.4.1/test/ascii.t-71-ok( $? == 0, 'dos2unix -l must not change mac line breaks'); dos2unix-7.4.1/test/ascii.t:72:system("$MAC2UNIX -v -l -n unix.txt out_unix.txt; cmp out_unix.txt unix.txt"); dos2unix-7.4.1/test/ascii.t-73-ok( $? == 0, 'mac2unix -l must not change unix line breaks'); dos2unix-7.4.1/test/ascii.t:74:system("$MAC2UNIX -v -l -n dos.txt out_unix.txt; cmp out_unix.txt dos.txt"); dos2unix-7.4.1/test/ascii.t-75-ok( $? == 0, 'mac2unix -l must not change dos line breaks'); dos2unix-7.4.1/test/ascii.t:76:system("$UNIX2DOS -v -l -n dos.txt out_dos.txt; cmp out_dos.txt dos.txt"); dos2unix-7.4.1/test/ascii.t-77-ok( $? == 0, 'unix2dos -l must not change dos line breaks'); dos2unix-7.4.1/test/ascii.t:78:system("$UNIX2DOS -v -l -n mac.txt out_dos.txt; cmp out_dos.txt mac.txt"); dos2unix-7.4.1/test/ascii.t-79-ok( $? == 0, 'unix2dos -l must not change mac line breaks'); dos2unix-7.4.1/test/ascii.t:80:system("$UNIX2MAC -v -l -n dos.txt out_mac.txt; cmp out_mac.txt dos.txt"); dos2unix-7.4.1/test/ascii.t-81-ok( $? == 0, 'unix2mac -l must not change dos line breaks'); dos2unix-7.4.1/test/ascii.t:82:system("$UNIX2MAC -v -l -n mac.txt out_mac.txt; cmp out_mac.txt mac.txt"); dos2unix-7.4.1/test/ascii.t-83-ok( $? == 0, 'unix2mac -l must not change mac line breaks'); ############################################## dos2unix-7.4.1/test/bom.t-16- dos2unix-7.4.1/test/bom.t:17:system("$DOS2UNIX -v -n dos_bom.txt out_unix.txt; cmp out_unix.txt unix.txt"); dos2unix-7.4.1/test/bom.t-18-ok( $? == 0, 'dos2unix removes UTF-8 BOM' ); dos2unix-7.4.1/test/bom.t-19- dos2unix-7.4.1/test/bom.t:20:system("$DOS2UNIX -v -b -n dos_bom.txt out_unix.txt; cmp out_unix.txt unix_bom.txt"); dos2unix-7.4.1/test/bom.t-21-ok( $? == 0, 'dos2unix -b keeps UTF-8 BOM' ); dos2unix-7.4.1/test/bom.t-22- dos2unix-7.4.1/test/bom.t:23:system("$DOS2UNIX -v -m -n dos.txt out_unix.txt; cmp out_unix.txt unix_bom.txt"); dos2unix-7.4.1/test/bom.t-24-ok( $? == 0, 'dos2unix -m adds UTF-8 BOM' ); dos2unix-7.4.1/test/bom.t-25- dos2unix-7.4.1/test/bom.t:26:system("$UNIX2DOS -v -n unix_bom.txt out_dos.txt; cmp out_dos.txt dos_bom.txt"); dos2unix-7.4.1/test/bom.t-27-ok( $? == 0, 'unix2dos keeps UTF-8 BOM' ); dos2unix-7.4.1/test/bom.t-28- dos2unix-7.4.1/test/bom.t:29:system("$UNIX2DOS -v -r -n unix_bom.txt out_dos.txt; cmp out_dos.txt dos.txt"); dos2unix-7.4.1/test/bom.t-30-ok( $? == 0, 'unix2dos -r removes UTF-8 BOM' ); dos2unix-7.4.1/test/bom.t-31- dos2unix-7.4.1/test/bom.t:32:system("$UNIX2DOS -v -m -n unix.txt out_dos.txt; cmp out_dos.txt dos_bom.txt"); dos2unix-7.4.1/test/bom.t-33-ok( $? == 0, 'unix2dos -m adds UTF-8 BOM' ); dos2unix-7.4.1/test/bom.t-34- dos2unix-7.4.1/test/bom.t:35:system("$DOS2UNIX -v -b -n dos_gb.txt out_unix.txt; cmp out_unix.txt unix_gb.txt"); dos2unix-7.4.1/test/bom.t-36-ok( $? == 0, 'dos2unix -b keeps GB18030 BOM in none-GB18030 locale' ); dos2unix-7.4.1/test/bom.t-37- dos2unix-7.4.1/test/bom.t:38:system("$UNIX2DOS -v -n unix_gb.txt out_dos.txt; cmp out_dos.txt dos_gb.txt"); dos2unix-7.4.1/test/bom.t-39-ok( $? == 0, 'unix2dos keeps GB18030 BOM in none-GB18030 locale' ); ############################################## dos2unix-7.4.1/test/chk_loc.sh-8- dos2unix-7.4.1/test/chk_loc.sh:9:LOC=`echo $1 | sed 's/-//g'` dos2unix-7.4.1/test/chk_loc.sh-10- ############################################## dos2unix-7.4.1/test/gb18030.t-25- dos2unix-7.4.1/test/gb18030.t:26:system("$DOS2UNIX $GB_OPT -v -n dos_gb.txt out_unix.txt; cmp out_unix.txt unix.txt"); dos2unix-7.4.1/test/gb18030.t-27-ok( $? == 0, 'dos2unix removes GB18030 BOM' ); dos2unix-7.4.1/test/gb18030.t-28- dos2unix-7.4.1/test/gb18030.t:29:system("$DOS2UNIX $GB_OPT -v -b -n dos_bom.txt out_unix.txt; cmp out_unix.txt unix_bom.txt"); dos2unix-7.4.1/test/gb18030.t-30-ok( $? == 0, 'dos2unix -b keeps UTF-8 BOM in GB18030 locale' ); dos2unix-7.4.1/test/gb18030.t-31- dos2unix-7.4.1/test/gb18030.t:32:system("$DOS2UNIX $GB_OPT -v -m -n dos.txt out_unix.txt; cmp out_unix.txt unix_gb.txt"); dos2unix-7.4.1/test/gb18030.t-33-ok( $? == 0, 'dos2unix -m adds GB18030 BOM' ); dos2unix-7.4.1/test/gb18030.t-34- dos2unix-7.4.1/test/gb18030.t:35:system("$UNIX2DOS $GB_OPT -v -n unix_bom.txt out_dos.txt; cmp out_dos.txt dos_bom.txt"); dos2unix-7.4.1/test/gb18030.t-36-ok( $? == 0, 'unix2dos keeps UTF-8 BOM in GB18030 locale' ); dos2unix-7.4.1/test/gb18030.t-37- dos2unix-7.4.1/test/gb18030.t:38:system("$UNIX2DOS $GB_OPT -v -r -n unix_gb.txt out_dos.txt; cmp out_dos.txt dos.txt"); dos2unix-7.4.1/test/gb18030.t-39-ok( $? == 0, 'unix2dos -r removes GB18030 BOM' ); dos2unix-7.4.1/test/gb18030.t-40- dos2unix-7.4.1/test/gb18030.t:41:system("$UNIX2DOS $GB_OPT -v -m -n unix.txt out_dos.txt; cmp out_dos.txt dos_gb.txt"); dos2unix-7.4.1/test/gb18030.t-42-ok( $? == 0, 'unix2dos -m adds GB18030 BOM' ); dos2unix-7.4.1/test/gb18030.t-43- dos2unix-7.4.1/test/gb18030.t:44:system("$DOS2UNIX $GB_OPT -u -v -m -n dos.txt out_unix.txt; cmp out_unix.txt unix_gb.txt"); dos2unix-7.4.1/test/gb18030.t-45-ok( $? == 0, 'dos2unix with option -u adds GB18030 BOM to non UTF-16 file' ); ############################################## dos2unix-7.4.1/test/iso.t-31- dos2unix-7.4.1/test/iso.t:32:system("$DOS2UNIX -v -iso -437 -n chardos.txt out_unix.txt; cmp out_unix.txt iso_437.txt"); dos2unix-7.4.1/test/iso.t-33-ok( $? == 0, 'DOS to Unix conversion, cp437 to iso88591 with option -iso' ); dos2unix-7.4.1/test/iso.t-34- dos2unix-7.4.1/test/iso.t:35:system("$DOS2UNIX -v -437 -n chardos.txt out_unix.txt; cmp out_unix.txt iso_437.txt"); dos2unix-7.4.1/test/iso.t-36-ok( $? == 0, 'DOS to Unix conversion, cp437 to iso88591 without option -iso' ); dos2unix-7.4.1/test/iso.t-37- dos2unix-7.4.1/test/iso.t:38:system("$DOS2UNIX -v -850 -n chardos.txt out_unix.txt; cmp out_unix.txt iso_850.txt"); dos2unix-7.4.1/test/iso.t-39-ok( $? == 0, 'DOS to Unix conversion, cp850 to iso88591' ); dos2unix-7.4.1/test/iso.t-40- dos2unix-7.4.1/test/iso.t:41:system("$DOS2UNIX -v -860 -n chardos.txt out_unix.txt; cmp out_unix.txt iso_860.txt"); dos2unix-7.4.1/test/iso.t-42-ok( $? == 0, 'DOS to Unix conversion, cp860 to iso88591' ); dos2unix-7.4.1/test/iso.t-43- dos2unix-7.4.1/test/iso.t:44:system("$DOS2UNIX -v -863 -n chardos.txt out_unix.txt; cmp out_unix.txt iso_863.txt"); dos2unix-7.4.1/test/iso.t-45-ok( $? == 0, 'DOS to Unix conversion, cp863 to iso88591' ); dos2unix-7.4.1/test/iso.t-46- dos2unix-7.4.1/test/iso.t:47:system("$DOS2UNIX -v -865 -n chardos.txt out_unix.txt; cmp out_unix.txt iso_865.txt"); dos2unix-7.4.1/test/iso.t-48-ok( $? == 0, 'DOS to Unix conversion, cp865 to iso88591' ); dos2unix-7.4.1/test/iso.t-49- dos2unix-7.4.1/test/iso.t:50:system("$DOS2UNIX -v -1252 -n chardos.txt out_unix.txt; cmp out_unix.txt iso_1252.txt"); dos2unix-7.4.1/test/iso.t-51-ok( $? == 0, 'DOS to Unix conversion, cp1252 to iso88591' ); ############################################## dos2unix-7.4.1/test/iso.t-70- dos2unix-7.4.1/test/iso.t:71:system("$UNIX2DOS -v -iso -437 -n charunix.txt out_dos.txt; cmp out_dos.txt cp_437.txt"); dos2unix-7.4.1/test/iso.t-72-ok( $? == 0, 'Unix to DOS conversion, iso88591 to cp437 with option -iso' ); dos2unix-7.4.1/test/iso.t-73- dos2unix-7.4.1/test/iso.t:74:system("$UNIX2DOS -v -437 -n charunix.txt out_dos.txt; cmp out_dos.txt cp_437.txt"); dos2unix-7.4.1/test/iso.t-75-ok( $? == 0, 'Unix to DOS conversion, iso88591 to cp437 without option -iso' ); dos2unix-7.4.1/test/iso.t-76- dos2unix-7.4.1/test/iso.t:77:system("$UNIX2DOS -v -850 -n charunix.txt out_dos.txt; cmp out_dos.txt cp_850.txt"); dos2unix-7.4.1/test/iso.t-78-ok( $? == 0, 'Unix to DOS conversion, iso88591 to cp850' ); dos2unix-7.4.1/test/iso.t-79- dos2unix-7.4.1/test/iso.t:80:system("$UNIX2DOS -v -860 -n charunix.txt out_dos.txt; cmp out_dos.txt cp_860.txt"); dos2unix-7.4.1/test/iso.t-81-ok( $? == 0, 'Unix to DOS conversion, iso88591 to cp860' ); dos2unix-7.4.1/test/iso.t-82- dos2unix-7.4.1/test/iso.t:83:system("$UNIX2DOS -v -863 -n charunix.txt out_dos.txt; cmp out_dos.txt cp_863.txt"); dos2unix-7.4.1/test/iso.t-84-ok( $? == 0, 'Unix to DOS conversion, iso88591 to cp863' ); dos2unix-7.4.1/test/iso.t-85- dos2unix-7.4.1/test/iso.t:86:system("$UNIX2DOS -v -865 -n charunix.txt out_dos.txt; cmp out_dos.txt cp_865.txt"); dos2unix-7.4.1/test/iso.t-87-ok( $? == 0, 'Unix to DOS conversion, iso88591 to cp865' ); dos2unix-7.4.1/test/iso.t-88- dos2unix-7.4.1/test/iso.t:89:system("$UNIX2DOS -v -1252 -n charunix.txt out_dos.txt; cmp out_dos.txt cp_1252.txt"); dos2unix-7.4.1/test/iso.t-90-ok( $? == 0, 'Unix to DOS conversion, iso88591 to cp1252' ); ############################################## dos2unix-7.4.1/test/misc.t-16- dos2unix-7.4.1/test/misc.t:17:system("$DOS2UNIX -v -7 -n chardos.txt out_unix.txt; cmp out_unix.txt charu7.txt"); dos2unix-7.4.1/test/misc.t-18-ok( $? == 0, '7bit'); dos2unix-7.4.1/test/misc.t-19- dos2unix-7.4.1/test/misc.t:20:system("$UNIX2DOS -v -7 -n utf8unxb.txt out_dos.txt charunix.txt out_d7.txt; cmp out_dos.txt utf8dos.txt"); dos2unix-7.4.1/test/misc.t-21-ok( $? == 0, '7bit disabled for utf8 with BOM'); ############################################## dos2unix-7.4.1/test/misc.t-25- dos2unix-7.4.1/test/misc.t:26:system("$DOS2UNIX -v < dos.txt > out_unix.txt; cmp out_unix.txt unix.txt"); dos2unix-7.4.1/test/misc.t-27-ok( $? == 0, 'DOS to Unix conversion, stdin/out' ); dos2unix-7.4.1/test/misc.t-28- dos2unix-7.4.1/test/misc.t:29:system("$UNIX2DOS -v < unix.txt > out_dos.txt; cmp out_dos.txt dos.txt"); dos2unix-7.4.1/test/misc.t-30-ok( $? == 0, 'Unix to DOS conversion, stdin/out' ); dos2unix-7.4.1/test/misc.t-31- dos2unix-7.4.1/test/misc.t:32:system("$DOS2UNIX -v -n utf16len.txt out_bin.txt"); dos2unix-7.4.1/test/misc.t-33-# file out_bin.txt may not exist. ############################################## dos2unix-7.4.1/test/misc.t-40- dos2unix-7.4.1/test/misc.t:41:system("$UNIX2DOS -v -n utf16len.txt out_bin.txt"); dos2unix-7.4.1/test/misc.t-42-# file out_bin.txt may not exist. ############################################## dos2unix-7.4.1/test/misc.t-49- dos2unix-7.4.1/test/misc.t:50:system("$DOS2UNIX -v < utf16len.txt > out.txt"); dos2unix-7.4.1/test/misc.t-51-$result = ($? >> 8); ############################################## dos2unix-7.4.1/test/misc.t-53- dos2unix-7.4.1/test/misc.t:54:system("$UNIX2DOS -v < utf16len.txt > out.txt"); dos2unix-7.4.1/test/misc.t-55-$result = ($? >> 8); ############################################## dos2unix-7.4.1/test/misc.t-58-system("rm -f out_forc.txt"); dos2unix-7.4.1/test/misc.t:59:system("$DOS2UNIX -f -v -n utf16len.txt out_forc.txt"); dos2unix-7.4.1/test/misc.t-60-# file out_bin.txt may not exist. ############################################## dos2unix-7.4.1/test/misc.t-68-system("rm -f out_forc.txt"); dos2unix-7.4.1/test/misc.t:69:system("$UNIX2DOS -f -v -n utf16len.txt out_forc.txt"); dos2unix-7.4.1/test/misc.t-70-# file out_bin.txt may not exist. ############################################## dos2unix-7.4.1/test/misc.t-77- dos2unix-7.4.1/test/misc.t:78:system("$DOS2UNIX -v -f -n dos_bin.txt out_unix.txt; cmp out_unix.txt unix_bin.txt"); dos2unix-7.4.1/test/misc.t-79-ok( $? == 0, 'Dos2unix, force ASCII file with binary symbols' ); dos2unix-7.4.1/test/misc.t-80- dos2unix-7.4.1/test/misc.t:81:system("$UNIX2DOS -v -f -n unix_bin.txt out_dos.txt; cmp out_dos.txt dos_bin.txt"); dos2unix-7.4.1/test/misc.t-82-ok( $? == 0, 'Unix2dos, force ASCII file with binary symbols' ); dos2unix-7.4.1/test/misc.t-83- dos2unix-7.4.1/test/misc.t:84:system("$DOS2UNIX -i dos.txt unix.txt mac.txt mixed.txt utf16len.txt utf8unix.txt utf8dos.txt gb18030.txt > outinfo.txt"); dos2unix-7.4.1/test/misc.t:85:system("$DOS2UNIX outinfo.txt; diff info.txt outinfo.txt"); dos2unix-7.4.1/test/misc.t-86-ok( $? == 0, 'Option -i, --info'); dos2unix-7.4.1/test/misc.t-87- dos2unix-7.4.1/test/misc.t:88:system("$DOS2UNIX -ic0 dos*.txt | xargs -0 ls 2> err.txt > outinfo0.txt"); dos2unix-7.4.1/test/misc.t:89:system("$DOS2UNIX outinfo0.txt; diff info0.txt outinfo0.txt"); dos2unix-7.4.1/test/misc.t-90-ok( $? == 0, 'Option -ic0'); ############################################## dos2unix-7.4.1/test/symlink.t-19- dos2unix-7.4.1/test/symlink.t:20:system("$DOS2UNIX -v in_link.txt; cmp out_link.txt dos.txt"); dos2unix-7.4.1/test/symlink.t-21-ok( $? == 0, 'dos2unix, skip symlink, check symlink target.' ); ############################################## dos2unix-7.4.1/test/symlink.t-34- dos2unix-7.4.1/test/symlink.t:35:system("$DOS2UNIX -v -R in_link.txt; cmp out_link.txt dos.txt"); dos2unix-7.4.1/test/symlink.t-36-ok( $? == 0, 'dos2unix, replace symlink, check symlink target.' ); ############################################## dos2unix-7.4.1/test/symlink.t-55- dos2unix-7.4.1/test/symlink.t:56:system("$DOS2UNIX -v -F in_link.txt; cmp out_link.txt unix.txt"); dos2unix-7.4.1/test/symlink.t-57-ok( $? == 0, 'dos2unix, follow symlink, check symlink target.' ); ############################################## dos2unix-7.4.1/test/symlink.t-73- dos2unix-7.4.1/test/symlink.t:74:system("$UNIX2DOS -v in_link.txt; cmp out_link.txt unix.txt"); dos2unix-7.4.1/test/symlink.t-75-ok( $? == 0, 'unix2dos, skip symlink, check symlink target.' ); ############################################## dos2unix-7.4.1/test/symlink.t-88- dos2unix-7.4.1/test/symlink.t:89:system("$UNIX2DOS -v -R in_link.txt; cmp out_link.txt unix.txt"); dos2unix-7.4.1/test/symlink.t-90-ok( $? == 0, 'unix2dos, replace symlink, check symlink target.' ); ############################################## dos2unix-7.4.1/test/symlink.t-109- dos2unix-7.4.1/test/symlink.t:110:system("$UNIX2DOS -v -F in_link.txt; cmp out_link.txt dos.txt"); dos2unix-7.4.1/test/symlink.t-111-ok( $? == 0, 'unix2dos, follow symlink, check symlink target.' ); ############################################## dos2unix-7.4.1/test/utf16.t-30- dos2unix-7.4.1/test/utf16.t:31:system("$DOS2UNIX -v -n utf16le.txt out_unix.txt; cmp out_unix.txt utf8unix.txt"); dos2unix-7.4.1/test/utf16.t-32-ok( $? == 0, 'DOS UTF-16LE to Unix UTF-8' ); dos2unix-7.4.1/test/utf16.t:33:system("$DOS2UNIX -v -n utf16be.txt out_unix.txt; cmp out_unix.txt utf8unix.txt"); dos2unix-7.4.1/test/utf16.t-34-ok( $? == 0, 'DOS UTF-16BE to Unix UTF-8' ); dos2unix-7.4.1/test/utf16.t:35:system("$UNIX2DOS -v -n utf16le.txt out_dos.txt; cmp out_dos.txt utf8dos.txt"); dos2unix-7.4.1/test/utf16.t-36-ok( $? == 0, 'DOS UTF-16LE to DOS UTF-8' ); dos2unix-7.4.1/test/utf16.t:37:system("$UNIX2DOS -v -n utf16be.txt out_dos.txt; cmp out_dos.txt utf8dos.txt"); dos2unix-7.4.1/test/utf16.t-38-ok( $? == 0, 'DOS UTF-16BE to DOS UTF-8' ); dos2unix-7.4.1/test/utf16.t-39- dos2unix-7.4.1/test/utf16.t:40:system("$DOS2UNIX -v -ul -n utf16len.txt out_unix.txt; cmp out_unix.txt utf8unix.txt"); dos2unix-7.4.1/test/utf16.t-41-ok( $? == 0, 'UTF-16LE without BOM to UTF-8' ); dos2unix-7.4.1/test/utf16.t:42:system("$DOS2UNIX -v -ub -n utf16ben.txt out_unix.txt; cmp out_unix.txt utf8unix.txt"); dos2unix-7.4.1/test/utf16.t-43-ok( $? == 0, 'UTF-16BE without BOM to UTF-8' ); dos2unix-7.4.1/test/utf16.t:44:system("$DOS2UNIX -v -ul -n utf16be.txt out_unix.txt; cmp out_unix.txt utf8unix.txt"); dos2unix-7.4.1/test/utf16.t-45-ok( $? == 0, 'BOM overrides -ul' ); dos2unix-7.4.1/test/utf16.t:46:system("$DOS2UNIX -v -ub -n utf16le.txt out_unix.txt; cmp out_unix.txt utf8unix.txt"); dos2unix-7.4.1/test/utf16.t-47-ok( $? == 0, 'BOM overrides -ub' ); dos2unix-7.4.1/test/utf16.t-48- dos2unix-7.4.1/test/utf16.t:49:system("$DOS2UNIX -v -b -n utf16le.txt out_unix.txt; cmp out_unix.txt utf8unxb.txt"); dos2unix-7.4.1/test/utf16.t-50-ok( $? == 0, 'DOS UTF-16LE to Unix UTF-8, keep BOM' ); dos2unix-7.4.1/test/utf16.t:51:system("$UNIX2DOS -v -r -n utf16le.txt out_dos.txt; cmp out_dos.txt utf8dosn.txt"); dos2unix-7.4.1/test/utf16.t-52-ok( $? == 0, 'DOS UTF-16LE to DOS UTF-8, remove BOM' ); dos2unix-7.4.1/test/utf16.t-53- dos2unix-7.4.1/test/utf16.t:54:system("$MAC2UNIX -v -n utf16le.txt out_unix.txt; cmp out_unix.txt utf8dosn.txt"); dos2unix-7.4.1/test/utf16.t-55-ok( $? == 0, 'mac2unix does not change utf16 DOS line breaks.' ); dos2unix-7.4.1/test/utf16.t:56:system("$UNIX2MAC -v -n utf16le.txt out_mac.txt; cmp out_mac.txt utf8dos.txt"); dos2unix-7.4.1/test/utf16.t-57-ok( $? == 0, 'unix2mac does not change utf16 DOS line breaks.' ); dos2unix-7.4.1/test/utf16.t-58- dos2unix-7.4.1/test/utf16.t:59:system("$UNIX2DOS -v -u -n utf16le.txt out_dos.txt; cmp out_dos.txt utf16le.txt"); dos2unix-7.4.1/test/utf16.t-60-ok( $? == 0, 'DOS UTF-16LE to DOS UTF-16' ); dos2unix-7.4.1/test/utf16.t:61:system("$UNIX2DOS -v -u -n utf16be.txt out_dos.txt; cmp out_dos.txt utf16be.txt"); dos2unix-7.4.1/test/utf16.t-62-ok( $? == 0, 'DOS UTF-16BE to DOS UTF-16' ); dos2unix-7.4.1/test/utf16.t:63:system("$DOS2UNIX -v -b -u -n utf16.txt out_unix.txt; cmp out_unix.txt utf16u.txt"); dos2unix-7.4.1/test/utf16.t-64-ok( $? == 0, 'DOS UTF-16LE to Unix UTF-16' ); dos2unix-7.4.1/test/utf16.t:65:system("$MAC2UNIX -v -b -u -n utf16m.txt out_unix.txt; cmp out_unix.txt utf16u.txt"); dos2unix-7.4.1/test/utf16.t-66-ok( $? == 0, 'Mac UTF-16LE to Unix UTF-16' ); dos2unix-7.4.1/test/utf16.t:67:system("$UNIX2DOS -v -b -u -n utf16u.txt out_dos.txt; cmp out_dos.txt utf16.txt"); dos2unix-7.4.1/test/utf16.t-68-ok( $? == 0, 'Unix UTF-16 to DOS UTF-16LE' ); dos2unix-7.4.1/test/utf16.t:69:system("$UNIX2MAC -v -b -u -n utf16u.txt out_mac.txt; cmp out_mac.txt utf16m.txt"); dos2unix-7.4.1/test/utf16.t-70-ok( $? == 0, 'Unix UTF-16 to Mac UTF-16LE' ); dos2unix-7.4.1/test/utf16.t-71- dos2unix-7.4.1/test/utf16.t:72:system("$DOS2UNIX -v -f -n utf16bin.txt out_unix.txt; cmp out_unix.txt unix_bin.txt"); dos2unix-7.4.1/test/utf16.t-73-ok( $? == 0, 'Dos2unix, force UTF-16 file with binary symbols' ); dos2unix-7.4.1/test/utf16.t:74:system("$UNIX2DOS -v -f -r -n utf16bin.txt out_dos.txt; cmp out_dos.txt dos_bin.txt"); dos2unix-7.4.1/test/utf16.t-75-ok( $? == 0, 'Unix2dos, force UTF-16 file with binary symbols' ); dos2unix-7.4.1/test/utf16.t-76- dos2unix-7.4.1/test/utf16.t:77:system("$DOS2UNIX -v -n invalhig.txt out_unix.txt"); dos2unix-7.4.1/test/utf16.t-78-$result = ($? >> 8); dos2unix-7.4.1/test/utf16.t-79-ok( $result == 1, 'Dos2unix, invalid surrogate pair, missing low surrogate' ); dos2unix-7.4.1/test/utf16.t:80:system("$DOS2UNIX -v -n invallow.txt out_unix.txt"); dos2unix-7.4.1/test/utf16.t-81-$result = ($? >> 8); ############################################## dos2unix-7.4.1/test/utf16.t-83- dos2unix-7.4.1/test/utf16.t:84:system("cat utf16le.txt | $DOS2UNIX -v > out_unix.txt; cmp out_unix.txt utf8unix.txt"); dos2unix-7.4.1/test/utf16.t-85-ok( $? == 0, 'UTF-16LE with BOM to UTF-8, stdin/out' ); dos2unix-7.4.1/test/utf16.t-86- dos2unix-7.4.1/test/utf16.t:87:system("cat utf16u.txt | $UNIX2DOS -v -u > out_dos.txt; cmp out_dos.txt utf16.txt"); dos2unix-7.4.1/test/utf16.t-88-ok( $? == 0, 'UTF-16LE with BOM to UTF-16LE, stdin/out' ); dos2unix-7.4.1/test/utf16.t-89- dos2unix-7.4.1/test/utf16.t:90:system("$UNIX2DOS -v -u -m -n unix.txt out_dos.txt; cmp out_dos.txt dos_bom.txt"); dos2unix-7.4.1/test/utf16.t-91-ok( $? == 0, 'Option -u must not disable -m on ASCII input'); dos2unix-7.4.1/test/utf16.t-92- dos2unix-7.4.1/test/utf16.t:93:system("$DOS2UNIX -ul -i utf16le.txt utf16len.txt utf8unxb.txt gb18030.txt > outinfo.txt"); dos2unix-7.4.1/test/utf16.t:94:system("$DOS2UNIX outinfo.txt; diff info_ul.txt outinfo.txt"); dos2unix-7.4.1/test/utf16.t-95-ok( $? == 0, 'Option -i, --info combined with -ul'); dos2unix-7.4.1/test/utf16.t-96- dos2unix-7.4.1/test/utf16.t:97:system("$DOS2UNIX -ub -i utf16be.txt utf16ben.txt utf8unxb.txt gb18030.txt > outinfo.txt"); dos2unix-7.4.1/test/utf16.t:98:system("$DOS2UNIX outinfo.txt; diff info_ub.txt outinfo.txt"); dos2unix-7.4.1/test/utf16.t-99-ok( $? == 0, 'Option -i, --info combined with -ub'); dos2unix-7.4.1/test/utf16.t-100- dos2unix-7.4.1/test/utf16.t:101:system("$DOS2UNIX -v -7 -n utf16le.txt out_unix.txt chardos.txt out_u7.txt; cmp out_unix.txt utf8unix.txt"); dos2unix-7.4.1/test/utf16.t-102-ok( $? == 0, '7bit disabled for utf16'); ############################################## dos2unix-7.4.1/test/utf16.t-106- dos2unix-7.4.1/test/utf16.t:107:system("$DOS2UNIX -i dos.txt unix.txt mac.txt mixed.txt utf16le.txt utf16be.txt utf16len.txt utf8unix.txt utf8dos.txt gb18030.txt > outinfo.txt"); dos2unix-7.4.1/test/utf16.t:108:system("$DOS2UNIX outinfo.txt; diff info_ucs.txt outinfo.txt"); dos2unix-7.4.1/test/utf16.t-109-ok( $? == 0, 'Option -i, --info'); ############################################## dos2unix-7.4.1/test/utf16.t-112- dos2unix-7.4.1/test/utf16.t:113:system("$DOS2UNIX -v -n utf16le.txt out_unix.txt"); dos2unix-7.4.1/test/utf16.t-114-$result = ($? >> 8); ############################################## dos2unix-7.4.1/test/utf16.t-118-ok( $result == $expected, 'DOS UTF-16LE to Unix in C locale, conversion error.' ); dos2unix-7.4.1/test/utf16.t:119:system("$DOS2UNIX -v -n utf16.txt out_unix.txt"); dos2unix-7.4.1/test/utf16.t-120-ok( $? == 0, 'DOS UTF-16LE to Unix in C locale, conversion OK' ); ############################################## dos2unix-7.4.1/test/utf16_gb.t-25- dos2unix-7.4.1/test/utf16_gb.t:26:system("$DOS2UNIX $GB_OPT -v -n utf16le.txt out_unix.txt; cmp out_unix.txt gb18030u.txt"); dos2unix-7.4.1/test/utf16_gb.t-27-ok( $? == 0, 'dos2unix convert DOS UTF-16LE to Unix GB18030' ); dos2unix-7.4.1/test/utf16_gb.t-28- dos2unix-7.4.1/test/utf16_gb.t:29:system("$DOS2UNIX $GB_OPT -b -v -n utf16le.txt out_unix.txt; cmp out_unix.txt gb18030b.txt"); dos2unix-7.4.1/test/utf16_gb.t-30-ok( $? == 0, 'dos2unix convert DOS UTF-16LE to Unix GB18030, keep BOM' ); dos2unix-7.4.1/test/utf16_gb.t-31- dos2unix-7.4.1/test/utf16_gb.t:32:system("$UNIX2DOS $GB_OPT -v -n utf16be.txt out_dos.txt; cmp out_dos.txt gb18030.txt"); dos2unix-7.4.1/test/utf16_gb.t-33-ok( $? == 0, 'unix2dos convert DOS UTF-16BE to DOS GB18030, keep BOM' );