├── CHANGELOG.md ├── LICENSE ├── Makefile ├── Makefile.in ├── README.md ├── configure ├── getline.c ├── onefile └── wak.c ├── scripts ├── make_mono.awk └── make_toybox_awk.awk ├── src ├── common.c ├── common.h ├── compile.c ├── lib.c ├── main.c ├── run.c └── scan.c ├── test ├── COPYING └── gawktests │ ├── addcomma.awk │ ├── addcomma.in │ ├── addcomma.ok │ ├── anchgsub.awk │ ├── anchgsub.in │ ├── anchgsub.ok │ ├── anchor.awk │ ├── anchor.in │ ├── anchor.ok │ ├── arrayind1.awk │ ├── arrayind1.in │ ├── arrayind1.ok │ ├── arrayind3.awk │ ├── arrayind3.ok │ ├── arrayprm2.awk │ ├── arrayprm2.ok │ ├── arrayprm3.awk │ ├── arrayprm3.ok │ ├── arrayref.awk │ ├── arrayref.ok │ ├── arrymem1.awk │ ├── arrymem1.ok │ ├── arynasty.awk │ ├── arynasty.ok │ ├── aryprm8.awk │ ├── aryprm8.ok │ ├── aryprm9.awk │ ├── aryprm9.ok │ ├── arysubnm.awk │ ├── arysubnm.ok │ ├── aryunasgn.awk │ ├── aryunasgn.ok │ ├── asgext.awk │ ├── asgext.in │ ├── asgext.ok │ ├── assignnumfield.awk │ ├── assignnumfield.in │ ├── assignnumfield.ok │ ├── assignnumfield2.awk │ ├── assignnumfield2.ok │ ├── backgsub.awk │ ├── backgsub.in │ ├── backgsub.ok │ ├── backsmalls2.awk │ ├── backsmalls2.ok │ ├── clobber.awk │ ├── clobber.ok │ ├── closebad.awk │ ├── closebad.ok │ ├── compare2.awk │ ├── compare2.ok │ ├── concat1.awk │ ├── concat1.in │ ├── concat1.ok │ ├── concat2.awk │ ├── concat2.ok │ ├── concat3.awk │ ├── concat3.ok │ ├── concat4.awk │ ├── concat4.in │ ├── concat4.ok │ ├── concat5.awk │ ├── concat5.ok │ ├── convfmt.awk │ ├── convfmt.ok │ ├── crlf.awk │ ├── crlf.ok │ ├── delarprm.awk │ ├── delarprm.ok │ ├── dfacheck2.awk │ ├── dfacheck2.in │ ├── dfacheck2.ok │ ├── dfastress.awk │ ├── dfastress.ok │ ├── divzero2.awk │ ├── divzero2.ok │ ├── dynlj.awk │ ├── dynlj.ok │ ├── elemnew1.awk │ ├── elemnew1.ok │ ├── elemnew2.awk │ ├── elemnew2.ok │ ├── eofsplit.awk │ ├── eofsplit.ok │ ├── escapebrace.awk │ ├── escapebrace.in │ ├── escapebrace.ok │ ├── exit2.awk │ ├── exit2.ok │ ├── exitval2.awk │ ├── exitval2.ok │ ├── fieldassign.awk │ ├── fieldassign.in │ ├── fieldassign.ok │ ├── fldchg.awk │ ├── fldchg.in │ ├── fldchg.ok │ ├── fldchgnf.awk │ ├── fldchgnf.in │ ├── fldchgnf.ok │ ├── fldterm.awk │ ├── fldterm.in │ ├── fldterm.ok │ ├── fmttest.awk │ ├── fmttest.ok │ ├── fnarydel.awk │ ├── fnarydel.ok │ ├── fnparydl.awk │ ├── fnparydl.ok │ ├── fordel.awk │ ├── fordel.ok │ ├── forref.awk │ ├── forref.ok │ ├── forsimp.awk │ ├── forsimp.ok │ ├── fpat8.awk │ ├── fpat8.in │ ├── fpat8.ok │ ├── fsbs.awk │ ├── fsbs.in │ ├── fsbs.ok │ ├── fscaret.awk │ ├── fscaret.in │ ├── fscaret.ok │ ├── fsfwfs.awk │ ├── fsfwfs.in │ ├── fsfwfs.ok │ ├── fsrs.awk │ ├── fsrs.in │ ├── fsrs.ok │ ├── fstabplus.awk │ ├── fstabplus.in │ ├── fstabplus.ok │ ├── funlen.awk │ ├── funlen.in │ ├── funlen.ok │ ├── funsemnl.awk │ ├── funsemnl.ok │ ├── gensub3.awk │ ├── gensub3.in │ ├── gensub3.ok │ ├── getline.awk │ ├── getline.in │ ├── getline.ok │ ├── getline3.awk │ ├── getline3.ok │ ├── getline4.awk │ ├── getline4.in │ ├── getline4.ok │ ├── getline5.awk │ ├── getline5.ok │ ├── getlnbuf.awk │ ├── getlnbuf.in │ ├── getlnbuf.ok │ ├── getlnhd.awk │ ├── getlnhd.ok │ ├── getnr2tb.awk │ ├── getnr2tb.in │ ├── getnr2tb.ok │ ├── getnr2tm.awk │ ├── getnr2tm.in │ ├── getnr2tm.ok │ ├── gsubtest.awk │ ├── gsubtest.ok │ ├── gsubtst2.awk │ ├── gsubtst2.ok │ ├── gsubtst3.awk │ ├── gsubtst3.in │ ├── gsubtst3.ok │ ├── gsubtst4.awk │ ├── gsubtst4.ok │ ├── gsubtst8.awk │ ├── gsubtst8.in │ ├── gsubtst8.ok │ ├── hex.awk │ ├── hex.ok │ ├── igncdym.awk │ ├── igncdym.in │ ├── igncdym.ok │ ├── ignrcas2.awk │ ├── ignrcas2.ok │ ├── inpref.awk │ ├── inpref.in │ ├── inpref.ok │ ├── inputred.awk │ ├── inputred.ok │ ├── intarray.awk │ ├── intarray.ok │ ├── intest.awk │ ├── intest.ok │ ├── intprec.awk │ ├── intprec.ok │ ├── iobug1.awk │ ├── iobug1.ok │ ├── lc_num1.awk │ ├── lc_num1.ok │ ├── leaddig.awk │ ├── leaddig.ok │ ├── leadnl.awk │ ├── leadnl.in │ ├── leadnl.ok │ ├── longsub.awk │ ├── longsub.in │ ├── longsub.ok │ ├── longwrds.awk │ ├── longwrds.in │ ├── longwrds.ok │ ├── manglprm.awk │ ├── manglprm.in │ ├── manglprm.ok │ ├── match4.awk │ ├── match4.ok │ ├── math.awk │ ├── math.ok │ ├── mbprintf2.awk │ ├── mbprintf2.ok │ ├── mbprintf3.awk │ ├── mbprintf3.in │ ├── mbprintf3.ok │ ├── mdim3.awk │ ├── mdim3.ok │ ├── mdim4.awk │ ├── mdim4.in │ ├── mdim4.ok │ ├── mdim5.awk │ ├── mdim5.ok │ ├── mdim7.awk │ ├── mdim7.ok │ ├── mdim8.awk │ ├── mdim8.in │ ├── mdim8.ok │ ├── membug1.awk │ ├── membug1.in │ ├── membug1.ok │ ├── minusstr.awk │ ├── minusstr.ok │ ├── mmap8k.awk │ ├── mmap8k.in │ ├── mmap8k.ok │ ├── mpfrfield.awk │ ├── mpfrfield.in │ ├── mpfrfield.ok │ ├── mpfrieee.awk │ ├── mpfrieee.ok │ ├── mpfrnegzero.awk │ ├── mpfrnegzero.ok │ ├── mpfrnegzero2.awk │ ├── mpfrnegzero2.ok │ ├── mpfrnonum.awk │ ├── mpfrnonum.in │ ├── mpfrnonum.ok │ ├── mpfrrem.awk │ ├── mpfrrem.ok │ ├── mtchi18n.awk │ ├── mtchi18n.in │ ├── mtchi18n.ok │ ├── nasty.awk │ ├── nasty.ok │ ├── nasty2.awk │ ├── nasty2.ok │ ├── negexp.awk │ ├── negexp.ok │ ├── negrange.awk │ ├── negrange.ok │ ├── nested.awk │ ├── nested.in │ ├── nested.ok │ ├── nfldstr.awk │ ├── nfldstr.in │ ├── nfldstr.ok │ ├── nfloop.awk │ ├── nfloop.ok │ ├── nfset.awk │ ├── nfset.in │ ├── nfset.ok │ ├── nlfldsep.awk │ ├── nlfldsep.in │ ├── nlfldsep.ok │ ├── nlinstr.awk │ ├── nlinstr.in │ ├── nlinstr.ok │ ├── nlstrina.awk │ ├── nlstrina.ok │ ├── noloop1.awk │ ├── noloop1.in │ ├── noloop1.ok │ ├── noloop2.awk │ ├── noloop2.in │ ├── noloop2.ok │ ├── nondec.awk │ ├── nondec.ok │ ├── nulrsend.awk │ ├── nulrsend.in │ ├── nulrsend.ok │ ├── numindex.awk │ ├── numindex.in │ ├── numindex.ok │ ├── numstr1.awk │ ├── numstr1.ok │ ├── numsubstr.awk │ ├── numsubstr.in │ ├── numsubstr.ok │ ├── octsub.awk │ ├── octsub.ok │ ├── ofmt.awk │ ├── ofmt.in │ ├── ofmt.ok │ ├── ofmta.awk │ ├── ofmta.ok │ ├── ofmtbig.awk │ ├── ofmtbig.in │ ├── ofmtbig.ok │ ├── ofmtfidl.awk │ ├── ofmtfidl.in │ ├── ofmtfidl.ok │ ├── ofmts.awk │ ├── ofmts.in │ ├── ofmts.ok │ ├── ofmtstrnum.awk │ ├── ofmtstrnum.ok │ ├── ofs1.awk │ ├── ofs1.in │ ├── ofs1.ok │ ├── onlynl.awk │ ├── onlynl.in │ ├── onlynl.ok │ ├── opasnidx.awk │ ├── opasnidx.ok │ ├── opasnslf.awk │ ├── opasnslf.ok │ ├── paramtyp.awk │ ├── paramtyp.ok │ ├── paramuninitglobal.awk │ ├── paramuninitglobal.ok │ ├── pcntplus.awk │ ├── pcntplus.ok │ ├── pipeio1.awk │ ├── pipeio1.ok │ ├── posix.awk │ ├── posix.in │ ├── posix.ok │ ├── prdupval.awk │ ├── prdupval.in │ ├── prdupval.ok │ ├── prec.awk │ ├── prec.ok │ ├── printf1.awk │ ├── printf1.ok │ ├── printfbad3.awk │ ├── printfbad3.ok │ ├── printfchar.awk │ ├── printfchar.ok │ ├── prmreuse.awk │ ├── prmreuse.ok │ ├── profile12.awk │ ├── profile12.in │ ├── profile12.ok │ ├── prt1eval.awk │ ├── prt1eval.ok │ ├── prtoeval.awk │ ├── prtoeval.ok │ ├── range1.awk │ ├── range1.in │ ├── range1.ok │ ├── rebuf.awk │ ├── rebuf.in │ ├── rebuf.ok │ ├── regeq.awk │ ├── regeq.in │ ├── regeq.ok │ ├── regexprange.awk │ ├── regexprange.ok │ ├── reginttrad.awk │ ├── reginttrad.ok │ ├── reint.awk │ ├── reint.in │ ├── reint.ok │ ├── reint2.awk │ ├── reint2.in │ ├── reint2.ok │ ├── reparse.awk │ ├── reparse.in │ ├── reparse.ok │ ├── resplit.awk │ ├── resplit.in │ ├── resplit.ok │ ├── rri1.awk │ ├── rri1.in │ ├── rri1.ok │ ├── rs.awk │ ├── rs.in │ ├── rs.ok │ ├── rsnul1nl.awk │ ├── rsnul1nl.in │ ├── rsnul1nl.ok │ ├── rsnullre.awk │ ├── rsnullre.in │ ├── rsnullre.ok │ ├── rsstart1.awk │ ├── rsstart1.in │ ├── rsstart1.ok │ ├── rstest1.awk │ ├── rstest1.ok │ ├── rstest2.awk │ ├── rstest2.ok │ ├── rstest3.awk │ ├── rstest3.ok │ ├── rstest4.awk │ ├── rstest4.ok │ ├── rstest5.awk │ ├── rstest5.ok │ ├── rstest6.awk │ ├── rstest6.in │ ├── rstest6.ok │ ├── rswhite.awk │ ├── rswhite.in │ ├── rswhite.ok │ ├── setrec0.awk │ ├── setrec0.in │ ├── setrec0.ok │ ├── setrec1.awk │ ├── setrec1.ok │ ├── shadowbuiltin.awk │ ├── shadowbuiltin.ok │ ├── sigpipe1.awk │ ├── sigpipe1.ok │ ├── sortfor2.awk │ ├── sortfor2.in │ ├── sortfor2.ok │ ├── spacere.awk │ ├── spacere.ok │ ├── splitargv.awk │ ├── splitargv.in │ ├── splitargv.ok │ ├── splitarr.awk │ ├── splitarr.ok │ ├── splitdef.awk │ ├── splitdef.ok │ ├── splitvar.awk │ ├── splitvar.in │ ├── splitvar.ok │ ├── splitwht.awk │ ├── splitwht.ok │ ├── sprintfc.awk │ ├── sprintfc.in │ ├── sprintfc.ok │ ├── strcat1.awk │ ├── strcat1.ok │ ├── strfieldnum.awk │ ├── strfieldnum.in │ ├── strfieldnum.ok │ ├── strnum1.awk │ ├── strnum1.ok │ ├── strnum2.awk │ ├── strnum2.ok │ ├── strsubscript.awk │ ├── strsubscript.ok │ ├── stupid2.awk │ ├── stupid2.ok │ ├── subamp.awk │ ├── subamp.in │ ├── subamp.ok │ ├── subi18n.awk │ ├── subi18n.ok │ ├── subsepnm.awk │ ├── subsepnm.ok │ ├── subslash.awk │ ├── subslash.ok │ ├── substr.awk │ ├── substr.ok │ ├── swaplns.awk │ ├── swaplns.in │ ├── swaplns.ok │ ├── tailrecurse.awk │ ├── tailrecurse.ok │ ├── tradanch.awk │ ├── tradanch.in │ ├── tradanch.ok │ ├── tweakfld.awk │ ├── tweakfld.in │ ├── tweakfld.ok │ ├── unicode1.awk │ ├── unicode1.ok │ ├── uparrfs.awk │ ├── uparrfs.in │ ├── uparrfs.ok │ ├── uplus.awk │ ├── uplus.ok │ ├── wideidx.awk │ ├── wideidx.in │ ├── wideidx.ok │ ├── wideidx2.awk │ ├── wideidx2.ok │ ├── widesub.awk │ ├── widesub.ok │ ├── widesub2.awk │ ├── widesub2.ok │ ├── widesub3.awk │ ├── widesub3.in │ ├── widesub3.ok │ ├── wjposer1.awk │ ├── wjposer1.in │ ├── wjposer1.ok │ ├── zero2.awk │ ├── zero2.ok │ ├── zeroe0.awk │ ├── zeroe0.ok │ ├── zeroflag.awk │ └── zeroflag.ok ├── toybox └── awk.c ├── toybox_awk_parts ├── awk1.c └── awk2.c ├── toybox_awk_test ├── awk.test └── awk.test_orig ├── wak.man └── wak.pdf /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/Makefile -------------------------------------------------------------------------------- /Makefile.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/Makefile.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/README.md -------------------------------------------------------------------------------- /configure: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/configure -------------------------------------------------------------------------------- /getline.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/getline.c -------------------------------------------------------------------------------- /onefile/wak.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/onefile/wak.c -------------------------------------------------------------------------------- /scripts/make_mono.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/scripts/make_mono.awk -------------------------------------------------------------------------------- /scripts/make_toybox_awk.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/scripts/make_toybox_awk.awk -------------------------------------------------------------------------------- /src/common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/src/common.c -------------------------------------------------------------------------------- /src/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/src/common.h -------------------------------------------------------------------------------- /src/compile.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/src/compile.c -------------------------------------------------------------------------------- /src/lib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/src/lib.c -------------------------------------------------------------------------------- /src/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/src/main.c -------------------------------------------------------------------------------- /src/run.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/src/run.c -------------------------------------------------------------------------------- /src/scan.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/src/scan.c -------------------------------------------------------------------------------- /test/COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/COPYING -------------------------------------------------------------------------------- /test/gawktests/addcomma.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/addcomma.awk -------------------------------------------------------------------------------- /test/gawktests/addcomma.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/addcomma.in -------------------------------------------------------------------------------- /test/gawktests/addcomma.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/addcomma.ok -------------------------------------------------------------------------------- /test/gawktests/anchgsub.awk: -------------------------------------------------------------------------------- 1 | { gsub(/^[ ]*/, "", $0) ; print } 2 | -------------------------------------------------------------------------------- /test/gawktests/anchgsub.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/anchgsub.in -------------------------------------------------------------------------------- /test/gawktests/anchgsub.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/anchgsub.ok -------------------------------------------------------------------------------- /test/gawktests/anchor.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/anchor.awk -------------------------------------------------------------------------------- /test/gawktests/anchor.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/anchor.in -------------------------------------------------------------------------------- /test/gawktests/anchor.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/anchor.ok -------------------------------------------------------------------------------- /test/gawktests/arrayind1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/arrayind1.awk -------------------------------------------------------------------------------- /test/gawktests/arrayind1.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/arrayind1.in -------------------------------------------------------------------------------- /test/gawktests/arrayind1.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/arrayind1.ok -------------------------------------------------------------------------------- /test/gawktests/arrayind3.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/arrayind3.awk -------------------------------------------------------------------------------- /test/gawktests/arrayind3.ok: -------------------------------------------------------------------------------- 1 | 2 | 1 3 | -------------------------------------------------------------------------------- /test/gawktests/arrayprm2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/arrayprm2.awk -------------------------------------------------------------------------------- /test/gawktests/arrayprm2.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/arrayprm3.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/arrayprm3.awk -------------------------------------------------------------------------------- /test/gawktests/arrayprm3.ok: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/gawktests/arrayref.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/arrayref.awk -------------------------------------------------------------------------------- /test/gawktests/arrayref.ok: -------------------------------------------------------------------------------- 1 | 1 2 | 1 3 | -------------------------------------------------------------------------------- /test/gawktests/arrymem1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/arrymem1.awk -------------------------------------------------------------------------------- /test/gawktests/arrymem1.ok: -------------------------------------------------------------------------------- 1 | test 2 | b[""] = "b" 3 | -------------------------------------------------------------------------------- /test/gawktests/arynasty.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/arynasty.awk -------------------------------------------------------------------------------- /test/gawktests/arynasty.ok: -------------------------------------------------------------------------------- 1 | test[12.153] = hi 2 | -------------------------------------------------------------------------------- /test/gawktests/aryprm8.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/aryprm8.awk -------------------------------------------------------------------------------- /test/gawktests/aryprm8.ok: -------------------------------------------------------------------------------- 1 | 2 2 2 | 2 2 3 | -------------------------------------------------------------------------------- /test/gawktests/aryprm9.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/aryprm9.awk -------------------------------------------------------------------------------- /test/gawktests/aryprm9.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/arysubnm.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/arysubnm.awk -------------------------------------------------------------------------------- /test/gawktests/arysubnm.ok: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/gawktests/aryunasgn.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/aryunasgn.awk -------------------------------------------------------------------------------- /test/gawktests/aryunasgn.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/aryunasgn.ok -------------------------------------------------------------------------------- /test/gawktests/asgext.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/asgext.awk -------------------------------------------------------------------------------- /test/gawktests/asgext.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/asgext.in -------------------------------------------------------------------------------- /test/gawktests/asgext.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/asgext.ok -------------------------------------------------------------------------------- /test/gawktests/assignnumfield.awk: -------------------------------------------------------------------------------- 1 | {$0 = ++i} 1 2 | -------------------------------------------------------------------------------- /test/gawktests/assignnumfield.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/assignnumfield.in -------------------------------------------------------------------------------- /test/gawktests/assignnumfield.ok: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | 4 5 | 5 6 | -------------------------------------------------------------------------------- /test/gawktests/assignnumfield2.awk: -------------------------------------------------------------------------------- 1 | BEGIN { 2 | $0 = 1 3 | print $1 4 | } 5 | -------------------------------------------------------------------------------- /test/gawktests/assignnumfield2.ok: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/gawktests/backgsub.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/backgsub.awk -------------------------------------------------------------------------------- /test/gawktests/backgsub.in: -------------------------------------------------------------------------------- 1 | \x\y\z 2 | -------------------------------------------------------------------------------- /test/gawktests/backgsub.ok: -------------------------------------------------------------------------------- 1 | \\x\\y\\z 2 | -------------------------------------------------------------------------------- /test/gawktests/backsmalls2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/backsmalls2.awk -------------------------------------------------------------------------------- /test/gawktests/backsmalls2.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/clobber.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/clobber.awk -------------------------------------------------------------------------------- /test/gawktests/clobber.ok: -------------------------------------------------------------------------------- 1 | 000801 -------------------------------------------------------------------------------- /test/gawktests/closebad.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/closebad.awk -------------------------------------------------------------------------------- /test/gawktests/closebad.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/closebad.ok -------------------------------------------------------------------------------- /test/gawktests/compare2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/compare2.awk -------------------------------------------------------------------------------- /test/gawktests/compare2.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/compare2.ok -------------------------------------------------------------------------------- /test/gawktests/concat1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/concat1.awk -------------------------------------------------------------------------------- /test/gawktests/concat1.in: -------------------------------------------------------------------------------- 1 | A 2 | B 3 | C 4 | D 5 | -------------------------------------------------------------------------------- /test/gawktests/concat1.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/concat1.ok -------------------------------------------------------------------------------- /test/gawktests/concat2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/concat2.awk -------------------------------------------------------------------------------- /test/gawktests/concat2.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/concat2.ok -------------------------------------------------------------------------------- /test/gawktests/concat3.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/concat3.awk -------------------------------------------------------------------------------- /test/gawktests/concat3.ok: -------------------------------------------------------------------------------- 1 | c 2 | 3 | -------------------------------------------------------------------------------- /test/gawktests/concat4.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/concat4.awk -------------------------------------------------------------------------------- /test/gawktests/concat4.in: -------------------------------------------------------------------------------- 1 | foo 2 | bar 3 | -------------------------------------------------------------------------------- /test/gawktests/concat4.ok: -------------------------------------------------------------------------------- 1 | foo 2 | 0 3 | foobar 4 | 4 5 | -------------------------------------------------------------------------------- /test/gawktests/concat5.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/concat5.awk -------------------------------------------------------------------------------- /test/gawktests/concat5.ok: -------------------------------------------------------------------------------- 1 | 1.1a 2 | -------------------------------------------------------------------------------- /test/gawktests/convfmt.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/convfmt.awk -------------------------------------------------------------------------------- /test/gawktests/convfmt.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/convfmt.ok -------------------------------------------------------------------------------- /test/gawktests/crlf.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/crlf.awk -------------------------------------------------------------------------------- /test/gawktests/crlf.ok: -------------------------------------------------------------------------------- 1 | hi there 2 | hello world 3 | matches 4 | -------------------------------------------------------------------------------- /test/gawktests/delarprm.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/delarprm.awk -------------------------------------------------------------------------------- /test/gawktests/delarprm.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/dfacheck2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/dfacheck2.awk -------------------------------------------------------------------------------- /test/gawktests/dfacheck2.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/dfacheck2.in -------------------------------------------------------------------------------- /test/gawktests/dfacheck2.ok: -------------------------------------------------------------------------------- 1 | xxxxy 2 | -------------------------------------------------------------------------------- /test/gawktests/dfastress.awk: -------------------------------------------------------------------------------- 1 | BEGIN { print "a" ~ /(^| )*(a|b)*(c|d)( |$)/ } 2 | -------------------------------------------------------------------------------- /test/gawktests/dfastress.ok: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test/gawktests/divzero2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/divzero2.awk -------------------------------------------------------------------------------- /test/gawktests/divzero2.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/divzero2.ok -------------------------------------------------------------------------------- /test/gawktests/dynlj.awk: -------------------------------------------------------------------------------- 1 | BEGIN { printf "%*sworld\n", -20, "hello" } 2 | -------------------------------------------------------------------------------- /test/gawktests/dynlj.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/dynlj.ok -------------------------------------------------------------------------------- /test/gawktests/elemnew1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/elemnew1.awk -------------------------------------------------------------------------------- /test/gawktests/elemnew1.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/elemnew2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/elemnew2.awk -------------------------------------------------------------------------------- /test/gawktests/elemnew2.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/elemnew2.ok -------------------------------------------------------------------------------- /test/gawktests/eofsplit.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/eofsplit.awk -------------------------------------------------------------------------------- /test/gawktests/eofsplit.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/escapebrace.awk: -------------------------------------------------------------------------------- 1 | /\{/ 2 | # should be no warning 3 | -------------------------------------------------------------------------------- /test/gawktests/escapebrace.in: -------------------------------------------------------------------------------- 1 | foo{bar 2 | -------------------------------------------------------------------------------- /test/gawktests/escapebrace.ok: -------------------------------------------------------------------------------- 1 | foo{bar 2 | -------------------------------------------------------------------------------- /test/gawktests/exit2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/exit2.awk -------------------------------------------------------------------------------- /test/gawktests/exit2.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/exitval2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/exitval2.awk -------------------------------------------------------------------------------- /test/gawktests/exitval2.ok: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /test/gawktests/fieldassign.awk: -------------------------------------------------------------------------------- 1 | gsub(/./, "@") && $0 = $1 2 | -------------------------------------------------------------------------------- /test/gawktests/fieldassign.in: -------------------------------------------------------------------------------- 1 | abc 2 | def 3 | -------------------------------------------------------------------------------- /test/gawktests/fieldassign.ok: -------------------------------------------------------------------------------- 1 | @@@ 2 | @@@ 3 | -------------------------------------------------------------------------------- /test/gawktests/fldchg.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fldchg.awk -------------------------------------------------------------------------------- /test/gawktests/fldchg.in: -------------------------------------------------------------------------------- 1 | aa aab c d e f 2 | -------------------------------------------------------------------------------- /test/gawktests/fldchg.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fldchg.ok -------------------------------------------------------------------------------- /test/gawktests/fldchgnf.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fldchgnf.awk -------------------------------------------------------------------------------- /test/gawktests/fldchgnf.in: -------------------------------------------------------------------------------- 1 | a b c d 2 | -------------------------------------------------------------------------------- /test/gawktests/fldchgnf.ok: -------------------------------------------------------------------------------- 1 | a::c:d 2 | 4 3 | -------------------------------------------------------------------------------- /test/gawktests/fldterm.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fldterm.awk -------------------------------------------------------------------------------- /test/gawktests/fldterm.in: -------------------------------------------------------------------------------- 1 | 5.53apple 2 | -------------------------------------------------------------------------------- /test/gawktests/fldterm.ok: -------------------------------------------------------------------------------- 1 | 5.5 2 | 5.5 3 | -------------------------------------------------------------------------------- /test/gawktests/fmttest.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fmttest.awk -------------------------------------------------------------------------------- /test/gawktests/fmttest.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fmttest.ok -------------------------------------------------------------------------------- /test/gawktests/fnarydel.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fnarydel.awk -------------------------------------------------------------------------------- /test/gawktests/fnarydel.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fnarydel.ok -------------------------------------------------------------------------------- /test/gawktests/fnparydl.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fnparydl.awk -------------------------------------------------------------------------------- /test/gawktests/fnparydl.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fnparydl.ok -------------------------------------------------------------------------------- /test/gawktests/fordel.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fordel.awk -------------------------------------------------------------------------------- /test/gawktests/fordel.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/forref.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/forref.awk -------------------------------------------------------------------------------- /test/gawktests/forref.ok: -------------------------------------------------------------------------------- 1 | 1 s 1 2 | 2 m 2 3 | 1 4 | -------------------------------------------------------------------------------- /test/gawktests/forsimp.awk: -------------------------------------------------------------------------------- 1 | BEGIN { for (print 9; 0;); } 2 | -------------------------------------------------------------------------------- /test/gawktests/forsimp.ok: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /test/gawktests/fpat8.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fpat8.awk -------------------------------------------------------------------------------- /test/gawktests/fpat8.in: -------------------------------------------------------------------------------- 1 | a b c d 2 | -------------------------------------------------------------------------------- /test/gawktests/fpat8.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fpat8.ok -------------------------------------------------------------------------------- /test/gawktests/fsbs.awk: -------------------------------------------------------------------------------- 1 | BEGIN { FS = "\\" } 2 | { print $1, $2} 3 | -------------------------------------------------------------------------------- /test/gawktests/fsbs.in: -------------------------------------------------------------------------------- 1 | 1\2 2 | -------------------------------------------------------------------------------- /test/gawktests/fsbs.ok: -------------------------------------------------------------------------------- 1 | 1 2 2 | -------------------------------------------------------------------------------- /test/gawktests/fscaret.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fscaret.awk -------------------------------------------------------------------------------- /test/gawktests/fscaret.in: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /test/gawktests/fscaret.ok: -------------------------------------------------------------------------------- 1 | |oo 2 | -------------------------------------------------------------------------------- /test/gawktests/fsfwfs.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fsfwfs.awk -------------------------------------------------------------------------------- /test/gawktests/fsfwfs.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fsfwfs.in -------------------------------------------------------------------------------- /test/gawktests/fsfwfs.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fsfwfs.ok -------------------------------------------------------------------------------- /test/gawktests/fsrs.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fsrs.awk -------------------------------------------------------------------------------- /test/gawktests/fsrs.in: -------------------------------------------------------------------------------- 1 | a b 2 | c d 3 | e f 4 | 5 | 1 2 6 | 3 4 7 | 5 6 8 | -------------------------------------------------------------------------------- /test/gawktests/fsrs.ok: -------------------------------------------------------------------------------- 1 | a b 2 | c d 3 | e f1 2 4 | 3 4 5 | 5 6 -------------------------------------------------------------------------------- /test/gawktests/fstabplus.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/fstabplus.awk -------------------------------------------------------------------------------- /test/gawktests/fstabplus.in: -------------------------------------------------------------------------------- 1 | 1 2 2 | -------------------------------------------------------------------------------- /test/gawktests/fstabplus.ok: -------------------------------------------------------------------------------- 1 | 1 2 2 | -------------------------------------------------------------------------------- /test/gawktests/funlen.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/funlen.awk -------------------------------------------------------------------------------- /test/gawktests/funlen.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/funlen.in -------------------------------------------------------------------------------- /test/gawktests/funlen.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/funlen.ok -------------------------------------------------------------------------------- /test/gawktests/funsemnl.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/funsemnl.awk -------------------------------------------------------------------------------- /test/gawktests/funsemnl.ok: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /test/gawktests/gensub3.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/gensub3.awk -------------------------------------------------------------------------------- /test/gawktests/gensub3.in: -------------------------------------------------------------------------------- 1 | apple 2 | pear 3 | -------------------------------------------------------------------------------- /test/gawktests/gensub3.ok: -------------------------------------------------------------------------------- 1 | apple 2 | -------------------------------------------------------------------------------- /test/gawktests/getline.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/getline.awk -------------------------------------------------------------------------------- /test/gawktests/getline.in: -------------------------------------------------------------------------------- 1 | A 2 | B 3 | C 4 | -------------------------------------------------------------------------------- /test/gawktests/getline.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/getline.ok -------------------------------------------------------------------------------- /test/gawktests/getline3.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/getline3.awk -------------------------------------------------------------------------------- /test/gawktests/getline3.ok: -------------------------------------------------------------------------------- 1 | 17 2 | -------------------------------------------------------------------------------- /test/gawktests/getline4.awk: -------------------------------------------------------------------------------- 1 | END { getline $2; print} 2 | -------------------------------------------------------------------------------- /test/gawktests/getline4.in: -------------------------------------------------------------------------------- 1 | aaa bbb 2 | -------------------------------------------------------------------------------- /test/gawktests/getline4.ok: -------------------------------------------------------------------------------- 1 | aaa bbb 2 | -------------------------------------------------------------------------------- /test/gawktests/getline5.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/getline5.awk -------------------------------------------------------------------------------- /test/gawktests/getline5.ok: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /test/gawktests/getlnbuf.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/getlnbuf.awk -------------------------------------------------------------------------------- /test/gawktests/getlnbuf.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/getlnbuf.in -------------------------------------------------------------------------------- /test/gawktests/getlnbuf.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/getlnbuf.ok -------------------------------------------------------------------------------- /test/gawktests/getlnhd.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/getlnhd.awk -------------------------------------------------------------------------------- /test/gawktests/getlnhd.ok: -------------------------------------------------------------------------------- 1 | select * from user 2 | where Name = 'O\'Donell' 3 | -------------------------------------------------------------------------------- /test/gawktests/getnr2tb.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/getnr2tb.awk -------------------------------------------------------------------------------- /test/gawktests/getnr2tb.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/getnr2tb.in -------------------------------------------------------------------------------- /test/gawktests/getnr2tb.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/getnr2tb.ok -------------------------------------------------------------------------------- /test/gawktests/getnr2tm.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/getnr2tm.awk -------------------------------------------------------------------------------- /test/gawktests/getnr2tm.in: -------------------------------------------------------------------------------- 1 | a 2 | -------------------------------------------------------------------------------- /test/gawktests/getnr2tm.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/getnr2tm.ok -------------------------------------------------------------------------------- /test/gawktests/gsubtest.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/gsubtest.awk -------------------------------------------------------------------------------- /test/gawktests/gsubtest.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/gsubtest.ok -------------------------------------------------------------------------------- /test/gawktests/gsubtst2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/gsubtst2.awk -------------------------------------------------------------------------------- /test/gawktests/gsubtst2.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/gsubtst2.ok -------------------------------------------------------------------------------- /test/gawktests/gsubtst3.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/gsubtst3.awk -------------------------------------------------------------------------------- /test/gawktests/gsubtst3.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/gsubtst3.in -------------------------------------------------------------------------------- /test/gawktests/gsubtst3.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/gsubtst3.ok -------------------------------------------------------------------------------- /test/gawktests/gsubtst4.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/gsubtst4.awk -------------------------------------------------------------------------------- /test/gawktests/gsubtst4.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/gsubtst4.ok -------------------------------------------------------------------------------- /test/gawktests/gsubtst8.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/gsubtst8.awk -------------------------------------------------------------------------------- /test/gawktests/gsubtst8.in: -------------------------------------------------------------------------------- 1 | a bar b 2 | c foo d 3 | -------------------------------------------------------------------------------- /test/gawktests/gsubtst8.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/gsubtst8.ok -------------------------------------------------------------------------------- /test/gawktests/hex.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/hex.awk -------------------------------------------------------------------------------- /test/gawktests/hex.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/hex.ok -------------------------------------------------------------------------------- /test/gawktests/igncdym.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/igncdym.awk -------------------------------------------------------------------------------- /test/gawktests/igncdym.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/igncdym.in -------------------------------------------------------------------------------- /test/gawktests/igncdym.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/igncdym.ok -------------------------------------------------------------------------------- /test/gawktests/ignrcas2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/ignrcas2.awk -------------------------------------------------------------------------------- /test/gawktests/ignrcas2.ok: -------------------------------------------------------------------------------- 1 | OK 2 | -------------------------------------------------------------------------------- /test/gawktests/inpref.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/inpref.awk -------------------------------------------------------------------------------- /test/gawktests/inpref.in: -------------------------------------------------------------------------------- 1 | hello 2 | goodbye 3 | -------------------------------------------------------------------------------- /test/gawktests/inpref.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/inpref.ok -------------------------------------------------------------------------------- /test/gawktests/inputred.awk: -------------------------------------------------------------------------------- 1 | BEGIN { print getline < "file" ".txt" } 2 | -------------------------------------------------------------------------------- /test/gawktests/inputred.ok: -------------------------------------------------------------------------------- 1 | -1.txt 2 | -------------------------------------------------------------------------------- /test/gawktests/intarray.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/intarray.awk -------------------------------------------------------------------------------- /test/gawktests/intarray.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/intest.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/intest.awk -------------------------------------------------------------------------------- /test/gawktests/intest.ok: -------------------------------------------------------------------------------- 1 | 0 1 2 | -------------------------------------------------------------------------------- /test/gawktests/intprec.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/intprec.awk -------------------------------------------------------------------------------- /test/gawktests/intprec.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/intprec.ok -------------------------------------------------------------------------------- /test/gawktests/iobug1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/iobug1.awk -------------------------------------------------------------------------------- /test/gawktests/iobug1.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/lc_num1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/lc_num1.awk -------------------------------------------------------------------------------- /test/gawktests/lc_num1.ok: -------------------------------------------------------------------------------- 1 | ok, or at least the quote flag isn't supported 2 | -------------------------------------------------------------------------------- /test/gawktests/leaddig.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/leaddig.awk -------------------------------------------------------------------------------- /test/gawktests/leaddig.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/leaddig.ok -------------------------------------------------------------------------------- /test/gawktests/leadnl.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/leadnl.awk -------------------------------------------------------------------------------- /test/gawktests/leadnl.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/leadnl.in -------------------------------------------------------------------------------- /test/gawktests/leadnl.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/leadnl.ok -------------------------------------------------------------------------------- /test/gawktests/longsub.awk: -------------------------------------------------------------------------------- 1 | {sub( "^.*AA", "BB"); print} 2 | -------------------------------------------------------------------------------- /test/gawktests/longsub.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/longsub.in -------------------------------------------------------------------------------- /test/gawktests/longsub.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/longsub.ok -------------------------------------------------------------------------------- /test/gawktests/longwrds.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/longwrds.awk -------------------------------------------------------------------------------- /test/gawktests/longwrds.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/longwrds.in -------------------------------------------------------------------------------- /test/gawktests/longwrds.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/longwrds.ok -------------------------------------------------------------------------------- /test/gawktests/manglprm.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/manglprm.awk -------------------------------------------------------------------------------- /test/gawktests/manglprm.in: -------------------------------------------------------------------------------- 1 | Testing 2 | -------------------------------------------------------------------------------- /test/gawktests/manglprm.ok: -------------------------------------------------------------------------------- 1 | Buffer = [] 2 | -------------------------------------------------------------------------------- /test/gawktests/match4.awk: -------------------------------------------------------------------------------- 1 | BEGIN { print match (m, /a?/) } 2 | -------------------------------------------------------------------------------- /test/gawktests/match4.ok: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/gawktests/math.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/math.awk -------------------------------------------------------------------------------- /test/gawktests/math.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/math.ok -------------------------------------------------------------------------------- /test/gawktests/mbprintf2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mbprintf2.awk -------------------------------------------------------------------------------- /test/gawktests/mbprintf2.ok: -------------------------------------------------------------------------------- 1 | A 2 | A 3 | -------------------------------------------------------------------------------- /test/gawktests/mbprintf3.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mbprintf3.awk -------------------------------------------------------------------------------- /test/gawktests/mbprintf3.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mbprintf3.in -------------------------------------------------------------------------------- /test/gawktests/mbprintf3.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mbprintf3.ok -------------------------------------------------------------------------------- /test/gawktests/mdim3.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mdim3.awk -------------------------------------------------------------------------------- /test/gawktests/mdim3.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mdim3.ok -------------------------------------------------------------------------------- /test/gawktests/mdim4.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mdim4.awk -------------------------------------------------------------------------------- /test/gawktests/mdim4.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mdim4.in -------------------------------------------------------------------------------- /test/gawktests/mdim4.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mdim4.ok -------------------------------------------------------------------------------- /test/gawktests/mdim5.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mdim5.awk -------------------------------------------------------------------------------- /test/gawktests/mdim5.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/mdim7.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mdim7.awk -------------------------------------------------------------------------------- /test/gawktests/mdim7.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/mdim8.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mdim8.awk -------------------------------------------------------------------------------- /test/gawktests/mdim8.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mdim8.in -------------------------------------------------------------------------------- /test/gawktests/mdim8.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mdim8.ok -------------------------------------------------------------------------------- /test/gawktests/membug1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/membug1.awk -------------------------------------------------------------------------------- /test/gawktests/membug1.in: -------------------------------------------------------------------------------- 1 | yes 2 | yes 3 | -------------------------------------------------------------------------------- /test/gawktests/membug1.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/minusstr.awk: -------------------------------------------------------------------------------- 1 | BEGIN { print-"6" } 2 | -------------------------------------------------------------------------------- /test/gawktests/minusstr.ok: -------------------------------------------------------------------------------- 1 | -6 2 | -------------------------------------------------------------------------------- /test/gawktests/mmap8k.awk: -------------------------------------------------------------------------------- 1 | { print } 2 | -------------------------------------------------------------------------------- /test/gawktests/mmap8k.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mmap8k.in -------------------------------------------------------------------------------- /test/gawktests/mmap8k.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mmap8k.ok -------------------------------------------------------------------------------- /test/gawktests/mpfrfield.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mpfrfield.awk -------------------------------------------------------------------------------- /test/gawktests/mpfrfield.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mpfrfield.in -------------------------------------------------------------------------------- /test/gawktests/mpfrfield.ok: -------------------------------------------------------------------------------- 1 | min 0 2 | -------------------------------------------------------------------------------- /test/gawktests/mpfrieee.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mpfrieee.awk -------------------------------------------------------------------------------- /test/gawktests/mpfrieee.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mpfrieee.ok -------------------------------------------------------------------------------- /test/gawktests/mpfrnegzero.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mpfrnegzero.awk -------------------------------------------------------------------------------- /test/gawktests/mpfrnegzero.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mpfrnegzero.ok -------------------------------------------------------------------------------- /test/gawktests/mpfrnegzero2.awk: -------------------------------------------------------------------------------- 1 | BEGIN { 2 | printf("%f\n", -a) 3 | } 4 | -------------------------------------------------------------------------------- /test/gawktests/mpfrnegzero2.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mpfrnegzero2.ok -------------------------------------------------------------------------------- /test/gawktests/mpfrnonum.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mpfrnonum.awk -------------------------------------------------------------------------------- /test/gawktests/mpfrnonum.in: -------------------------------------------------------------------------------- 1 | + 2 | - 3 | 1 4 | -------------------------------------------------------------------------------- /test/gawktests/mpfrnonum.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mpfrnonum.ok -------------------------------------------------------------------------------- /test/gawktests/mpfrrem.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mpfrrem.awk -------------------------------------------------------------------------------- /test/gawktests/mpfrrem.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/mpfrrem.ok -------------------------------------------------------------------------------- /test/gawktests/mtchi18n.awk: -------------------------------------------------------------------------------- 1 | {print match(""," *")} 2 | -------------------------------------------------------------------------------- /test/gawktests/mtchi18n.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/gawktests/mtchi18n.ok: -------------------------------------------------------------------------------- 1 | 1 2 | 1 3 | -------------------------------------------------------------------------------- /test/gawktests/nasty.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/nasty.awk -------------------------------------------------------------------------------- /test/gawktests/nasty.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/nasty.ok -------------------------------------------------------------------------------- /test/gawktests/nasty2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/nasty2.awk -------------------------------------------------------------------------------- /test/gawktests/nasty2.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/nasty2.ok -------------------------------------------------------------------------------- /test/gawktests/negexp.awk: -------------------------------------------------------------------------------- 1 | BEGIN { a = -2; print 10^a } 2 | -------------------------------------------------------------------------------- /test/gawktests/negexp.ok: -------------------------------------------------------------------------------- 1 | 0.01 2 | -------------------------------------------------------------------------------- /test/gawktests/negrange.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/negrange.awk -------------------------------------------------------------------------------- /test/gawktests/negrange.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/negrange.ok -------------------------------------------------------------------------------- /test/gawktests/nested.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/nested.awk -------------------------------------------------------------------------------- /test/gawktests/nested.in: -------------------------------------------------------------------------------- 1 | a_b 2 | -------------------------------------------------------------------------------- /test/gawktests/nested.ok: -------------------------------------------------------------------------------- 1 | a 2 | a 3 | -------------------------------------------------------------------------------- /test/gawktests/nfldstr.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/nfldstr.awk -------------------------------------------------------------------------------- /test/gawktests/nfldstr.in: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/gawktests/nfldstr.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/nfloop.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/nfloop.awk -------------------------------------------------------------------------------- /test/gawktests/nfloop.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/nfloop.ok -------------------------------------------------------------------------------- /test/gawktests/nfset.awk: -------------------------------------------------------------------------------- 1 | { NF = 5 ; print } 2 | -------------------------------------------------------------------------------- /test/gawktests/nfset.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/nfset.in -------------------------------------------------------------------------------- /test/gawktests/nfset.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/nfset.ok -------------------------------------------------------------------------------- /test/gawktests/nlfldsep.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/nlfldsep.awk -------------------------------------------------------------------------------- /test/gawktests/nlfldsep.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/nlfldsep.in -------------------------------------------------------------------------------- /test/gawktests/nlfldsep.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/nlfldsep.ok -------------------------------------------------------------------------------- /test/gawktests/nlinstr.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/nlinstr.awk -------------------------------------------------------------------------------- /test/gawktests/nlinstr.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/nlinstr.in -------------------------------------------------------------------------------- /test/gawktests/nlinstr.ok: -------------------------------------------------------------------------------- 1 | ok 2 | -------------------------------------------------------------------------------- /test/gawktests/nlstrina.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/nlstrina.awk -------------------------------------------------------------------------------- /test/gawktests/nlstrina.ok: -------------------------------------------------------------------------------- 1 | a 2 2 2 | b 3 3 3 | c 1 3 4 | -------------------------------------------------------------------------------- /test/gawktests/noloop1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/noloop1.awk -------------------------------------------------------------------------------- /test/gawktests/noloop1.in: -------------------------------------------------------------------------------- 1 | ''Italics with an apostrophe'' embedded'' 2 | -------------------------------------------------------------------------------- /test/gawktests/noloop1.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/noloop2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/noloop2.awk -------------------------------------------------------------------------------- /test/gawktests/noloop2.in: -------------------------------------------------------------------------------- 1 | ''Italics with an apostrophe' embedded'' 2 | -------------------------------------------------------------------------------- /test/gawktests/noloop2.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/nondec.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/nondec.awk -------------------------------------------------------------------------------- /test/gawktests/nondec.ok: -------------------------------------------------------------------------------- 1 | 8504296 7618584 0.34 2 | -------------------------------------------------------------------------------- /test/gawktests/nulrsend.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/nulrsend.awk -------------------------------------------------------------------------------- /test/gawktests/nulrsend.in: -------------------------------------------------------------------------------- 1 | 1111 2 | 3 | 2222 4 | 5 | -------------------------------------------------------------------------------- /test/gawktests/nulrsend.ok: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | -------------------------------------------------------------------------------- /test/gawktests/numindex.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/numindex.awk -------------------------------------------------------------------------------- /test/gawktests/numindex.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/numindex.in -------------------------------------------------------------------------------- /test/gawktests/numindex.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/numindex.ok -------------------------------------------------------------------------------- /test/gawktests/numstr1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/numstr1.awk -------------------------------------------------------------------------------- /test/gawktests/numstr1.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/numstr1.ok -------------------------------------------------------------------------------- /test/gawktests/numsubstr.awk: -------------------------------------------------------------------------------- 1 | { print substr(1000+$1, 2) } 2 | -------------------------------------------------------------------------------- /test/gawktests/numsubstr.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/numsubstr.in -------------------------------------------------------------------------------- /test/gawktests/numsubstr.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/numsubstr.ok -------------------------------------------------------------------------------- /test/gawktests/octsub.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/octsub.awk -------------------------------------------------------------------------------- /test/gawktests/octsub.ok: -------------------------------------------------------------------------------- 1 | //1/ 2 | -------------------------------------------------------------------------------- /test/gawktests/ofmt.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/ofmt.awk -------------------------------------------------------------------------------- /test/gawktests/ofmt.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/ofmt.in -------------------------------------------------------------------------------- /test/gawktests/ofmt.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/ofmt.ok -------------------------------------------------------------------------------- /test/gawktests/ofmta.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/ofmta.awk -------------------------------------------------------------------------------- /test/gawktests/ofmta.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/ofmta.ok -------------------------------------------------------------------------------- /test/gawktests/ofmtbig.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/ofmtbig.awk -------------------------------------------------------------------------------- /test/gawktests/ofmtbig.in: -------------------------------------------------------------------------------- 1 | a 2 | 1 3 | b 4 | -------------------------------------------------------------------------------- /test/gawktests/ofmtbig.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/ofmtbig.ok -------------------------------------------------------------------------------- /test/gawktests/ofmtfidl.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/ofmtfidl.awk -------------------------------------------------------------------------------- /test/gawktests/ofmtfidl.in: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | 4 5 | 5 6 | 6 7 | 7 8 | 8 9 | 9 10 | 10 11 | -------------------------------------------------------------------------------- /test/gawktests/ofmtfidl.ok: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | 4 5 | 5 6 | 6 7 | 7 8 | 8 9 | 9 10 | 10 11 | -------------------------------------------------------------------------------- /test/gawktests/ofmts.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/ofmts.awk -------------------------------------------------------------------------------- /test/gawktests/ofmts.in: -------------------------------------------------------------------------------- 1 | 1.2 2.2 2 | -------------------------------------------------------------------------------- /test/gawktests/ofmts.ok: -------------------------------------------------------------------------------- 1 | 1.2 2.2 2 | -------------------------------------------------------------------------------- /test/gawktests/ofmtstrnum.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/ofmtstrnum.awk -------------------------------------------------------------------------------- /test/gawktests/ofmtstrnum.ok: -------------------------------------------------------------------------------- 1 | 1 2 | 1 3 | -------------------------------------------------------------------------------- /test/gawktests/ofs1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/ofs1.awk -------------------------------------------------------------------------------- /test/gawktests/ofs1.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/ofs1.in -------------------------------------------------------------------------------- /test/gawktests/ofs1.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/ofs1.ok -------------------------------------------------------------------------------- /test/gawktests/onlynl.awk: -------------------------------------------------------------------------------- 1 | BEGIN { RS = "" } 2 | { print "got", $0 } 3 | -------------------------------------------------------------------------------- /test/gawktests/onlynl.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/gawktests/onlynl.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/opasnidx.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/opasnidx.awk -------------------------------------------------------------------------------- /test/gawktests/opasnidx.ok: -------------------------------------------------------------------------------- 1 | 2 3 2 | -------------------------------------------------------------------------------- /test/gawktests/opasnslf.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/opasnslf.awk -------------------------------------------------------------------------------- /test/gawktests/opasnslf.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/opasnslf.ok -------------------------------------------------------------------------------- /test/gawktests/paramtyp.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/paramtyp.awk -------------------------------------------------------------------------------- /test/gawktests/paramtyp.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/paramtyp.ok -------------------------------------------------------------------------------- /test/gawktests/paramuninitglobal.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/paramuninitglobal.awk -------------------------------------------------------------------------------- /test/gawktests/paramuninitglobal.ok: -------------------------------------------------------------------------------- 1 | 90 2 | 10 3 | 91 4 | 11 5 | -------------------------------------------------------------------------------- /test/gawktests/pcntplus.awk: -------------------------------------------------------------------------------- 1 | BEGIN { printf "%+d %d\n", 3, 4 } 2 | -------------------------------------------------------------------------------- /test/gawktests/pcntplus.ok: -------------------------------------------------------------------------------- 1 | +3 4 2 | -------------------------------------------------------------------------------- /test/gawktests/pipeio1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/pipeio1.awk -------------------------------------------------------------------------------- /test/gawktests/pipeio1.ok: -------------------------------------------------------------------------------- 1 | 1 2 2 | 2 3 | -------------------------------------------------------------------------------- /test/gawktests/posix.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/posix.awk -------------------------------------------------------------------------------- /test/gawktests/posix.in: -------------------------------------------------------------------------------- 1 | 1:2,3 4 2 | -------------------------------------------------------------------------------- /test/gawktests/posix.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/posix.ok -------------------------------------------------------------------------------- /test/gawktests/prdupval.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/prdupval.awk -------------------------------------------------------------------------------- /test/gawktests/prdupval.in: -------------------------------------------------------------------------------- 1 | one 2 | -------------------------------------------------------------------------------- /test/gawktests/prdupval.ok: -------------------------------------------------------------------------------- 1 | 1 one abcone 2 | -------------------------------------------------------------------------------- /test/gawktests/prec.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/prec.awk -------------------------------------------------------------------------------- /test/gawktests/prec.ok: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/gawktests/printf1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/printf1.awk -------------------------------------------------------------------------------- /test/gawktests/printf1.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/printf1.ok -------------------------------------------------------------------------------- /test/gawktests/printfbad3.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/printfbad3.awk -------------------------------------------------------------------------------- /test/gawktests/printfbad3.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/printfbad3.ok -------------------------------------------------------------------------------- /test/gawktests/printfchar.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/printfchar.awk -------------------------------------------------------------------------------- /test/gawktests/printfchar.ok: -------------------------------------------------------------------------------- 1 | 6 2 | -------------------------------------------------------------------------------- /test/gawktests/prmreuse.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/prmreuse.awk -------------------------------------------------------------------------------- /test/gawktests/prmreuse.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/profile12.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/profile12.awk -------------------------------------------------------------------------------- /test/gawktests/profile12.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/profile12.in -------------------------------------------------------------------------------- /test/gawktests/profile12.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/profile12.ok -------------------------------------------------------------------------------- /test/gawktests/prt1eval.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/prt1eval.awk -------------------------------------------------------------------------------- /test/gawktests/prt1eval.ok: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/gawktests/prtoeval.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/prtoeval.awk -------------------------------------------------------------------------------- /test/gawktests/prtoeval.ok: -------------------------------------------------------------------------------- 1 | 2 | partial line: 'A STRING' 3 | -------------------------------------------------------------------------------- /test/gawktests/range1.awk: -------------------------------------------------------------------------------- 1 | /foo/,/bar/ { print } 2 | -------------------------------------------------------------------------------- /test/gawktests/range1.in: -------------------------------------------------------------------------------- 1 | foobar 2 | junk 3 | -------------------------------------------------------------------------------- /test/gawktests/range1.ok: -------------------------------------------------------------------------------- 1 | foobar 2 | -------------------------------------------------------------------------------- /test/gawktests/rebuf.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/rebuf.awk -------------------------------------------------------------------------------- /test/gawktests/rebuf.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/rebuf.in -------------------------------------------------------------------------------- /test/gawktests/rebuf.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/rebuf.ok -------------------------------------------------------------------------------- /test/gawktests/regeq.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/regeq.awk -------------------------------------------------------------------------------- /test/gawktests/regeq.in: -------------------------------------------------------------------------------- 1 | sdgfa 2 | asdfds=a 3 | -------------------------------------------------------------------------------- /test/gawktests/regeq.ok: -------------------------------------------------------------------------------- 1 | 0 2 | 7 3 | -------------------------------------------------------------------------------- /test/gawktests/regexprange.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/regexprange.awk -------------------------------------------------------------------------------- /test/gawktests/regexprange.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/regexprange.ok -------------------------------------------------------------------------------- /test/gawktests/reginttrad.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/reginttrad.awk -------------------------------------------------------------------------------- /test/gawktests/reginttrad.ok: -------------------------------------------------------------------------------- 1 | "aabbbc" matches /b{2,}/ 2 | -------------------------------------------------------------------------------- /test/gawktests/reint.awk: -------------------------------------------------------------------------------- 1 | { print match($0, /a{3}/) } 2 | -------------------------------------------------------------------------------- /test/gawktests/reint.in: -------------------------------------------------------------------------------- 1 | match this: aaa 2 | -------------------------------------------------------------------------------- /test/gawktests/reint.ok: -------------------------------------------------------------------------------- 1 | 13 2 | -------------------------------------------------------------------------------- /test/gawktests/reint2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/reint2.awk -------------------------------------------------------------------------------- /test/gawktests/reint2.in: -------------------------------------------------------------------------------- 1 | 1 2 3 2 | -------------------------------------------------------------------------------- /test/gawktests/reint2.ok: -------------------------------------------------------------------------------- 1 | 1 2 3 2 | -------------------------------------------------------------------------------- /test/gawktests/reparse.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/reparse.awk -------------------------------------------------------------------------------- /test/gawktests/reparse.in: -------------------------------------------------------------------------------- 1 | 1 axbxc 2 2 | -------------------------------------------------------------------------------- /test/gawktests/reparse.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/reparse.ok -------------------------------------------------------------------------------- /test/gawktests/resplit.awk: -------------------------------------------------------------------------------- 1 | { FS = ":"; $0 = $0; print $2 } 2 | -------------------------------------------------------------------------------- /test/gawktests/resplit.in: -------------------------------------------------------------------------------- 1 | a:b:c d:e:f 2 | -------------------------------------------------------------------------------- /test/gawktests/resplit.ok: -------------------------------------------------------------------------------- 1 | b 2 | -------------------------------------------------------------------------------- /test/gawktests/rri1.awk: -------------------------------------------------------------------------------- 1 | /[d-f]/ 2 | -------------------------------------------------------------------------------- /test/gawktests/rri1.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/rri1.in -------------------------------------------------------------------------------- /test/gawktests/rri1.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/rs.awk: -------------------------------------------------------------------------------- 1 | BEGIN { RS = "" } 2 | { print $1, $2 } 3 | -------------------------------------------------------------------------------- /test/gawktests/rs.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/rs.in -------------------------------------------------------------------------------- /test/gawktests/rs.ok: -------------------------------------------------------------------------------- 1 | a b 2 | c d 3 | e 4 | -------------------------------------------------------------------------------- /test/gawktests/rsnul1nl.awk: -------------------------------------------------------------------------------- 1 | BEGIN { RS = "" } 2 | { print } 3 | -------------------------------------------------------------------------------- /test/gawktests/rsnul1nl.in: -------------------------------------------------------------------------------- 1 | 2 | This is... 3 | the first record. 4 | -------------------------------------------------------------------------------- /test/gawktests/rsnul1nl.ok: -------------------------------------------------------------------------------- 1 | This is... 2 | the first record. 3 | -------------------------------------------------------------------------------- /test/gawktests/rsnullre.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/rsnullre.awk -------------------------------------------------------------------------------- /test/gawktests/rsnullre.in: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /test/gawktests/rsnullre.ok: -------------------------------------------------------------------------------- 1 | <> 3 | <> 4 | -------------------------------------------------------------------------------- /test/gawktests/rsstart1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/rsstart1.awk -------------------------------------------------------------------------------- /test/gawktests/rsstart1.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/rsstart1.in -------------------------------------------------------------------------------- /test/gawktests/rsstart1.ok: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /test/gawktests/rstest1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/rstest1.awk -------------------------------------------------------------------------------- /test/gawktests/rstest1.ok: -------------------------------------------------------------------------------- 1 | 3 2 | 3 3 | -------------------------------------------------------------------------------- /test/gawktests/rstest2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/rstest2.awk -------------------------------------------------------------------------------- /test/gawktests/rstest2.ok: -------------------------------------------------------------------------------- 1 | a 2 | -------------------------------------------------------------------------------- /test/gawktests/rstest3.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/rstest3.awk -------------------------------------------------------------------------------- /test/gawktests/rstest3.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/rstest4.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/rstest4.awk -------------------------------------------------------------------------------- /test/gawktests/rstest4.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/rstest4.ok -------------------------------------------------------------------------------- /test/gawktests/rstest5.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/rstest5.awk -------------------------------------------------------------------------------- /test/gawktests/rstest5.ok: -------------------------------------------------------------------------------- 1 | foo 2 | baz 3 | bar 4 | x = <> 5 | -------------------------------------------------------------------------------- /test/gawktests/rstest6.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/rstest6.awk -------------------------------------------------------------------------------- /test/gawktests/rstest6.in: -------------------------------------------------------------------------------- 1 | ABCD -------------------------------------------------------------------------------- /test/gawktests/rstest6.ok: -------------------------------------------------------------------------------- 1 | ABCD 2 | -------------------------------------------------------------------------------- /test/gawktests/rswhite.awk: -------------------------------------------------------------------------------- 1 | BEGIN { RS = "" } 2 | { printf("<%s>\n", $0) } 3 | -------------------------------------------------------------------------------- /test/gawktests/rswhite.in: -------------------------------------------------------------------------------- 1 | a b 2 | c d 3 | -------------------------------------------------------------------------------- /test/gawktests/rswhite.ok: -------------------------------------------------------------------------------- 1 | < a b 2 | c d> 3 | -------------------------------------------------------------------------------- /test/gawktests/setrec0.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/setrec0.awk -------------------------------------------------------------------------------- /test/gawktests/setrec0.in: -------------------------------------------------------------------------------- 1 | hello 2 | -------------------------------------------------------------------------------- /test/gawktests/setrec0.ok: -------------------------------------------------------------------------------- 1 | hello 2 | -------------------------------------------------------------------------------- /test/gawktests/setrec1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/setrec1.awk -------------------------------------------------------------------------------- /test/gawktests/setrec1.ok: -------------------------------------------------------------------------------- 1 | nim 2 | -------------------------------------------------------------------------------- /test/gawktests/shadowbuiltin.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/shadowbuiltin.awk -------------------------------------------------------------------------------- /test/gawktests/shadowbuiltin.ok: -------------------------------------------------------------------------------- 1 | 5 2 | 2 3 | -------------------------------------------------------------------------------- /test/gawktests/sigpipe1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/sigpipe1.awk -------------------------------------------------------------------------------- /test/gawktests/sigpipe1.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/sigpipe1.ok -------------------------------------------------------------------------------- /test/gawktests/sortfor2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/sortfor2.awk -------------------------------------------------------------------------------- /test/gawktests/sortfor2.in: -------------------------------------------------------------------------------- 1 | 1.0 2 | 2.0 3 | -------------------------------------------------------------------------------- /test/gawktests/sortfor2.ok: -------------------------------------------------------------------------------- 1 | 1.0 2 | 2.0 3 | -------------------------------------------------------------------------------- /test/gawktests/spacere.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/spacere.awk -------------------------------------------------------------------------------- /test/gawktests/spacere.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/spacere.ok -------------------------------------------------------------------------------- /test/gawktests/splitargv.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/splitargv.awk -------------------------------------------------------------------------------- /test/gawktests/splitargv.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/splitargv.in -------------------------------------------------------------------------------- /test/gawktests/splitargv.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/splitargv.ok -------------------------------------------------------------------------------- /test/gawktests/splitarr.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/splitarr.awk -------------------------------------------------------------------------------- /test/gawktests/splitarr.ok: -------------------------------------------------------------------------------- 1 | 4 l phanti 2 2 | -------------------------------------------------------------------------------- /test/gawktests/splitdef.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/splitdef.awk -------------------------------------------------------------------------------- /test/gawktests/splitdef.ok: -------------------------------------------------------------------------------- 1 | n = 6, a[3] = as 2 | -------------------------------------------------------------------------------- /test/gawktests/splitvar.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/splitvar.awk -------------------------------------------------------------------------------- /test/gawktests/splitvar.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/splitvar.in -------------------------------------------------------------------------------- /test/gawktests/splitvar.ok: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /test/gawktests/splitwht.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/splitwht.awk -------------------------------------------------------------------------------- /test/gawktests/splitwht.ok: -------------------------------------------------------------------------------- 1 | 4 2 | 5 3 | -------------------------------------------------------------------------------- /test/gawktests/sprintfc.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/sprintfc.awk -------------------------------------------------------------------------------- /test/gawktests/sprintfc.in: -------------------------------------------------------------------------------- 1 | 65 2 | 66 3 | foo 4 | -------------------------------------------------------------------------------- /test/gawktests/sprintfc.ok: -------------------------------------------------------------------------------- 1 | A 65 2 | B 66 3 | f foo 4 | -------------------------------------------------------------------------------- /test/gawktests/strcat1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/strcat1.awk -------------------------------------------------------------------------------- /test/gawktests/strcat1.ok: -------------------------------------------------------------------------------- 1 | acb 2 | -------------------------------------------------------------------------------- /test/gawktests/strfieldnum.awk: -------------------------------------------------------------------------------- 1 | { print $"2" } 2 | -------------------------------------------------------------------------------- /test/gawktests/strfieldnum.in: -------------------------------------------------------------------------------- 1 | a b c 2 | -------------------------------------------------------------------------------- /test/gawktests/strfieldnum.ok: -------------------------------------------------------------------------------- 1 | b 2 | -------------------------------------------------------------------------------- /test/gawktests/strnum1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/strnum1.awk -------------------------------------------------------------------------------- /test/gawktests/strnum1.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/strnum1.ok -------------------------------------------------------------------------------- /test/gawktests/strnum2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/strnum2.awk -------------------------------------------------------------------------------- /test/gawktests/strnum2.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/strnum2.ok -------------------------------------------------------------------------------- /test/gawktests/strsubscript.awk: -------------------------------------------------------------------------------- 1 | BEGIN{ a["10"]; for (i in a) { if(i < 2) print i } } 2 | -------------------------------------------------------------------------------- /test/gawktests/strsubscript.ok: -------------------------------------------------------------------------------- 1 | 10 2 | -------------------------------------------------------------------------------- /test/gawktests/stupid2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/stupid2.awk -------------------------------------------------------------------------------- /test/gawktests/stupid2.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/subamp.awk: -------------------------------------------------------------------------------- 1 | { sub(/[[:lower:]]/, "&") ; print } 2 | -------------------------------------------------------------------------------- /test/gawktests/subamp.in: -------------------------------------------------------------------------------- 1 | aaa 2 | -------------------------------------------------------------------------------- /test/gawktests/subamp.ok: -------------------------------------------------------------------------------- 1 | aaa 2 | -------------------------------------------------------------------------------- /test/gawktests/subi18n.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/subi18n.awk -------------------------------------------------------------------------------- /test/gawktests/subi18n.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/subi18n.ok -------------------------------------------------------------------------------- /test/gawktests/subsepnm.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/subsepnm.awk -------------------------------------------------------------------------------- /test/gawktests/subsepnm.ok: -------------------------------------------------------------------------------- 1 | 100 2 | -------------------------------------------------------------------------------- /test/gawktests/subslash.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/subslash.awk -------------------------------------------------------------------------------- /test/gawktests/subslash.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/subslash.ok -------------------------------------------------------------------------------- /test/gawktests/substr.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/substr.awk -------------------------------------------------------------------------------- /test/gawktests/substr.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/substr.ok -------------------------------------------------------------------------------- /test/gawktests/swaplns.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/swaplns.awk -------------------------------------------------------------------------------- /test/gawktests/swaplns.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/swaplns.in -------------------------------------------------------------------------------- /test/gawktests/swaplns.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/swaplns.ok -------------------------------------------------------------------------------- /test/gawktests/tailrecurse.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/tailrecurse.awk -------------------------------------------------------------------------------- /test/gawktests/tailrecurse.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/tailrecurse.ok -------------------------------------------------------------------------------- /test/gawktests/tradanch.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/tradanch.awk -------------------------------------------------------------------------------- /test/gawktests/tradanch.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/tradanch.in -------------------------------------------------------------------------------- /test/gawktests/tradanch.ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gawktests/tweakfld.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/tweakfld.awk -------------------------------------------------------------------------------- /test/gawktests/tweakfld.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/tweakfld.in -------------------------------------------------------------------------------- /test/gawktests/tweakfld.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/tweakfld.ok -------------------------------------------------------------------------------- /test/gawktests/unicode1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/unicode1.awk -------------------------------------------------------------------------------- /test/gawktests/unicode1.ok: -------------------------------------------------------------------------------- 1 | α 2 | א 3 | 𠮟 4 | 🙈 5 | -------------------------------------------------------------------------------- /test/gawktests/uparrfs.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/uparrfs.awk -------------------------------------------------------------------------------- /test/gawktests/uparrfs.in: -------------------------------------------------------------------------------- 1 | xxAA xxBxx C 2 | -------------------------------------------------------------------------------- /test/gawktests/uparrfs.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/uparrfs.ok -------------------------------------------------------------------------------- /test/gawktests/uplus.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/uplus.awk -------------------------------------------------------------------------------- /test/gawktests/uplus.ok: -------------------------------------------------------------------------------- 1 | 1 2 | 1 3 | -1 4 | -------------------------------------------------------------------------------- /test/gawktests/wideidx.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/wideidx.awk -------------------------------------------------------------------------------- /test/gawktests/wideidx.in: -------------------------------------------------------------------------------- 1 | foo 2 | bar 3 | -------------------------------------------------------------------------------- /test/gawktests/wideidx.ok: -------------------------------------------------------------------------------- 1 | 0 2 | 4 3 | -------------------------------------------------------------------------------- /test/gawktests/wideidx2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/wideidx2.awk -------------------------------------------------------------------------------- /test/gawktests/wideidx2.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/wideidx2.ok -------------------------------------------------------------------------------- /test/gawktests/widesub.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/widesub.awk -------------------------------------------------------------------------------- /test/gawktests/widesub.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/widesub.ok -------------------------------------------------------------------------------- /test/gawktests/widesub2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/widesub2.awk -------------------------------------------------------------------------------- /test/gawktests/widesub2.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/widesub2.ok -------------------------------------------------------------------------------- /test/gawktests/widesub3.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/widesub3.awk -------------------------------------------------------------------------------- /test/gawktests/widesub3.in: -------------------------------------------------------------------------------- 1 | test 2 | foo 3 | -------------------------------------------------------------------------------- /test/gawktests/widesub3.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/widesub3.ok -------------------------------------------------------------------------------- /test/gawktests/wjposer1.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/wjposer1.awk -------------------------------------------------------------------------------- /test/gawktests/wjposer1.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/wjposer1.in -------------------------------------------------------------------------------- /test/gawktests/wjposer1.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/wjposer1.ok -------------------------------------------------------------------------------- /test/gawktests/zero2.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/zero2.awk -------------------------------------------------------------------------------- /test/gawktests/zero2.ok: -------------------------------------------------------------------------------- 1 | 0 2 | 0 3 | 0 4 | -------------------------------------------------------------------------------- /test/gawktests/zeroe0.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/zeroe0.awk -------------------------------------------------------------------------------- /test/gawktests/zeroe0.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/zeroe0.ok -------------------------------------------------------------------------------- /test/gawktests/zeroflag.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/test/gawktests/zeroflag.awk -------------------------------------------------------------------------------- /test/gawktests/zeroflag.ok: -------------------------------------------------------------------------------- 1 | 2--- 2 2 | -------------------------------------------------------------------------------- /toybox/awk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/toybox/awk.c -------------------------------------------------------------------------------- /toybox_awk_parts/awk1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/toybox_awk_parts/awk1.c -------------------------------------------------------------------------------- /toybox_awk_parts/awk2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/toybox_awk_parts/awk2.c -------------------------------------------------------------------------------- /toybox_awk_test/awk.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/toybox_awk_test/awk.test -------------------------------------------------------------------------------- /toybox_awk_test/awk.test_orig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/toybox_awk_test/awk.test_orig -------------------------------------------------------------------------------- /wak.man: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/wak.man -------------------------------------------------------------------------------- /wak.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raygard/wak/HEAD/wak.pdf --------------------------------------------------------------------------------