Sun Jan 7 21:20:44 UTC 2024 I: starting to build miller/bookworm/arm64 on jenkins on '2024-01-07 21:20' Sun Jan 7 21:20:44 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/arm64_10/19222/console.log Sun Jan 7 21:20:44 UTC 2024 I: Downloading source for bookworm/miller=6.6.0-2 --2024-01-07 21:20:44-- http://cdn-fastly.deb.debian.org/debian/pool/main/m/miller/miller_6.6.0-2.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2174 (2.1K) [text/prs.lines.tag] Saving to: ‘miller_6.6.0-2.dsc’ 0K .. 100% 2.16M=0.001s 2024-01-07 21:20:46 (2.16 MB/s) - ‘miller_6.6.0-2.dsc’ saved [2174/2174] Sun Jan 7 21:20:46 UTC 2024 I: miller_6.6.0-2.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: miller Binary: miller Architecture: any Version: 6.6.0-2 Maintainer: Stephen Kitt Homepage: https://github.com/johnkerl/miller Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/debian/miller Vcs-Git: https://salsa.debian.org/debian/miller.git Testsuite: autopkgtest Build-Depends: debhelper-compat (= 13), dh-golang, golang-any, golang-github-facette-natsort-dev, golang-github-goccmack-gocc-dev, golang-github-johnkerl-lumin-dev, golang-github-kballard-go-shellquote-dev, golang-github-lestrrat-go-strftime-dev, golang-github-mattn-go-isatty-dev, golang-github-pkg-profile-dev, golang-golang-x-term-dev, tzdata Package-List: miller deb utils optional arch=any Checksums-Sha1: 4c830ac2ec2e2a476fa1e382e389b39ce001201f 2874820 miller_6.6.0.orig.tar.gz 39fa46448675ef1fc3ae2a3b5c6668bad7e514f0 4528 miller_6.6.0-2.debian.tar.xz Checksums-Sha256: 943616a95989fbb8ea7ca47625391b8a86fd009a041eff3636e50443fea05406 2874820 miller_6.6.0.orig.tar.gz be154eca4bc664e8668369598742f2ef50d85225f0ed24dcc636f2726f99b8de 4528 miller_6.6.0-2.debian.tar.xz Files: 18c1a36b46e13e578ad0a9dbaba60a9e 2874820 miller_6.6.0.orig.tar.gz 539b69aacaccb221ffe803ea3f0bcdb2 4528 miller_6.6.0-2.debian.tar.xz Go-Import-Path: github.com/johnkerl/miller -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEnPVX/hPLkMoq7x0ggNMC9Yhtg5wFAmO5QYgACgkQgNMC9Yht g5z6gw/8CuYDyohI2snEjj2x8HZEkNhs0O3hBefbM+GowKy/zLOXEN17uFsBokK8 fEru/ZK0VeGe8Oa+td4P3XzZwiwdDDbOZwZnNhaid2VMJmXRhfJrhlWzYxPgG3Ef qj9zCevG28nkJEDyYgFIhhnVqVmPw3Q4ZDNHxCCakVtQ/GKHqbIe97LAe9bNmauJ K3mIOWUfKmWD3p3dNkWt1FIc96v8aO/z+RfNibLt6hexiVfbN/37vY9HirVzJv6P K5VzufG1PJhaULFyykOiG949Tyl2C+TseuCucwNRD9QdFVPDn3473SvO4i6Hw4qQ 4t3xREcfmxCZZ3VEBMqtgUc3NjDBcYf4k3mFXykTjR/KFC3/TpltuQ4CD8gpFckG IwrwhCy/J9SdoXQ5tUdHc9EV0IQuZUz/eWCIED4HCV3MIQB85n8sIeRUHTosHqxO 8EBaLYsAjQOKi4pLXbXUPpNHnTPVJUDGwn74WxvfeVZ7GIz39aOyUV9emo+q3gHh NqVzGWQva2nOwDn9uajlTqW+k7arP9zWLjptLijCB4k1+Tezy+4lLFheeKOM9nlh yaeFPfK38w4fYUgJw9VrYfGkE0709NmL7/6xEAozCuQ3E5nnHjEM7blvJhqtprPZ UOYVcWrlts4x3yY97EIkZ1VpIqVIsr0aFuo+hiORcElL8PM3PNc= =hvyr -----END PGP SIGNATURE----- Sun Jan 7 21:20:46 UTC 2024 I: Checking whether the package is not for us Sun Jan 7 21:20:46 UTC 2024 I: Starting 1st build on remote node codethink04-arm64.debian.net. Sun Jan 7 21:20:46 UTC 2024 I: Preparing to do remote build '1' on codethink04-arm64.debian.net. Sun Jan 7 21:22:36 UTC 2024 I: Deleting $TMPDIR on codethink04-arm64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Sun Jan 7 09:20:48 -12 2024 I: pbuilder-time-stamp: 1704662448 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [miller_6.6.0-2.dsc] I: copying [./miller_6.6.0.orig.tar.gz] I: copying [./miller_6.6.0-2.debian.tar.xz] I: Extracting source gpgv: Signature made Sat Jan 7 09:55:20 2023 gpgv: using RSA key 9CF557FE13CB90CA2AEF1D2080D302F5886D839C gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./miller_6.6.0-2.dsc: no acceptable signature found dpkg-source: info: extracting miller in miller-6.6.0 dpkg-source: info: unpacking miller_6.6.0.orig.tar.gz dpkg-source: info: unpacking miller_6.6.0-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/57880/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' DISTRIBUTION='bookworm' HOME='/root' HOST_ARCH='arm64' IFS=' ' INVOCATION_ID='9ff6a1f9929c4e74938cb40030139186' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='57880' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.JkU0X6Wa/pbuilderrc_ZltB --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.JkU0X6Wa/b1 --logfile b1/build.log miller_6.6.0-2.dsc' SUDO_GID='109' SUDO_UID='104' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.104:3128' I: uname -a Linux codethink04-arm64 6.1.0-17-cloud-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux I: ls -l /bin total 7104 -rwxr-xr-x 1 root root 1346480 Apr 23 2023 bash -rwxr-xr-x 3 root root 67728 Sep 19 2022 bunzip2 -rwxr-xr-x 3 root root 67728 Sep 19 2022 bzcat lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep -rwxr-xr-x 3 root root 67728 Sep 19 2022 bzip2 -rwxr-xr-x 1 root root 67664 Sep 19 2022 bzip2recover lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore -rwxr-xr-x 1 root root 68536 Sep 20 2022 cat -rwxr-xr-x 1 root root 68616 Sep 20 2022 chgrp -rwxr-xr-x 1 root root 68552 Sep 20 2022 chmod -rwxr-xr-x 1 root root 68632 Sep 20 2022 chown -rwxr-xr-x 1 root root 200264 Sep 20 2022 cp -rwxr-xr-x 1 root root 133640 Jan 5 2023 dash -rwxr-xr-x 1 root root 134144 Sep 20 2022 date -rwxr-xr-x 1 root root 134248 Sep 20 2022 dd -rwxr-xr-x 1 root root 134888 Sep 20 2022 df -rwxr-xr-x 1 root root 200440 Sep 20 2022 dir -rwxr-xr-x 1 root root 141720 Mar 23 2023 dmesg lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname -rwxr-xr-x 1 root root 68408 Sep 20 2022 echo -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep -rwxr-xr-x 1 root root 68384 Sep 20 2022 false -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep -rwxr-xr-x 1 root root 134584 Mar 23 2023 findmnt -rwsr-xr-x 1 root root 67744 Mar 23 2023 fusermount -rwxr-xr-x 1 root root 198880 Jan 24 2023 grep -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe -rwxr-xr-x 1 root root 93752 Apr 10 2022 gzip -rwxr-xr-x 1 root root 67592 Dec 19 2022 hostname -rwxr-xr-x 1 root root 68664 Sep 20 2022 ln -rwxr-xr-x 1 root root 69208 Mar 23 2023 login -rwxr-xr-x 1 root root 200440 Sep 20 2022 ls -rwxr-xr-x 1 root root 264360 Mar 23 2023 lsblk -rwxr-xr-x 1 root root 134384 Sep 20 2022 mkdir -rwxr-xr-x 1 root root 68768 Sep 20 2022 mknod -rwxr-xr-x 1 root root 68472 Sep 20 2022 mktemp -rwxr-xr-x 1 root root 67752 Mar 23 2023 more -rwsr-xr-x 1 root root 67744 Mar 23 2023 mount -rwxr-xr-x 1 root root 67744 Mar 23 2023 mountpoint -rwxr-xr-x 1 root root 134728 Sep 20 2022 mv lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 68496 Sep 20 2022 pwd lrwxrwxrwx 1 root root 4 Apr 23 2023 rbash -> bash -rwxr-xr-x 1 root root 68456 Sep 20 2022 readlink -rwxr-xr-x 1 root root 68592 Sep 20 2022 rm -rwxr-xr-x 1 root root 68480 Sep 20 2022 rmdir -rwxr-xr-x 1 root root 68392 Jul 28 23:46 run-parts -rwxr-xr-x 1 root root 134536 Jan 5 2023 sed lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash -rwxr-xr-x 1 root root 68432 Sep 20 2022 sleep -rwxr-xr-x 1 root root 134088 Sep 20 2022 stty -rwsr-xr-x 1 root root 133312 Mar 23 2023 su -rwxr-xr-x 1 root root 68448 Sep 20 2022 sync -rwxr-xr-x 1 root root 539896 Apr 6 2023 tar -rwxr-xr-x 1 root root 67904 Jul 28 23:46 tempfile -rwxr-xr-x 1 root root 134160 Sep 20 2022 touch -rwxr-xr-x 1 root root 68384 Sep 20 2022 true -rwxr-xr-x 1 root root 67664 Mar 23 2023 ulockmgr_server -rwsr-xr-x 1 root root 67744 Mar 23 2023 umount -rwxr-xr-x 1 root root 68416 Sep 20 2022 uname -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress -rwxr-xr-x 1 root root 200440 Sep 20 2022 vdir -rwxr-xr-x 1 root root 133312 Mar 23 2023 wdctl lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew I: user script /srv/workspace/pbuilder/57880/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dh-golang, golang-any, golang-github-facette-natsort-dev, golang-github-goccmack-gocc-dev, golang-github-johnkerl-lumin-dev, golang-github-kballard-go-shellquote-dev, golang-github-lestrrat-go-strftime-dev, golang-github-mattn-go-isatty-dev, golang-github-pkg-profile-dev, golang-golang-x-term-dev, tzdata dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 18171 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-golang; however: Package dh-golang is not installed. pbuilder-satisfydepends-dummy depends on golang-any; however: Package golang-any is not installed. pbuilder-satisfydepends-dummy depends on golang-github-facette-natsort-dev; however: Package golang-github-facette-natsort-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-goccmack-gocc-dev; however: Package golang-github-goccmack-gocc-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-johnkerl-lumin-dev; however: Package golang-github-johnkerl-lumin-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-kballard-go-shellquote-dev; however: Package golang-github-kballard-go-shellquote-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-lestrrat-go-strftime-dev; however: Package golang-github-lestrrat-go-strftime-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-mattn-go-isatty-dev; however: Package golang-github-mattn-go-isatty-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-pkg-profile-dev; however: Package golang-github-pkg-profile-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-golang-x-term-dev; however: Package golang-golang-x-term-dev is not installed. pbuilder-satisfydepends-dummy depends on tzdata; however: Package tzdata is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-golang{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} golang-1.19-go{a} golang-1.19-src{a} golang-any{a} golang-github-facette-natsort-dev{a} golang-github-goccmack-gocc-dev{a} golang-github-johnkerl-lumin-dev{a} golang-github-kballard-go-shellquote-dev{a} golang-github-lestrrat-go-strftime-dev{a} golang-github-mattn-go-isatty-dev{a} golang-github-pkg-errors-dev{a} golang-github-pkg-profile-dev{a} golang-go{a} golang-golang-x-sys-dev{a} golang-golang-x-term-dev{a} golang-src{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1{a} libpipeline1{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} tzdata{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx pkg-config pkgconf wget 0 packages upgraded, 47 newly installed, 0 to remove and 0 not upgraded. Need to get 94.2 MB of archives. After unpacking 547 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main arm64 tzdata all 2023c-5+deb12u1 [296 kB] Get: 2 http://deb.debian.org/debian bookworm/main arm64 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 3 http://deb.debian.org/debian bookworm/main arm64 libmagic-mgc arm64 1:5.44-3 [305 kB] Get: 4 http://deb.debian.org/debian bookworm/main arm64 libmagic1 arm64 1:5.44-3 [98.5 kB] Get: 5 http://deb.debian.org/debian bookworm/main arm64 file arm64 1:5.44-3 [42.5 kB] Get: 6 http://deb.debian.org/debian bookworm/main arm64 gettext-base arm64 0.21-12 [159 kB] Get: 7 http://deb.debian.org/debian bookworm/main arm64 libuchardet0 arm64 0.0.7-1 [67.9 kB] Get: 8 http://deb.debian.org/debian bookworm/main arm64 groff-base arm64 1.22.4-10 [861 kB] Get: 9 http://deb.debian.org/debian bookworm/main arm64 bsdextrautils arm64 2.38.1-5+b1 [86.9 kB] Get: 10 http://deb.debian.org/debian bookworm/main arm64 libpipeline1 arm64 1.5.7-1 [36.4 kB] Get: 11 http://deb.debian.org/debian bookworm/main arm64 man-db arm64 2.11.2-2 [1369 kB] Get: 12 http://deb.debian.org/debian bookworm/main arm64 m4 arm64 1.4.19-3 [276 kB] Get: 13 http://deb.debian.org/debian bookworm/main arm64 autoconf all 2.71-3 [332 kB] Get: 14 http://deb.debian.org/debian bookworm/main arm64 autotools-dev all 20220109.1 [51.6 kB] Get: 15 http://deb.debian.org/debian bookworm/main arm64 automake all 1:1.16.5-1.3 [823 kB] Get: 16 http://deb.debian.org/debian bookworm/main arm64 autopoint all 0.21-12 [495 kB] Get: 17 http://deb.debian.org/debian bookworm/main arm64 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 18 http://deb.debian.org/debian bookworm/main arm64 libtool all 2.4.7-5 [517 kB] Get: 19 http://deb.debian.org/debian bookworm/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 20 http://deb.debian.org/debian bookworm/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 21 http://deb.debian.org/debian bookworm/main arm64 libsub-override-perl all 0.09-4 [9304 B] Get: 22 http://deb.debian.org/debian bookworm/main arm64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 23 http://deb.debian.org/debian bookworm/main arm64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 24 http://deb.debian.org/debian bookworm/main arm64 libelf1 arm64 0.188-2.1 [173 kB] Get: 25 http://deb.debian.org/debian bookworm/main arm64 dwz arm64 0.15-1 [101 kB] Get: 26 http://deb.debian.org/debian bookworm/main arm64 libicu72 arm64 72.1-3 [9204 kB] Get: 27 http://deb.debian.org/debian bookworm/main arm64 libxml2 arm64 2.9.14+dfsg-1.3~deb12u1 [619 kB] Get: 28 http://deb.debian.org/debian bookworm/main arm64 gettext arm64 0.21-12 [1248 kB] Get: 29 http://deb.debian.org/debian bookworm/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 30 http://deb.debian.org/debian bookworm/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bookworm/main arm64 debhelper all 13.11.4 [942 kB] Get: 32 http://deb.debian.org/debian bookworm/main arm64 dh-golang all 1.59 [27.8 kB] Get: 33 http://deb.debian.org/debian bookworm/main arm64 golang-1.19-src all 1.19.8-2 [18.3 MB] Get: 34 http://deb.debian.org/debian bookworm/main arm64 golang-1.19-go arm64 1.19.8-2 [56.6 MB] Get: 35 http://deb.debian.org/debian bookworm/main arm64 golang-src all 2:1.19~1 [5756 B] Get: 36 http://deb.debian.org/debian bookworm/main arm64 golang-go arm64 2:1.19~1 [45.0 kB] Get: 37 http://deb.debian.org/debian bookworm/main arm64 golang-any arm64 2:1.19~1 [5876 B] Get: 38 http://deb.debian.org/debian bookworm/main arm64 golang-github-facette-natsort-dev all 0.0~git20181210.2cd4dd1-4 [4024 B] Get: 39 http://deb.debian.org/debian bookworm/main arm64 golang-github-goccmack-gocc-dev all 0.0~git20211213.7ea6993-1 [75.6 kB] Get: 40 http://deb.debian.org/debian bookworm/main arm64 golang-github-johnkerl-lumin-dev all 1.0.0-1 [8000 B] Get: 41 http://deb.debian.org/debian bookworm/main arm64 golang-github-kballard-go-shellquote-dev all 0.0~git20180428.95032a8-2 [6456 B] Get: 42 http://deb.debian.org/debian bookworm/main arm64 golang-github-pkg-errors-dev all 0.9.1-2 [13.2 kB] Get: 43 http://deb.debian.org/debian bookworm/main arm64 golang-github-lestrrat-go-strftime-dev all 1.0.6-1 [12.2 kB] Get: 44 http://deb.debian.org/debian bookworm/main arm64 golang-golang-x-sys-dev all 0.3.0-1 [393 kB] Get: 45 http://deb.debian.org/debian bookworm/main arm64 golang-github-mattn-go-isatty-dev all 0.0.17-1 [6016 B] Get: 46 http://deb.debian.org/debian bookworm/main arm64 golang-github-pkg-profile-dev all 1.2.1-2 [6410 B] Get: 47 http://deb.debian.org/debian bookworm/main arm64 golang-golang-x-term-dev all 0.3.0-1 [14.6 kB] Fetched 94.2 MB in 1s (151 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package tzdata. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18171 files and directories currently installed.) Preparing to unpack .../00-tzdata_2023c-5+deb12u1_all.deb ... Unpacking tzdata (2023c-5+deb12u1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../01-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../02-libmagic-mgc_1%3a5.44-3_arm64.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../03-libmagic1_1%3a5.44-3_arm64.deb ... Unpacking libmagic1:arm64 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../04-file_1%3a5.44-3_arm64.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../05-gettext-base_0.21-12_arm64.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../06-libuchardet0_0.0.7-1_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../07-groff-base_1.22.4-10_arm64.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../08-bsdextrautils_2.38.1-5+b1_arm64.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../09-libpipeline1_1.5.7-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../10-man-db_2.11.2-2_arm64.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.19-3_arm64.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../20-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../23-libelf1_0.188-2.1_arm64.deb ... Unpacking libelf1:arm64 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.15-1_arm64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:arm64. Preparing to unpack .../25-libicu72_72.1-3_arm64.deb ... Unpacking libicu72:arm64 (72.1-3) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../26-libxml2_2.9.14+dfsg-1.3~deb12u1_arm64.deb ... Unpacking libxml2:arm64 (2.9.14+dfsg-1.3~deb12u1) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.21-12_arm64.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package dh-golang. Preparing to unpack .../31-dh-golang_1.59_all.deb ... Unpacking dh-golang (1.59) ... Selecting previously unselected package golang-1.19-src. Preparing to unpack .../32-golang-1.19-src_1.19.8-2_all.deb ... Unpacking golang-1.19-src (1.19.8-2) ... Selecting previously unselected package golang-1.19-go. Preparing to unpack .../33-golang-1.19-go_1.19.8-2_arm64.deb ... Unpacking golang-1.19-go (1.19.8-2) ... Selecting previously unselected package golang-src. Preparing to unpack .../34-golang-src_2%3a1.19~1_all.deb ... Unpacking golang-src (2:1.19~1) ... Selecting previously unselected package golang-go:arm64. Preparing to unpack .../35-golang-go_2%3a1.19~1_arm64.deb ... Unpacking golang-go:arm64 (2:1.19~1) ... Selecting previously unselected package golang-any:arm64. Preparing to unpack .../36-golang-any_2%3a1.19~1_arm64.deb ... Unpacking golang-any:arm64 (2:1.19~1) ... Selecting previously unselected package golang-github-facette-natsort-dev. Preparing to unpack .../37-golang-github-facette-natsort-dev_0.0~git20181210.2cd4dd1-4_all.deb ... Unpacking golang-github-facette-natsort-dev (0.0~git20181210.2cd4dd1-4) ... Selecting previously unselected package golang-github-goccmack-gocc-dev. Preparing to unpack .../38-golang-github-goccmack-gocc-dev_0.0~git20211213.7ea6993-1_all.deb ... Unpacking golang-github-goccmack-gocc-dev (0.0~git20211213.7ea6993-1) ... Selecting previously unselected package golang-github-johnkerl-lumin-dev. Preparing to unpack .../39-golang-github-johnkerl-lumin-dev_1.0.0-1_all.deb ... Unpacking golang-github-johnkerl-lumin-dev (1.0.0-1) ... Selecting previously unselected package golang-github-kballard-go-shellquote-dev. Preparing to unpack .../40-golang-github-kballard-go-shellquote-dev_0.0~git20180428.95032a8-2_all.deb ... Unpacking golang-github-kballard-go-shellquote-dev (0.0~git20180428.95032a8-2) ... Selecting previously unselected package golang-github-pkg-errors-dev. Preparing to unpack .../41-golang-github-pkg-errors-dev_0.9.1-2_all.deb ... Unpacking golang-github-pkg-errors-dev (0.9.1-2) ... Selecting previously unselected package golang-github-lestrrat-go-strftime-dev. Preparing to unpack .../42-golang-github-lestrrat-go-strftime-dev_1.0.6-1_all.deb ... Unpacking golang-github-lestrrat-go-strftime-dev (1.0.6-1) ... Selecting previously unselected package golang-golang-x-sys-dev. Preparing to unpack .../43-golang-golang-x-sys-dev_0.3.0-1_all.deb ... Unpacking golang-golang-x-sys-dev (0.3.0-1) ... Selecting previously unselected package golang-github-mattn-go-isatty-dev. Preparing to unpack .../44-golang-github-mattn-go-isatty-dev_0.0.17-1_all.deb ... Unpacking golang-github-mattn-go-isatty-dev (0.0.17-1) ... Selecting previously unselected package golang-github-pkg-profile-dev. Preparing to unpack .../45-golang-github-pkg-profile-dev_1.2.1-2_all.deb ... Unpacking golang-github-pkg-profile-dev (1.2.1-2) ... Selecting previously unselected package golang-golang-x-term-dev. Preparing to unpack .../46-golang-golang-x-term-dev_0.3.0-1_all.deb ... Unpacking golang-golang-x-term-dev (0.3.0-1) ... Setting up libpipeline1:arm64 (1.5.7-1) ... Setting up golang-github-facette-natsort-dev (0.0~git20181210.2cd4dd1-4) ... Setting up libicu72:arm64 (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up golang-github-pkg-errors-dev (0.9.1-2) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up golang-golang-x-sys-dev (0.3.0-1) ... Setting up golang-github-goccmack-gocc-dev (0.0~git20211213.7ea6993-1) ... Setting up libmagic1:arm64 (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up golang-1.19-src (1.19.8-2) ... Setting up m4 (1.4.19-3) ... Setting up golang-golang-x-term-dev (0.3.0-1) ... Setting up file (1:5.44-3) ... Setting up golang-github-johnkerl-lumin-dev (1.0.0-1) ... Setting up tzdata (2023c-5+deb12u1) ... Current default time zone: 'Etc/UTC' Local time is now: Sun Jan 7 21:21:06 UTC 2024. Universal Time is now: Sun Jan 7 21:21:06 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... Setting up golang-github-lestrrat-go-strftime-dev (1.0.6-1) ... Setting up golang-github-pkg-profile-dev (1.2.1-2) ... Setting up autopoint (0.21-12) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:arm64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up golang-src (2:1.19~1) ... Setting up libelf1:arm64 (0.188-2.1) ... Setting up libxml2:arm64 (2.9.14+dfsg-1.3~deb12u1) ... Setting up golang-1.19-go (1.19.8-2) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up golang-github-mattn-go-isatty-dev (0.0.17-1) ... Setting up gettext (0.21-12) ... Setting up libtool (2.4.7-5) ... Setting up golang-go:arm64 (2:1.19~1) ... Setting up golang-any:arm64 (2:1.19~1) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up golang-github-kballard-go-shellquote-dev (0.0~git20180428.95032a8-2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.11.4) ... Setting up dh-golang (1.59) ... Processing triggers for libc-bin (2.36-9+deb12u3) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/miller-6.6.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../miller_6.6.0-2_source.changes dpkg-buildpackage: info: source package miller dpkg-buildpackage: info: source version 6.6.0-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Stephen Kitt dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean --builddirectory=_build --buildsystem=golang --with=golang dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang dh_clean -O--builddirectory=_build -O--buildsystem=golang debian/rules binary dh binary --builddirectory=_build --buildsystem=golang --with=golang dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang cd _build && go install -trimpath -v -p 12 github.com/johnkerl/miller/cmd/mlr internal/goarch internal/goos math/bits unicode unicode/utf8 internal/race internal/unsafeheader internal/itoa internal/cpu sync/atomic internal/goexperiment runtime/internal/syscall crypto/internal/subtle internal/abi runtime/internal/math runtime/internal/sys crypto/subtle crypto/internal/boring/sig container/list unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 math internal/nettrace vendor/golang.org/x/crypto/internal/subtle encoding github.com/johnkerl/miller/internal/pkg/scan github.com/johnkerl/miller/internal/pkg/version runtime/internal/atomic internal/bytealg runtime internal/reflectlite sync internal/testlog math/rand internal/singleflight runtime/cgo errors sort internal/oserror internal/safefilepath vendor/golang.org/x/net/dns/dnsmessage path io strconv crypto/internal/nistec/fiat syscall bytes strings hash crypto/internal/randutil text/tabwriter hash/crc32 hash/adler32 reflect crypto/rc4 crypto vendor/golang.org/x/text/transform net/http/internal/ascii bufio regexp/syntax github.com/kballard/go-shellquote compress/bzip2 internal/syscall/unix time internal/syscall/execenv regexp github.com/facette/natsort context io/fs internal/poll embed internal/fmtsort encoding/binary os crypto/md5 crypto/internal/edwards25519/field encoding/base64 crypto/internal/nistec vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/curve25519/internal/field crypto/cipher golang.org/x/sys/unix encoding/pem crypto/internal/edwards25519 crypto/internal/boring crypto/des vendor/golang.org/x/crypto/chacha20 crypto/sha1 crypto/sha256 crypto/aes crypto/hmac crypto/sha512 fmt github.com/johnkerl/miller/internal/pkg/platform io/ioutil internal/godebug path/filepath vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/crypto/chacha20poly1305 os/signal internal/intern net/netip os/exec net github.com/johnkerl/miller/internal/pkg/go-csv compress/flate encoding/hex net/url vendor/golang.org/x/crypto/curve25519 log math/big vendor/golang.org/x/net/http2/hpack vendor/golang.org/x/text/unicode/norm mime mime/quotedprintable net/http/internal encoding/json github.com/johnkerl/lumin/pkg/colors vendor/golang.org/x/text/unicode/bidi github.com/johnkerl/miller/internal/pkg/pbnjay-strptime github.com/pkg/errors github.com/johnkerl/miller/internal/pkg/parsing/token runtime/trace runtime/debug compress/gzip compress/zlib github.com/johnkerl/miller/internal/pkg/parsing/lexer github.com/lestrrat-go/strftime/internal/errors github.com/johnkerl/miller/internal/pkg/parsing/errors github.com/mattn/go-isatty golang.org/x/term github.com/lestrrat-go/strftime runtime/pprof github.com/johnkerl/miller/internal/pkg/colorizer vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna github.com/pkg/profile crypto/rand crypto/internal/boring/bbig crypto/elliptic crypto/dsa encoding/asn1 crypto/ed25519 crypto/rsa crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte crypto/ecdsa vendor/golang.org/x/net/http/httpproxy net/textproto crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls net/http/httptrace net/http github.com/johnkerl/miller/internal/pkg/lib github.com/johnkerl/miller/internal/pkg/dsl github.com/johnkerl/miller/internal/pkg/auxents/regtest github.com/johnkerl/miller/internal/pkg/mlrval github.com/johnkerl/miller/internal/pkg/parsing/parser github.com/johnkerl/miller/internal/pkg/types github.com/johnkerl/miller/internal/pkg/cli github.com/johnkerl/miller/internal/pkg/bifs github.com/johnkerl/miller/internal/pkg/runtime github.com/johnkerl/miller/internal/pkg/output github.com/johnkerl/miller/internal/pkg/input github.com/johnkerl/miller/internal/pkg/transformers/utils github.com/johnkerl/miller/internal/pkg/dsl/cst github.com/johnkerl/miller/internal/pkg/auxents/repl github.com/johnkerl/miller/internal/pkg/transformers github.com/johnkerl/miller/internal/pkg/stream github.com/johnkerl/miller/internal/pkg/auxents/help github.com/johnkerl/miller/internal/pkg/auxents github.com/johnkerl/miller/internal/pkg/climain github.com/johnkerl/miller/internal/pkg/entrypoint github.com/johnkerl/miller/cmd/mlr debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/miller-6.6.0' _build/bin/mlr regtest -S REGRESSION TEST: ./test/cases Using executable: _build/bin/mlr PASS ./test/cases/auxents FAIL ./test/cases/chaining FAIL ./test/cases/cli-csv-rs-environment-defaults FAIL ./test/cases/cli-getoptish PASS ./test/cases/cli-help FAIL ./test/cases/cli-mfrom FAIL ./test/cases/dsl-absent-empty/dsl-absent-empty FAIL ./test/cases/dsl-absent-empty FAIL ./test/cases/dsl-argpass-typedecl FAIL ./test/cases/dsl-array-map-indexing FAIL ./test/cases/dsl-arrayify FAIL ./test/cases/dsl-asserting FAIL ./test/cases/dsl-basic FAIL ./test/cases/dsl-begin-end FAIL ./test/cases/dsl-block-exit FAIL ./test/cases/dsl-break-continue FAIL ./test/cases/dsl-clean-whitespace FAIL ./test/cases/dsl-collection-equality FAIL ./test/cases/dsl-comments FAIL ./test/cases/dsl-concat FAIL ./test/cases/dsl-context-specific-validation FAIL ./test/cases/dsl-context-validation FAIL ./test/cases/dsl-depth FAIL ./test/cases/dsl-do-while FAIL ./test/cases/dsl-do-while-loops FAIL ./test/cases/dsl-dump-print FAIL ./test/cases/dsl-emit FAIL ./test/cases/dsl-emit-basic-indexing FAIL ./test/cases/dsl-emit-het FAIL ./test/cases/dsl-emit1 FAIL ./test/cases/dsl-empty FAIL ./test/cases/dsl-empty-statements FAIL ./test/cases/dsl-env FAIL ./test/cases/dsl-extended-typeof FAIL ./test/cases/dsl-filter FAIL ./test/cases/dsl-filter-pattern-action FAIL ./test/cases/dsl-first-class-functions FAIL ./test/cases/dsl-flatten-unflatten FAIL ./test/cases/dsl-for-bind-loops-for-valgrind FAIL ./test/cases/dsl-for-map-depth FAIL ./test/cases/dsl-for-multi FAIL ./test/cases/dsl-for-one FAIL ./test/cases/dsl-for-oosvar-loops FAIL ./test/cases/dsl-for-srec-loops FAIL ./test/cases/dsl-for-two FAIL ./test/cases/dsl-for-variants FAIL ./test/cases/dsl-forbind-typedecl FAIL ./test/cases/dsl-format FAIL ./test/cases/dsl-from-file FAIL ./test/cases/dsl-func-decl-hoist FAIL ./test/cases/dsl-functional-tests FAIL ./test/cases/dsl-gmt-date-time-functions PASS ./test/cases/dsl-hashing FAIL ./test/cases/dsl-haskey FAIL ./test/cases/dsl-if-chain FAIL ./test/cases/dsl-if-chaining FAIL ./test/cases/dsl-indexing FAIL ./test/cases/dsl-indirect-oosvar-assignments FAIL ./test/cases/dsl-indirect-srec-assignments FAIL ./test/cases/dsl-is-predicates FAIL ./test/cases/dsl-json-collection-output FAIL ./test/cases/dsl-json-parse-json-stringify FAIL ./test/cases/dsl-lashed-emitp-singles FAIL ./test/cases/dsl-latin1 FAIL ./test/cases/dsl-leafcount FAIL ./test/cases/dsl-length FAIL ./test/cases/dsl-length-depth-leafcount FAIL ./test/cases/dsl-lhs-indexing FAIL ./test/cases/dsl-line-number-column-number FAIL ./test/cases/dsl-load PASS ./test/cases/dsl-local-date-time-functions PASS ./test/cases/dsl-local-map-variable-typedecl PASS ./test/cases/dsl-local-map-variable-write-read PASS ./test/cases/dsl-localvar-scope-and-extent PASS ./test/cases/dsl-localvar-typedecl PASS ./test/cases/dsl-localvar-unsets PASS ./test/cases/dsl-map-dot PASS ./test/cases/dsl-map-funcs PASS ./test/cases/dsl-map-variant-dumps PASS ./test/cases/dsl-mapsum-mapdiff-mapexcept PASS ./test/cases/dsl-mapvar-assignments PASS ./test/cases/dsl-mapvar-emit PASS ./test/cases/dsl-mapvar-for-loops PASS ./test/cases/dsl-mapvars-in-scalar-function-call-contexts PASS ./test/cases/dsl-mapvars-udfs-subroutines PASS ./test/cases/dsl-mathy PASS ./test/cases/dsl-max-variadic PASS ./test/cases/dsl-min-max-types PASS ./test/cases/dsl-modular-arithmetic PASS ./test/cases/dsl-more-type-predicates PASS ./test/cases/dsl-multi-index PASS ./test/cases/dsl-multipart-scripts PASS ./test/cases/dsl-nested-double-quotes PASS ./test/cases/dsl-no-filter-in-filter PASS ./test/cases/dsl-null-empty-handling PASS ./test/cases/dsl-number-formatting PASS ./test/cases/dsl-oosvar-assignments PASS ./test/cases/dsl-oosvars PASS ./test/cases/dsl-operator-associativity PASS ./test/cases/dsl-operator-precedence PASS ./test/cases/dsl-operator-rewrites PASS ./test/cases/dsl-output-redirects PASS ./test/cases/dsl-parameterized-emit PASS ./test/cases/dsl-parse PASS ./test/cases/dsl-prefixed-unprefixed-emit PASS ./test/cases/dsl-print PASS ./test/cases/dsl-programming-examples PASS ./test/cases/dsl-put-dash-s PASS ./test/cases/dsl-put-multiple-dash-e PASS ./test/cases/dsl-pythonic-division PASS ./test/cases/dsl-redirects PASS ./test/cases/dsl-regex PASS ./test/cases/dsl-regex-captures PASS ./test/cases/dsl-regex-matching PASS ./test/cases/dsl-scientific-notation PASS ./test/cases/dsl-scope PASS ./test/cases/dsl-sec2gmt PASS ./test/cases/dsl-semicolons PASS ./test/cases/dsl-short-circuit PASS ./test/cases/dsl-slice PASS ./test/cases/dsl-sorts PASS ./test/cases/dsl-split-join PASS ./test/cases/dsl-split-join-more PASS ./test/cases/dsl-stack-allocation PASS ./test/cases/dsl-string-array-indexing-slicing PASS ./test/cases/dsl-strlen PASS ./test/cases/dsl-subr PASS ./test/cases/dsl-subs PASS ./test/cases/dsl-substr PASS ./test/cases/dsl-toupper-tolower PASS ./test/cases/dsl-trailing-commas PASS ./test/cases/dsl-triple-for-loops PASS ./test/cases/dsl-truncate PASS ./test/cases/dsl-type-inference PASS ./test/cases/dsl-type-predicates PASS ./test/cases/dsl-type-reflect PASS ./test/cases/dsl-typed-overlay PASS ./test/cases/dsl-typedecl PASS ./test/cases/dsl-unformat PASS ./test/cases/dsl-unset PASS ./test/cases/dsl-user-defined-functions PASS ./test/cases/dsl-user-defined-functions-and-subroutines PASS ./test/cases/dsl-utf8-strlen PASS ./test/cases/dsl-utf8-uppercase-lowercase PASS ./test/cases/dsl-warnings PASS ./test/cases/dsl-whitespace PASS ./test/cases/help PASS ./test/cases/int64-io PASS ./test/cases/io-barred-pprint PASS ./test/cases/io-compressed-input PASS ./test/cases/io-dedupe-field-names PASS ./test/cases/io-format-conversion-keystroke-savers PASS ./test/cases/io-gen PASS ./test/cases/io-het-csv-input PASS ./test/cases/io-het-pprint-input PASS ./test/cases/io-implicit-header-csv-input PASS ./test/cases/io-in-place-processing PASS ./test/cases/io-infer-flags PASS ./test/cases/io-ixs-regex PASS ./test/cases/io-json-io PASS ./test/cases/io-jsonl-io PASS ./test/cases/io-lf-crlf-and-autodetect PASS ./test/cases/io-markdown-output PASS ./test/cases/io-missing-final-lf PASS ./test/cases/io-multi PASS ./test/cases/io-multi-character-ixs PASS ./test/cases/io-nr-progress-mod PASS ./test/cases/io-pprint PASS ./test/cases/io-ragged-non-rfc-csv PASS ./test/cases/io-rfc-csv PASS ./test/cases/io-separator-aliases PASS ./test/cases/io-skip-pass-comments PASS ./test/cases/io-space-padding PASS ./test/cases/io-spec-tsv PASS ./test/cases/io-uri-schemes PASS ./test/cases/io-utf8-alignment PASS ./test/cases/io-utf8-bom PASS ./test/cases/mix-null-field-input/0001 PASS ./test/cases/mix-null-field-input/0002 PASS ./test/cases/mix-null-field-input/0003 PASS ./test/cases/mix-null-field-input/0007 PASS ./test/cases/mix-null-field-input/0011 PASS ./test/cases/mix-null-field-input PASS ./test/cases/mix-number-formatting PASS ./test/cases/non-windows/dsl-redirects PASS ./test/cases/non-windows/verb-having-fields PASS ./test/cases/non-windows/verb-rename-regex PASS ./test/cases/output-colorization PASS ./test/cases/repl PASS ./test/cases/repl-help PASS ./test/cases/verb-altkv PASS ./test/cases/verb-bar PASS ./test/cases/verb-bootstrap PASS ./test/cases/verb-cat PASS ./test/cases/verb-count PASS ./test/cases/verb-count-distinct PASS ./test/cases/verb-count-similar PASS ./test/cases/verb-cut PASS ./test/cases/verb-cut-regexed PASS ./test/cases/verb-decimate PASS ./test/cases/verb-fill-down PASS ./test/cases/verb-fill-empty PASS ./test/cases/verb-flatten-unflatten PASS ./test/cases/verb-format-values/0003 PASS ./test/cases/verb-format-values PASS ./test/cases/verb-fraction PASS ./test/cases/verb-gap PASS ./test/cases/verb-grep PASS ./test/cases/verb-group-by PASS ./test/cases/verb-group-like PASS ./test/cases/verb-having-fields PASS ./test/cases/verb-head PASS ./test/cases/verb-head-early-out PASS ./test/cases/verb-histogram PASS ./test/cases/verb-int-float-stats1-step1 PASS ./test/cases/verb-join PASS ./test/cases/verb-join-mixed-format PASS ./test/cases/verb-json-parse-json-stringify PASS ./test/cases/verb-label PASS ./test/cases/verb-latin1-to-utf8 PASS ./test/cases/verb-merge-fields PASS ./test/cases/verb-most-least-frequent PASS ./test/cases/verb-nest PASS ./test/cases/verb-nothing PASS ./test/cases/verb-regularize PASS ./test/cases/verb-remove-empty-columns PASS ./test/cases/verb-rename PASS ./test/cases/verb-rename-no-regex PASS ./test/cases/verb-rename-regex PASS ./test/cases/verb-reorder PASS ./test/cases/verb-repeat PASS ./test/cases/verb-reshape PASS ./test/cases/verb-sample PASS ./test/cases/verb-sec2gmt PASS ./test/cases/verb-seqgen PASS ./test/cases/verb-shuffle PASS ./test/cases/verb-skip-trivial-records PASS ./test/cases/verb-sort PASS ./test/cases/verb-sort-within-records PASS ./test/cases/verb-split PASS ./test/cases/verb-stats1 PASS ./test/cases/verb-stats1-percentile-interpolation PASS ./test/cases/verb-stats1-regexed-field-names PASS ./test/cases/verb-stats2 PASS ./test/cases/verb-step PASS ./test/cases/verb-summary PASS ./test/cases/verb-tac PASS ./test/cases/verb-tail PASS ./test/cases/verb-template PASS ./test/cases/verb-top PASS ./test/cases/verb-truncate PASS ./test/cases/verb-uniq PASS ./test/cases/verb-unspace PASS ./test/cases/verb-unsparsify PASS ./test/cases/verb-utf8-to-latin1 FAIL ./test/cases RERUNS OF FIRST FAILED CASE FILES: ---------------------------------------------------------------- begin ./test/cases/chaining/0001/cmd Command: mlr cat then cat test/input/short actualStdout [12]: a=1 b=2 c=3 expectedStdout [12]: a=1 b=2 c=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/chaining/0001/cmd ---------------------------------------------------------------- end ./test/cases/chaining/0001/cmd ---------------------------------------------------------------- begin ./test/cases/chaining/0002/cmd Command: mlr cat then tac test/input/short actualStdout [12]: c=3 b=2 a=1 expectedStdout [12]: c=3 b=2 a=1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/chaining/0002/cmd ---------------------------------------------------------------- end ./test/cases/chaining/0002/cmd ---------------------------------------------------------------- begin ./test/cases/chaining/0003/cmd Command: mlr tac then cat test/input/short actualStdout [12]: c=3 b=2 a=1 expectedStdout [12]: c=3 b=2 a=1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/chaining/0003/cmd ---------------------------------------------------------------- end ./test/cases/chaining/0003/cmd ---------------------------------------------------------------- begin ./test/cases/chaining/0004/cmd Command: mlr tac then tac test/input/short actualStdout [12]: a=1 b=2 c=3 expectedStdout [12]: a=1 b=2 c=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/chaining/0004/cmd ---------------------------------------------------------------- end ./test/cases/chaining/0004/cmd ---------------------------------------------------------------- begin ./test/cases/chaining/0005/cmd Command: mlr cat then cat then cat test/input/short actualStdout [12]: a=1 b=2 c=3 expectedStdout [12]: a=1 b=2 c=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/chaining/0005/cmd ---------------------------------------------------------------- end ./test/cases/chaining/0005/cmd ---------------------------------------------------------------- begin ./test/cases/chaining/0006/cmd Command: mlr cat then cat then tac test/input/short actualStdout [12]: c=3 b=2 a=1 expectedStdout [12]: c=3 b=2 a=1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/chaining/0006/cmd ---------------------------------------------------------------- end ./test/cases/chaining/0006/cmd ---------------------------------------------------------------- begin ./test/cases/chaining/0007/cmd Command: mlr cat then tac then cat test/input/short actualStdout [12]: c=3 b=2 a=1 expectedStdout [12]: c=3 b=2 a=1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/chaining/0007/cmd ---------------------------------------------------------------- end ./test/cases/chaining/0007/cmd ---------------------------------------------------------------- begin ./test/cases/chaining/0008/cmd Command: mlr cat then tac then tac test/input/short actualStdout [12]: a=1 b=2 c=3 expectedStdout [12]: a=1 b=2 c=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/chaining/0008/cmd ---------------------------------------------------------------- end ./test/cases/chaining/0008/cmd ---------------------------------------------------------------- begin ./test/cases/chaining/0009/cmd Command: mlr tac then cat then cat test/input/short actualStdout [12]: c=3 b=2 a=1 expectedStdout [12]: c=3 b=2 a=1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/chaining/0009/cmd ---------------------------------------------------------------- end ./test/cases/chaining/0009/cmd ---------------------------------------------------------------- begin ./test/cases/chaining/0010/cmd Command: mlr tac then cat then tac test/input/short actualStdout [12]: a=1 b=2 c=3 expectedStdout [12]: a=1 b=2 c=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/chaining/0010/cmd ---------------------------------------------------------------- end ./test/cases/chaining/0010/cmd ---------------------------------------------------------------- begin ./test/cases/chaining/0011/cmd Command: mlr tac then tac then cat test/input/short actualStdout [12]: a=1 b=2 c=3 expectedStdout [12]: a=1 b=2 c=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/chaining/0011/cmd ---------------------------------------------------------------- end ./test/cases/chaining/0011/cmd ---------------------------------------------------------------- begin ./test/cases/chaining/0012/cmd Command: mlr tac then tac then tac test/input/short actualStdout [12]: c=3 b=2 a=1 expectedStdout [12]: c=3 b=2 a=1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/chaining/0012/cmd ---------------------------------------------------------------- end ./test/cases/chaining/0012/cmd ---------------------------------------------------------------- begin ./test/cases/chaining/0013/cmd Command: mlr then cat then head -n 2 -g a,b then tac test/input/abixy-het actualStdout [301]: a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139 a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 expectedStdout [301]: a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139 a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/chaining/0013/cmd ---------------------------------------------------------------- end ./test/cases/chaining/0013/cmd ---------------------------------------------------------------- begin ./test/cases/cli-csv-rs-environment-defaults/0001/cmd Command: mlr --csv cut -f a test/input/rfc-csv/simple.csv-crlf actualStdout [8]: a 1 4 x expectedStdout [8]: a 1 4 x actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/cli-csv-rs-environment-defaults/0001/cmd ---------------------------------------------------------------- end ./test/cases/cli-csv-rs-environment-defaults/0001/cmd ---------------------------------------------------------------- begin ./test/cases/cli-csv-rs-environment-defaults/0002/cmd Command: mlr --csv cut -f a test/input/rfc-csv/simple.csv-crlf actualStdout [8]: a 1 4 x expectedStdout [8]: a 1 4 x actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/cli-csv-rs-environment-defaults/0002/cmd ---------------------------------------------------------------- end ./test/cases/cli-csv-rs-environment-defaults/0002/cmd ---------------------------------------------------------------- begin ./test/cases/cli-getoptish/0001/cmd Command: mlr --ofs pipe cat test/input/abixy actualStdout [421]: a=pan|b=pan|i=1|x=0.34679014|y=0.72680286 a=eks|b=pan|i=2|x=0.75867996|y=0.52215111 a=wye|b=wye|i=3|x=0.20460331|y=0.33831853 a=eks|b=wye|i=4|x=0.38139939|y=0.13418874 a=wye|b=pan|i=5|x=0.57328892|y=0.86362447 a=zee|b=pan|i=6|x=0.52712616|y=0.49322129 a=eks|b=zee|i=7|x=0.61178406|y=0.18788492 a=zee|b=wye|i=8|x=0.59855401|y=0.97618139 a=hat|b=wye|i=9|x=0.03144188|y=0.74955076 a=pan|b=wye|i=10|x=0.50262601|y=0.95261836 expectedStdout [421]: a=pan|b=pan|i=1|x=0.34679014|y=0.72680286 a=eks|b=pan|i=2|x=0.75867996|y=0.52215111 a=wye|b=wye|i=3|x=0.20460331|y=0.33831853 a=eks|b=wye|i=4|x=0.38139939|y=0.13418874 a=wye|b=pan|i=5|x=0.57328892|y=0.86362447 a=zee|b=pan|i=6|x=0.52712616|y=0.49322129 a=eks|b=zee|i=7|x=0.61178406|y=0.18788492 a=zee|b=wye|i=8|x=0.59855401|y=0.97618139 a=hat|b=wye|i=9|x=0.03144188|y=0.74955076 a=pan|b=wye|i=10|x=0.50262601|y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/cli-getoptish/0001/cmd ---------------------------------------------------------------- end ./test/cases/cli-getoptish/0001/cmd ---------------------------------------------------------------- begin ./test/cases/cli-getoptish/0002/cmd Command: mlr --ofs=pipe cat test/input/abixy actualStdout [421]: a=pan|b=pan|i=1|x=0.34679014|y=0.72680286 a=eks|b=pan|i=2|x=0.75867996|y=0.52215111 a=wye|b=wye|i=3|x=0.20460331|y=0.33831853 a=eks|b=wye|i=4|x=0.38139939|y=0.13418874 a=wye|b=pan|i=5|x=0.57328892|y=0.86362447 a=zee|b=pan|i=6|x=0.52712616|y=0.49322129 a=eks|b=zee|i=7|x=0.61178406|y=0.18788492 a=zee|b=wye|i=8|x=0.59855401|y=0.97618139 a=hat|b=wye|i=9|x=0.03144188|y=0.74955076 a=pan|b=wye|i=10|x=0.50262601|y=0.95261836 expectedStdout [421]: a=pan|b=pan|i=1|x=0.34679014|y=0.72680286 a=eks|b=pan|i=2|x=0.75867996|y=0.52215111 a=wye|b=wye|i=3|x=0.20460331|y=0.33831853 a=eks|b=wye|i=4|x=0.38139939|y=0.13418874 a=wye|b=pan|i=5|x=0.57328892|y=0.86362447 a=zee|b=pan|i=6|x=0.52712616|y=0.49322129 a=eks|b=zee|i=7|x=0.61178406|y=0.18788492 a=zee|b=wye|i=8|x=0.59855401|y=0.97618139 a=hat|b=wye|i=9|x=0.03144188|y=0.74955076 a=pan|b=wye|i=10|x=0.50262601|y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/cli-getoptish/0002/cmd ---------------------------------------------------------------- end ./test/cases/cli-getoptish/0002/cmd ---------------------------------------------------------------- begin ./test/cases/cli-mfrom/0001/cmd Command: mlr --csv --mfrom test/input/s.csv -- cat actualStdout [138]: a,b,i,x,y pan,pan,1,0.34679014,0.72680286 eks,pan,2,0.75867996,0.52215111 wye,wye,3,0.20460331,0.33831853 eks,wye,4,0.38139939,0.13418874 expectedStdout [138]: a,b,i,x,y pan,pan,1,0.34679014,0.72680286 eks,pan,2,0.75867996,0.52215111 wye,wye,3,0.20460331,0.33831853 eks,wye,4,0.38139939,0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/cli-mfrom/0001/cmd ---------------------------------------------------------------- end ./test/cases/cli-mfrom/0001/cmd ---------------------------------------------------------------- begin ./test/cases/cli-mfrom/0002/cmd Command: mlr --csv --mfrom test/input/s.csv test/input/t.csv -- cat actualStdout [234]: a,b,i,x,y pan,pan,1,0.34679014,0.72680286 eks,pan,2,0.75867996,0.52215111 wye,wye,3,0.20460331,0.33831853 eks,wye,4,0.38139939,0.13418874 wye,pan,5,0.57328892,0.86362447 zee,pan,6,0.52712616,0.49322129 eks,zee,7,0.61178406,0.18788492 expectedStdout [234]: a,b,i,x,y pan,pan,1,0.34679014,0.72680286 eks,pan,2,0.75867996,0.52215111 wye,wye,3,0.20460331,0.33831853 eks,wye,4,0.38139939,0.13418874 wye,pan,5,0.57328892,0.86362447 zee,pan,6,0.52712616,0.49322129 eks,zee,7,0.61178406,0.18788492 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/cli-mfrom/0002/cmd ---------------------------------------------------------------- end ./test/cases/cli-mfrom/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0001/cmd Command: mlr put -q '@sum += $x; end{emitp @sum}' test/input/abixy actualStdout [15]: sum=4.53629384 expectedStdout [15]: sum=4.53629384 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0002/cmd Command: mlr put -q -f test/cases/dsl-absent-empty/0002/mlr test/input/abixy Miller DSL script: @sum[$a] += $x; end{emitp @sum, "a"} actualStdout [105]: a=pan,sum=0.84941615 a=eks,sum=1.75186342 a=wye,sum=0.77789223 a=zee,sum=1.12568017 a=hat,sum=0.03144188 expectedStdout [105]: a=pan,sum=0.84941615 a=eks,sum=1.75186342 a=wye,sum=0.77789223 a=zee,sum=1.12568017 a=hat,sum=0.03144188 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0003/cmd Command: mlr put '$nonesuch = @nonesuch' test/input/abixy actualStdout [421]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [421]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0004/cmd Command: mlr put -q '@sum += $x; end{emitp @sum}' test/input/abixy-het actualStdout [15]: sum=3.96300492 expectedStdout [15]: sum=3.96300492 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0005/cmd Command: mlr put -q -f test/cases/dsl-absent-empty/0005/mlr test/input/abixy-het Miller DSL script: @sum[$a] += $x; end{emitp @sum, "a"} actualStdout [63]: a=pan,sum=0.84941615 a=eks,sum=1.75186342 a=zee,sum=1.12568017 expectedStdout [63]: a=pan,sum=0.84941615 a=eks,sum=1.75186342 a=zee,sum=1.12568017 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0006/cmd Command: mlr put '$nonesuch = @nonesuch' test/input/abixy-het actualStdout [435]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139 aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [435]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139 aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0007/cmd Command: mlr put -q '@sum += $x; @sumtype = typeof(@sum); @xtype = typeof($x); emitf @sumtype, @xtype, @sum; end{emitp @sum}' test/input/abixy actualStdout [425]: sumtype=float,xtype=float,sum=0.34679014 sumtype=float,xtype=float,sum=1.10547011 sumtype=float,xtype=float,sum=1.31007341 sumtype=float,xtype=float,sum=1.69147281 sumtype=float,xtype=float,sum=2.26476173 sumtype=float,xtype=float,sum=2.79188789 sumtype=float,xtype=float,sum=3.40367195 sumtype=float,xtype=float,sum=4.00222596 sumtype=float,xtype=float,sum=4.03366783 sumtype=float,xtype=float,sum=4.53629384 sum=4.53629384 expectedStdout [425]: sumtype=float,xtype=float,sum=0.34679014 sumtype=float,xtype=float,sum=1.10547011 sumtype=float,xtype=float,sum=1.31007341 sumtype=float,xtype=float,sum=1.69147281 sumtype=float,xtype=float,sum=2.26476173 sumtype=float,xtype=float,sum=2.79188789 sumtype=float,xtype=float,sum=3.40367195 sumtype=float,xtype=float,sum=4.00222596 sumtype=float,xtype=float,sum=4.03366783 sumtype=float,xtype=float,sum=4.53629384 sum=4.53629384 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0008/cmd Command: mlr put -q '@sum += $x; @sumtype = typeof(@sum); @xtype = typeof($x); emitf @sumtype, @xtype, @sum; end{emitp @sum}' test/input/abixy-het actualStdout [426]: sumtype=float,xtype=float,sum=0.34679014 sumtype=float,xtype=float,sum=1.10547011 sumtype=float,xtype=float,sum=1.31007341 sumtype=float,xtype=float,sum=1.69147281 sumtype=float,xtype=absent,sum=1.69147281 sumtype=float,xtype=float,sum=2.21859897 sumtype=float,xtype=float,sum=2.83038303 sumtype=float,xtype=float,sum=3.42893704 sumtype=float,xtype=float,sum=3.46037891 sumtype=float,xtype=float,sum=3.96300492 sum=3.96300492 expectedStdout [426]: sumtype=float,xtype=float,sum=0.34679014 sumtype=float,xtype=float,sum=1.10547011 sumtype=float,xtype=float,sum=1.31007341 sumtype=float,xtype=float,sum=1.69147281 sumtype=float,xtype=absent,sum=1.69147281 sumtype=float,xtype=float,sum=2.21859897 sumtype=float,xtype=float,sum=2.83038303 sumtype=float,xtype=float,sum=3.42893704 sumtype=float,xtype=float,sum=3.46037891 sumtype=float,xtype=float,sum=3.96300492 sum=3.96300492 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0009/cmd Command: mlr put '$z = $x + $y' test/input/typeof.dkvp actualStdout [113]: x=1,y=2,z=3 x=1,y=,z= x=,y=2,z= x=,y=,z= a=1,y=2,z=2 a=1,y= a=,y=2,z=2 a=,y= x=1,b=2,z=1 x=1,b=,z=1 x=,b=2 x=,b= expectedStdout [113]: x=1,y=2,z=3 x=1,y=,z= x=,y=2,z= x=,y=,z= a=1,y=2,z=2 a=1,y= a=,y=2,z=2 a=,y= x=1,b=2,z=1 x=1,b=,z=1 x=,b=2 x=,b= actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0010/cmd Command: mlr put '$z = $x + $u' test/input/typeof.dkvp actualStdout [100]: x=1,y=2,z=1 x=1,y=,z=1 x=,y=2 x=,y= a=1,y=2 a=1,y= a=,y=2 a=,y= x=1,b=2,z=1 x=1,b=,z=1 x=,b=2 x=,b= expectedStdout [100]: x=1,y=2,z=1 x=1,y=,z=1 x=,y=2 x=,y= a=1,y=2 a=1,y= a=,y=2 a=,y= x=1,b=2,z=1 x=1,b=,z=1 x=,b=2 x=,b= actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0011/cmd Command: mlr put '@s = @s + $y; emitp @s' test/input/typeof.dkvp actualStdout [121]: s=2 x=1,y=2 s= x=1,y= s= x=,y=2 s= x=,y= s= a=1,y=2 s= a=1,y= s= a=,y=2 s= a=,y= s= x=1,b=2 s= x=1,b= s= x=,b=2 s= x=,b= expectedStdout [121]: s=2 x=1,y=2 s= x=1,y= s= x=,y=2 s= x=,y= s= a=1,y=2 s= a=1,y= s= a=,y=2 s= a=,y= s= x=1,b=2 s= x=1,b= s= x=,b=2 s= x=,b= actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0013/cmd Command: mlr put '$z = $x + $y; $x=typeof($x);$y=typeof($y);$z=typeof($z)' test/input/typeof.dkvp actualStdout [302]: x=int,y=int,z=int x=int,y=empty,z=empty x=empty,y=int,z=empty x=empty,y=empty,z=empty a=1,y=int,z=int,x=absent a=1,y=empty,x=absent,z=absent a=,y=int,z=int,x=absent a=,y=empty,x=absent,z=absent x=int,b=2,z=int,y=absent x=int,b=,z=int,y=absent x=empty,b=2,y=absent,z=absent x=empty,b=,y=absent,z=absent expectedStdout [302]: x=int,y=int,z=int x=int,y=empty,z=empty x=empty,y=int,z=empty x=empty,y=empty,z=empty a=1,y=int,z=int,x=absent a=1,y=empty,x=absent,z=absent a=,y=int,z=int,x=absent a=,y=empty,x=absent,z=absent x=int,b=2,z=int,y=absent x=int,b=,z=int,y=absent x=empty,b=2,y=absent,z=absent x=empty,b=,y=absent,z=absent actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0014/cmd Command: mlr put '$z = $x + $u; $x=typeof($x);$y=typeof($y);$z=typeof($z)' test/input/typeof.dkvp actualStdout [308]: x=int,y=int,z=int x=int,y=empty,z=int x=empty,y=int,z=absent x=empty,y=empty,z=absent a=1,y=int,x=absent,z=absent a=1,y=empty,x=absent,z=absent a=,y=int,x=absent,z=absent a=,y=empty,x=absent,z=absent x=int,b=2,z=int,y=absent x=int,b=,z=int,y=absent x=empty,b=2,y=absent,z=absent x=empty,b=,y=absent,z=absent expectedStdout [308]: x=int,y=int,z=int x=int,y=empty,z=int x=empty,y=int,z=absent x=empty,y=empty,z=absent a=1,y=int,x=absent,z=absent a=1,y=empty,x=absent,z=absent a=,y=int,x=absent,z=absent a=,y=empty,x=absent,z=absent x=int,b=2,z=int,y=absent x=int,b=,z=int,y=absent x=empty,b=2,y=absent,z=absent x=empty,b=,y=absent,z=absent actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0015/cmd Command: mlr put '@s = @s + $y; $x=typeof($x);$y=typeof($y);$z=typeof($z);$s=typeof(@s)' test/input/typeof.dkvp actualStdout [414]: x=int,y=int,z=absent,s=int x=int,y=empty,z=absent,s=empty x=empty,y=int,z=absent,s=empty x=empty,y=empty,z=absent,s=empty a=1,y=int,x=absent,z=absent,s=empty a=1,y=empty,x=absent,z=absent,s=empty a=,y=int,x=absent,z=absent,s=empty a=,y=empty,x=absent,z=absent,s=empty x=int,b=2,y=absent,z=absent,s=empty x=int,b=,y=absent,z=absent,s=empty x=empty,b=2,y=absent,z=absent,s=empty x=empty,b=,y=absent,z=absent,s=empty expectedStdout [414]: x=int,y=int,z=absent,s=int x=int,y=empty,z=absent,s=empty x=empty,y=int,z=absent,s=empty x=empty,y=empty,z=absent,s=empty a=1,y=int,x=absent,z=absent,s=empty a=1,y=empty,x=absent,z=absent,s=empty a=,y=int,x=absent,z=absent,s=empty a=,y=empty,x=absent,z=absent,s=empty x=int,b=2,y=absent,z=absent,s=empty x=int,b=,y=absent,z=absent,s=empty x=empty,b=2,y=absent,z=absent,s=empty x=empty,b=,y=absent,z=absent,s=empty actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0015/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0015/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0016/cmd Command: mlr put '@s = @s + $u; $x=typeof($x);$y=typeof($y);$z=typeof($z);$s=typeof(@s)' test/input/typeof.dkvp actualStdout [428]: x=int,y=int,z=absent,s=absent x=int,y=empty,z=absent,s=absent x=empty,y=int,z=absent,s=absent x=empty,y=empty,z=absent,s=absent a=1,y=int,x=absent,z=absent,s=absent a=1,y=empty,x=absent,z=absent,s=absent a=,y=int,x=absent,z=absent,s=absent a=,y=empty,x=absent,z=absent,s=absent x=int,b=2,y=absent,z=absent,s=absent x=int,b=,y=absent,z=absent,s=absent x=empty,b=2,y=absent,z=absent,s=absent x=empty,b=,y=absent,z=absent,s=absent expectedStdout [428]: x=int,y=int,z=absent,s=absent x=int,y=empty,z=absent,s=absent x=empty,y=int,z=absent,s=absent x=empty,y=empty,z=absent,s=absent a=1,y=int,x=absent,z=absent,s=absent a=1,y=empty,x=absent,z=absent,s=absent a=,y=int,x=absent,z=absent,s=absent a=,y=empty,x=absent,z=absent,s=absent x=int,b=2,y=absent,z=absent,s=absent x=int,b=,y=absent,z=absent,s=absent x=empty,b=2,y=absent,z=absent,s=absent x=empty,b=,y=absent,z=absent,s=absent actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0016/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0016/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0017/cmd Command: mlr cat test/cases/dsl-absent-empty/0017/input actualStdout [11]: x=1 x= x=7 expectedStdout [11]: x=1 x= x=7 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0017/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0017/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0018/cmd Command: mlr --ofs tab put '$osum=@sum; $ostype=typeof(@sum);$xtype=typeof($x);@sum+=$x; $nstype=typeof(@sum);$nsum=@sum; end { emit @sum }' test/cases/dsl-absent-empty/0018/input actualStdout [155]: x=1 ostype=absent xtype=int nstype=int nsum=1 x= osum=1 ostype=int xtype=empty nstype=empty nsum= x=7 osum= ostype=empty xtype=int nstype=empty nsum= sum= expectedStdout [155]: x=1 ostype=absent xtype=int nstype=int nsum=1 x= osum=1 ostype=int xtype=empty nstype=empty nsum= x=7 osum= ostype=empty xtype=int nstype=empty nsum= sum= actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0018/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0018/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0019/cmd Command: mlr --ofs tab put '$osum=@sum; $ostype=typeof(@sum);$xtype=typeof($x);is_present($x){@sum+=$x}; $nstype=typeof(@sum);$nsum=@sum; end { emit @sum }' test/cases/dsl-absent-empty/0019/input actualStdout [155]: x=1 ostype=absent xtype=int nstype=int nsum=1 x= osum=1 ostype=int xtype=empty nstype=empty nsum= x=7 osum= ostype=empty xtype=int nstype=empty nsum= sum= expectedStdout [155]: x=1 ostype=absent xtype=int nstype=int nsum=1 x= osum=1 ostype=int xtype=empty nstype=empty nsum= x=7 osum= ostype=empty xtype=int nstype=empty nsum= sum= actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0019/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0019/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0020/cmd Command: mlr cat test/cases/dsl-absent-empty/0020/input actualStdout [13]: x=1 xxx= x=7 expectedStdout [13]: x=1 xxx= x=7 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0020/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0020/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0021/cmd Command: mlr --ofs tab put '$osum=@sum; $ostype=typeof(@sum);$xtype=typeof($x);@sum+=$x; $nstype=typeof(@sum);$nsum=@sum; end { emit @sum }' test/cases/dsl-absent-empty/0021/input actualStdout [156]: x=1 ostype=absent xtype=int nstype=int nsum=1 xxx= osum=1 ostype=int xtype=absent nstype=int nsum=1 x=7 osum=1 ostype=int xtype=int nstype=int nsum=8 sum=8 expectedStdout [156]: x=1 ostype=absent xtype=int nstype=int nsum=1 xxx= osum=1 ostype=int xtype=absent nstype=int nsum=1 x=7 osum=1 ostype=int xtype=int nstype=int nsum=8 sum=8 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0021/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0021/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0022/cmd Command: mlr --ofs tab put '$osum=@sum; $ostype=typeof(@sum);$xtype=typeof($x);is_present($x){@sum+=$x}; $nstype=typeof(@sum);$nsum=@sum; end { emit @sum }' test/cases/dsl-absent-empty/0022/input actualStdout [156]: x=1 ostype=absent xtype=int nstype=int nsum=1 xxx= osum=1 ostype=int xtype=absent nstype=int nsum=1 x=7 osum=1 ostype=int xtype=int nstype=int nsum=8 sum=8 expectedStdout [156]: x=1 ostype=absent xtype=int nstype=int nsum=1 xxx= osum=1 ostype=int xtype=absent nstype=int nsum=1 x=7 osum=1 ostype=int xtype=int nstype=int nsum=8 sum=8 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0022/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0022/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0023/cmd Command: mlr cat test/cases/dsl-absent-empty/0023/input actualStdout [14]: x=1 x= y= x=7 expectedStdout [14]: x=1 x= y= x=7 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0023/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0023/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0024/cmd Command: mlr --ofs tab put '$xtype=typeof($x);$sum = $x + 10; $stype=typeof($sum)' test/cases/dsl-absent-empty/0024/input actualStdout [127]: x=1 xtype=int sum=11 stype=int x= xtype=empty sum= stype=empty y= xtype=absent sum=10 stype=int x=7 xtype=int sum=17 stype=int expectedStdout [127]: x=1 xtype=int sum=11 stype=int x= xtype=empty sum= stype=empty y= xtype=absent sum=10 stype=int x=7 xtype=int sum=17 stype=int actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0024/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0024/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/0025/cmd Command: mlr --ofs tab put '$xtype=typeof($x);$sum = is_present($x) ? $x + 10 : 999; $stype=typeof($sum)' test/cases/dsl-absent-empty/0025/input actualStdout [128]: x=1 xtype=int sum=11 stype=int x= xtype=empty sum= stype=empty y= xtype=absent sum=999 stype=int x=7 xtype=int sum=17 stype=int expectedStdout [128]: x=1 xtype=int sum=11 stype=int x= xtype=empty sum= stype=empty y= xtype=absent sum=999 stype=int x=7 xtype=int sum=17 stype=int actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/0025/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/0025/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-absent-empty/dsl-absent-empty/0012/cmd Command: mlr put '@s = @s + $u; emitp @s' test/input/typeof.dkvp actualStdout [84]: x=1,y=2 x=1,y= x=,y=2 x=,y= a=1,y=2 a=1,y= a=,y=2 a=,y= x=1,b=2 x=1,b= x=,b=2 x=,b= expectedStdout [84]: x=1,y=2 x=1,y= x=,y=2 x=,y= a=1,y=2 a=1,y= a=,y=2 a=,y= x=1,b=2 x=1,b= x=,b=2 x=,b= actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-absent-empty/dsl-absent-empty/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-absent-empty/dsl-absent-empty/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-argpass-typedecl/0001/cmd Command: mlr --from test/input/abixy put -f ./test/cases/dsl-argpass-typedecl/0001/mlr Miller DSL script: func f(int i) { return i+3; } $c = f($i); actualStdout [465]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,c=4 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,c=5 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,c=6 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,c=7 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,c=8 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,c=9 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,c=10 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,c=11 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,c=12 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,c=13 expectedStdout [465]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,c=4 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,c=5 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,c=6 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,c=7 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,c=8 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,c=9 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,c=10 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,c=11 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,c=12 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,c=13 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-argpass-typedecl/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-argpass-typedecl/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-argpass-typedecl/0002/cmd Command: mlr --from test/input/abixy put -f ./test/cases/dsl-argpass-typedecl/0002/mlr Miller DSL script: func f(int i) { return i+3; } $c = f($x); actualStdout [0]: expectedStdout [0]: actualStderr [64]: mlr: couldn't assign variable int i from value float 0.34679014 expectedStderr [64]: mlr: couldn't assign variable int i from value float 0.34679014 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-argpass-typedecl/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-argpass-typedecl/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-argpass-typedecl/0003/cmd Command: mlr --from test/input/abixy put -f ./test/cases/dsl-argpass-typedecl/0003/mlr Miller DSL script: func f(num i): int { return i+3.45; } $c = f($x); actualStdout [0]: expectedStdout [0]: actualStderr [84]: mlr: couldn't assign variable int function return value from value float 3.79679014 expectedStderr [84]: mlr: couldn't assign variable int function return value from value float 3.79679014 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-argpass-typedecl/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-argpass-typedecl/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-argpass-typedecl/0004/cmd Command: mlr --from test/input/abixy put -f ./test/cases/dsl-argpass-typedecl/0004/mlr Miller DSL script: func f(num i): int { return i+3.45; } $c = f($i); actualStdout [0]: expectedStdout [0]: actualStderr [84]: mlr: couldn't assign variable int function return value from value float 4.45000000 expectedStderr [84]: mlr: couldn't assign variable int function return value from value float 4.45000000 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-argpass-typedecl/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-argpass-typedecl/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-argpass-typedecl/0005/cmd Command: mlr --from test/input/abixy put -f ./test/cases/dsl-argpass-typedecl/0005/mlr Miller DSL script: func f(num i): int { i = "a"; return 2; } $c = f($x); actualStdout [0]: expectedStdout [0]: actualStderr [81]: mlr: couldn't assign variable int function return value from value error (error) expectedStderr [81]: mlr: couldn't assign variable int function return value from value error (error) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-argpass-typedecl/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-argpass-typedecl/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-argpass-typedecl/0006/cmd Command: mlr --from test/input/abixy put -f ./test/cases/dsl-argpass-typedecl/0006/mlr Miller DSL script: subr s(int i) { print i+3; } call s($i); actualStdout [445]: 4 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 5 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 6 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 7 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 8 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 9 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 10 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 11 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 12 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 13 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [445]: 4 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 5 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 6 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 7 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 8 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 9 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 10 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 11 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 12 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 13 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-argpass-typedecl/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-argpass-typedecl/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-argpass-typedecl/0007/cmd Command: mlr --from test/input/abixy put -f ./test/cases/dsl-argpass-typedecl/0007/mlr Miller DSL script: subr s(int i) { print i+3; } call s($x); actualStdout [0]: expectedStdout [0]: actualStderr [65]: mlr: couldn't assign variable int i from value float 0.34679014 expectedStderr [65]: mlr: couldn't assign variable int i from value float 0.34679014 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-argpass-typedecl/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-argpass-typedecl/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-argpass-typedecl/0008/cmd Command: mlr --from test/input/abixy put -f ./test/cases/dsl-argpass-typedecl/0008/mlr Miller DSL script: subr s(num i) { i = "a"; print 2; } call s($x); actualStdout [0]: expectedStdout [0]: actualStderr [57]: mlr: couldn't assign variable num i from value string a expectedStderr [57]: mlr: couldn't assign variable num i from value string a actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-argpass-typedecl/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-argpass-typedecl/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0001/cmd Command: mlr --oxtab --from test/input/abixy head -n 1 then put -f test/cases/dsl-array-map-indexing/0001/mlr Miller DSL script: $[1] = "A"; actualStdout [46]: a pan b pan i 1 x 0.34679014 y 0.72680286 1 A expectedStdout [46]: a pan b pan i 1 x 0.34679014 y 0.72680286 1 A actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0002/cmd Command: mlr --oxtab --from test/input/abixy head -n 1 then put -f test/cases/dsl-array-map-indexing/0002/mlr Miller DSL script: $[[2]] = "B"; actualStdout [42]: a pan B pan i 1 x 0.34679014 y 0.72680286 expectedStdout [42]: a pan B pan i 1 x 0.34679014 y 0.72680286 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0003/cmd Command: mlr --oxtab --from test/input/abixy head -n 1 then put -f test/cases/dsl-array-map-indexing/0003/mlr Miller DSL script: $[[[3]]] = "C"; actualStdout [42]: a pan b pan i C x 0.34679014 y 0.72680286 expectedStdout [42]: a pan b pan i C x 0.34679014 y 0.72680286 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0004/cmd Command: mlr --oxtab --from test/input/abixy head -n 1 then put -f test/cases/dsl-array-map-indexing/0004/mlr Miller DSL script: $*[1] = "A"; actualStdout [46]: a pan b pan i 1 x 0.34679014 y 0.72680286 1 A expectedStdout [46]: a pan b pan i 1 x 0.34679014 y 0.72680286 1 A actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0005/cmd Command: mlr --oxtab --from test/input/abixy head -n 1 then put -f test/cases/dsl-array-map-indexing/0005/mlr Miller DSL script: $*[[2]] = "B"; actualStdout [0]: expectedStdout [0]: actualStderr [95]: mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'. expectedStderr [95]: mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-array-map-indexing/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0006/cmd Command: mlr --oxtab --from test/input/abixy head -n 1 then put -f test/cases/dsl-array-map-indexing/0006/mlr Miller DSL script: $*[[[3]]] = "C"; actualStdout [0]: expectedStdout [0]: actualStderr [97]: mlr: '[[[...]]]' is allowed on assignment left-hand sides only when immediately preceded by '$'. expectedStderr [97]: mlr: '[[[...]]]' is allowed on assignment left-hand sides only when immediately preceded by '$'. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-array-map-indexing/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0007/cmd Command: mlr --oxtab --from test/input/abixy head -n 1 then put -f ./test/cases/dsl-array-map-indexing/0007/mlr Miller DSL script: m = $*; m[1] = "A"; m[[2]] = "B"; m[[[3]]] = "C"; emit m; actualStdout [0]: expectedStdout [0]: actualStderr [95]: mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'. expectedStderr [95]: mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-array-map-indexing/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0008/cmd Command: mlr --oxtab --from test/input/abixy head -n 1 then put -f ./test/cases/dsl-array-map-indexing/0008/mlr Miller DSL script: $_1 = ""; # just for visual output-spacing $srec_keyed_by_2 = $[2]; $srec_name_2 = $[[2]]; $srec_value_2 = $[[[2]]]; $_2 = ""; $dollar_star_keyed_by_2 = $*[2]; $dollar_star_name_2 = $*[[2]]; $dollar_star_value_2 = $*[[[2]]]; $_3 = ""; mymap = {"a":7, "b":8, "c":9}; $mymap_keyed_by_2 = mymap[2]; $mymap_name_2 = mymap[[2]]; $mymap_value_2 = mymap[[[2]]]; $_4 = ""; myarray = [7, 8, 9]; $myarray_keyed_by_2 = myarray[2]; $myarray_name_2 = myarray[[2]]; $myarray_value_2 = myarray[[[2]]]; actualStdout [418]: a pan b pan i 1 x 0.34679014 y 0.72680286 _1 srec_name_2 b srec_value_2 pan _2 dollar_star_name_2 b dollar_star_value_2 pan _3 mymap_name_2 b mymap_value_2 8 _4 myarray_keyed_by_2 8 myarray_name_2 2 myarray_value_2 8 expectedStdout [418]: a pan b pan i 1 x 0.34679014 y 0.72680286 _1 srec_name_2 b srec_value_2 pan _2 dollar_star_name_2 b dollar_star_value_2 pan _3 mymap_name_2 b mymap_value_2 8 _4 myarray_keyed_by_2 8 myarray_name_2 2 myarray_value_2 8 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0009/cmd Command: mlr --oxtab --from test/input/abixy head -n 1 then put -f ./test/cases/dsl-array-map-indexing/0009/mlr Miller DSL script: $_1 = ""; # just for visual output-spacing $srec_keyed_by_2 = $[900]; $srec_name_2 = $[[900]]; $srec_value_2 = $[[[900]]]; $_2 = ""; $dollar_star_keyed_by_2 = $*[900]; $dollar_star_name_2 = $*[[900]]; $dollar_star_value_2 = $*[[[900]]]; $_3 = ""; mymap = {"a":7, "b":8, "c":9}; $mymap_keyed_by_2 = mymap[900]; $mymap_name_2 = mymap[[900]]; $mymap_value_2 = mymap[[[900]]]; $_4 = ""; myarray = [7, 8, 9]; $myarray_keyed_by_2 = myarray[900]; $myarray_name_2 = myarray[[900]]; $myarray_value_2 = myarray[[[900]]]; actualStdout [63]: a pan b pan i 1 x 0.34679014 y 0.72680286 _1 _2 _3 _4 expectedStdout [63]: a pan b pan i 1 x 0.34679014 y 0.72680286 _1 _2 _3 _4 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0010/cmd Command: mlr --ojson --from test/input/abixy head -n 1 then put -f ./test/cases/dsl-array-map-indexing/0010/mlr Miller DSL script: $o = { "a": { "x": [1,2,3], "y": [4,5,6], }, "b": { "s": [7,8,9], "t": [9,5,1], }, }; # Expect "(error)" in the output data since strings are not map-indexable $z = $o[[1]]["x"]; actualStdout [234]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "o": { "a": { "x": [1, 2, 3], "y": [4, 5, 6] }, "b": { "s": [7, 8, 9], "t": [9, 5, 1] } }, "z": (error) } ] expectedStdout [234]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "o": { "a": { "x": [1, 2, 3], "y": [4, 5, 6] }, "b": { "s": [7, 8, 9], "t": [9, 5, 1] } }, "z": (error) } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0011/cmd Command: mlr --ojson --from test/input/abixy head -n 1 then put -f ./test/cases/dsl-array-map-indexing/0011/mlr Miller DSL script: $o = { "a": { "x": [1,2,3], "y": [4,5,6], }, "b": { "s": [7,8,9], "t": [9,5,1], }, }; $z = $o[[[1]]]["x"]; actualStdout [236]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "o": { "a": { "x": [1, 2, 3], "y": [4, 5, 6] }, "b": { "s": [7, 8, 9], "t": [9, 5, 1] } }, "z": [1, 2, 3] } ] expectedStdout [236]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "o": { "a": { "x": [1, 2, 3], "y": [4, 5, 6] }, "b": { "s": [7, 8, 9], "t": [9, 5, 1] } }, "z": [1, 2, 3] } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0012/cmd Command: mlr --ojson --from test/input/abixy head -n 1 then put -f ./test/cases/dsl-array-map-indexing/0012/mlr Miller DSL script: $o = { "a": { "x": [1,2,3], "y": [4,5,6], }, "b": { "s": [7,8,9], "t": [9,5,1], }, }; $z = $o["a"][[1]]; actualStdout [230]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "o": { "a": { "x": [1, 2, 3], "y": [4, 5, 6] }, "b": { "s": [7, 8, 9], "t": [9, 5, 1] } }, "z": "x" } ] expectedStdout [230]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "o": { "a": { "x": [1, 2, 3], "y": [4, 5, 6] }, "b": { "s": [7, 8, 9], "t": [9, 5, 1] } }, "z": "x" } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0013/cmd Command: mlr --ojson --from test/input/abixy head -n 1 then put -f ./test/cases/dsl-array-map-indexing/0013/mlr Miller DSL script: $o = { "a": { "x": [1,2,3], "y": [4,5,6], }, "b": { "s": [7,8,9], "t": [9,5,1], }, }; $z = $o["a"][[[1]]]; actualStdout [236]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "o": { "a": { "x": [1, 2, 3], "y": [4, 5, 6] }, "b": { "s": [7, 8, 9], "t": [9, 5, 1] } }, "z": [1, 2, 3] } ] expectedStdout [236]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "o": { "a": { "x": [1, 2, 3], "y": [4, 5, 6] }, "b": { "s": [7, 8, 9], "t": [9, 5, 1] } }, "z": [1, 2, 3] } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0014/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-array-map-indexing/0014/mlr Miller DSL script: $z = [$a,$b,$i,$x,$y][1] actualStdout [178]: a b i x y z pan pan 1 0.34679014 0.72680286 pan eks pan 2 0.75867996 0.52215111 eks wye wye 3 0.20460331 0.33831853 wye eks wye 4 0.38139939 0.13418874 eks expectedStdout [178]: a b i x y z pan pan 1 0.34679014 0.72680286 pan eks pan 2 0.75867996 0.52215111 eks wye wye 3 0.20460331 0.33831853 wye eks wye 4 0.38139939 0.13418874 eks actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0015/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-array-map-indexing/0015/mlr Miller DSL script: $z = [$a,$b,$i,$x,$y][-1] actualStdout [206]: a b i x y z pan pan 1 0.34679014 0.72680286 0.72680286 eks pan 2 0.75867996 0.52215111 0.52215111 wye wye 3 0.20460331 0.33831853 0.33831853 eks wye 4 0.38139939 0.13418874 0.13418874 expectedStdout [206]: a b i x y z pan pan 1 0.34679014 0.72680286 0.72680286 eks pan 2 0.75867996 0.52215111 0.52215111 wye wye 3 0.20460331 0.33831853 0.33831853 eks wye 4 0.38139939 0.13418874 0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0015/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0015/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0016/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-array-map-indexing/0016/mlr Miller DSL script: $z = [$a,$b,$i,$x,$y][NR] actualStdout [183]: a b i x y z pan pan 1 0.34679014 0.72680286 pan eks pan 2 0.75867996 0.52215111 pan wye wye 3 0.20460331 0.33831853 3 eks wye 4 0.38139939 0.13418874 0.38139939 expectedStdout [183]: a b i x y z pan pan 1 0.34679014 0.72680286 pan eks pan 2 0.75867996 0.52215111 pan wye wye 3 0.20460331 0.33831853 3 eks wye 4 0.38139939 0.13418874 0.38139939 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0016/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0016/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0017/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-array-map-indexing/0017/mlr Miller DSL script: $z = [$a,$b,$i,$x,$y][900] actualStdout [151]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 expectedStdout [151]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0017/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0017/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0018/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-array-map-indexing/0018/mlr Miller DSL script: $z = [$a,$b,$i,$x,$y][[1]] actualStdout [170]: a b i x y z pan pan 1 0.34679014 0.72680286 1 eks pan 2 0.75867996 0.52215111 1 wye wye 3 0.20460331 0.33831853 1 eks wye 4 0.38139939 0.13418874 1 expectedStdout [170]: a b i x y z pan pan 1 0.34679014 0.72680286 1 eks pan 2 0.75867996 0.52215111 1 wye wye 3 0.20460331 0.33831853 1 eks wye 4 0.38139939 0.13418874 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0018/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0018/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0019/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-array-map-indexing/0019/mlr Miller DSL script: $z = [$a,$b,$i,$x,$y][[-1]] actualStdout [170]: a b i x y z pan pan 1 0.34679014 0.72680286 5 eks pan 2 0.75867996 0.52215111 5 wye wye 3 0.20460331 0.33831853 5 eks wye 4 0.38139939 0.13418874 5 expectedStdout [170]: a b i x y z pan pan 1 0.34679014 0.72680286 5 eks pan 2 0.75867996 0.52215111 5 wye wye 3 0.20460331 0.33831853 5 eks wye 4 0.38139939 0.13418874 5 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0019/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0019/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0020/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-array-map-indexing/0020/mlr Miller DSL script: $z = [$a,$b,$i,$x,$y][[NR]] actualStdout [170]: a b i x y z pan pan 1 0.34679014 0.72680286 1 eks pan 2 0.75867996 0.52215111 2 wye wye 3 0.20460331 0.33831853 3 eks wye 4 0.38139939 0.13418874 4 expectedStdout [170]: a b i x y z pan pan 1 0.34679014 0.72680286 1 eks pan 2 0.75867996 0.52215111 2 wye wye 3 0.20460331 0.33831853 3 eks wye 4 0.38139939 0.13418874 4 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0020/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0020/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0021/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-array-map-indexing/0021/mlr Miller DSL script: $z = [$a,$b,$i,$x,$y][[900]] actualStdout [151]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 expectedStdout [151]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0021/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0021/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0022/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-array-map-indexing/0022/mlr Miller DSL script: $z = [$a,$b,$i,$x,$y][[[1]]] actualStdout [178]: a b i x y z pan pan 1 0.34679014 0.72680286 pan eks pan 2 0.75867996 0.52215111 eks wye wye 3 0.20460331 0.33831853 wye eks wye 4 0.38139939 0.13418874 eks expectedStdout [178]: a b i x y z pan pan 1 0.34679014 0.72680286 pan eks pan 2 0.75867996 0.52215111 eks wye wye 3 0.20460331 0.33831853 wye eks wye 4 0.38139939 0.13418874 eks actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0022/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0022/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0023/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-array-map-indexing/0023/mlr Miller DSL script: $z = [$a,$b,$i,$x,$y][[[-1]]] actualStdout [206]: a b i x y z pan pan 1 0.34679014 0.72680286 0.72680286 eks pan 2 0.75867996 0.52215111 0.52215111 wye wye 3 0.20460331 0.33831853 0.33831853 eks wye 4 0.38139939 0.13418874 0.13418874 expectedStdout [206]: a b i x y z pan pan 1 0.34679014 0.72680286 0.72680286 eks pan 2 0.75867996 0.52215111 0.52215111 wye wye 3 0.20460331 0.33831853 0.33831853 eks wye 4 0.38139939 0.13418874 0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0023/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0023/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0024/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-array-map-indexing/0024/mlr Miller DSL script: $z = [$a,$b,$i,$x,$y][[[NR]]] actualStdout [183]: a b i x y z pan pan 1 0.34679014 0.72680286 pan eks pan 2 0.75867996 0.52215111 pan wye wye 3 0.20460331 0.33831853 3 eks wye 4 0.38139939 0.13418874 0.38139939 expectedStdout [183]: a b i x y z pan pan 1 0.34679014 0.72680286 pan eks pan 2 0.75867996 0.52215111 pan wye wye 3 0.20460331 0.33831853 3 eks wye 4 0.38139939 0.13418874 0.38139939 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0024/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0024/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0025/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-array-map-indexing/0025/mlr Miller DSL script: $z = [$a,$b,$i,$x,$y][[[900]]] actualStdout [151]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 expectedStdout [151]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0025/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0025/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0026/cmd Command: mlr --opprint put -f test/cases/dsl-array-map-indexing/0026/mlr test/input/abixy Miller DSL script: unset $c actualStdout [354]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 expectedStdout [354]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0026/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0026/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0027/cmd Command: mlr --opprint put -f test/cases/dsl-array-map-indexing/0027/mlr test/input/abixy Miller DSL script: unset $c; $c="new" actualStdout [405]: a b i x y c pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new zee wye 8 0.59855401 0.97618139 new hat wye 9 0.03144188 0.74955076 new pan wye 10 0.50262601 0.95261836 new expectedStdout [405]: a b i x y c pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new zee wye 8 0.59855401 0.97618139 new hat wye 9 0.03144188 0.74955076 new pan wye 10 0.50262601 0.95261836 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0027/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0027/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0028/cmd Command: mlr --opprint put -f test/cases/dsl-array-map-indexing/0028/mlr test/input/abixy Miller DSL script: $c=$a.$b; unset $c; $c="new" actualStdout [405]: a b i x y c pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new zee wye 8 0.59855401 0.97618139 new hat wye 9 0.03144188 0.74955076 new pan wye 10 0.50262601 0.95261836 new expectedStdout [405]: a b i x y c pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new zee wye 8 0.59855401 0.97618139 new hat wye 9 0.03144188 0.74955076 new pan wye 10 0.50262601 0.95261836 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0028/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0028/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0029/cmd Command: mlr --opprint put -f test/cases/dsl-array-map-indexing/0029/mlr test/input/abixy Miller DSL script: $c=$a.$b; unset $c actualStdout [354]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 expectedStdout [354]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0029/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0029/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0030/cmd Command: mlr --opprint put -f test/cases/dsl-array-map-indexing/0030/mlr test/input/abixy Miller DSL script: unset $[[1]] actualStdout [310]: b i x y pan 1 0.34679014 0.72680286 pan 2 0.75867996 0.52215111 wye 3 0.20460331 0.33831853 wye 4 0.38139939 0.13418874 pan 5 0.57328892 0.86362447 pan 6 0.52712616 0.49322129 zee 7 0.61178406 0.18788492 wye 8 0.59855401 0.97618139 wye 9 0.03144188 0.74955076 wye 10 0.50262601 0.95261836 expectedStdout [310]: b i x y pan 1 0.34679014 0.72680286 pan 2 0.75867996 0.52215111 wye 3 0.20460331 0.33831853 wye 4 0.38139939 0.13418874 pan 5 0.57328892 0.86362447 pan 6 0.52712616 0.49322129 zee 7 0.61178406 0.18788492 wye 8 0.59855401 0.97618139 wye 9 0.03144188 0.74955076 wye 10 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0030/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0030/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0031/cmd Command: mlr --opprint put -f test/cases/dsl-array-map-indexing/0031/mlr test/input/abixy Miller DSL script: unset $[[9]] actualStdout [354]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 expectedStdout [354]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0031/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0031/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0032/cmd Command: mlr --oxtab --from test/input/abixy head -n 1 then put -f test/cases/dsl-array-map-indexing/0032/mlr Miller DSL script: unset $[1]; actualStdout [42]: a pan b pan i 1 x 0.34679014 y 0.72680286 expectedStdout [42]: a pan b pan i 1 x 0.34679014 y 0.72680286 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0032/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0032/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0033/cmd Command: mlr --oxtab --from test/input/abixy head -n 1 then put -f test/cases/dsl-array-map-indexing/0033/mlr Miller DSL script: unset $[[2]]; actualStdout [36]: a pan i 1 x 0.34679014 y 0.72680286 expectedStdout [36]: a pan i 1 x 0.34679014 y 0.72680286 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0033/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0033/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0034/cmd Command: mlr --oxtab --from test/input/abixy head -n 1 then put -f test/cases/dsl-array-map-indexing/0034/mlr Miller DSL script: unset $[[[3]]]; actualStdout [38]: a pan b pan x 0.34679014 y 0.72680286 expectedStdout [38]: a pan b pan x 0.34679014 y 0.72680286 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0034/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0034/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0035/cmd Command: mlr --oxtab -n put -q -f ./test/cases/dsl-array-map-indexing/0035/mlr Miller DSL script: end { @m = { "a": { "x": [1,2,3], "y": [4,5,6], }, "b": { "s": [7,8,9], "t": [9,5,1], }, }; unset @m[[1]]; emit @m; } actualStdout [0]: expectedStdout [0]: actualStderr [95]: mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'. expectedStderr [95]: mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-array-map-indexing/0035/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0035/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0036/cmd Command: mlr --oxtab -n put -q -f ./test/cases/dsl-array-map-indexing/0036/mlr Miller DSL script: end { @m = { "a": { "x": [1,2,3], "y": [4,5,6], }, "b": { "s": [7,8,9], "t": [9,5,1], }, }; unset @m["a"][[1]]; emit @m; } actualStdout [0]: expectedStdout [0]: actualStderr [95]: mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'. expectedStderr [95]: mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-array-map-indexing/0036/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0036/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0037/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0037/mlr Miller DSL script: $[1] = "new" actualStdout [286]: a b i x y 1 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new expectedStdout [286]: a b i x y 1 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0037/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0037/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0038/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0038/mlr Miller DSL script: $[2] = "new" actualStdout [286]: a b i x y 2 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new expectedStdout [286]: a b i x y 2 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0038/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0038/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0039/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0039/mlr Miller DSL script: $[5] = "new" actualStdout [286]: a b i x y 5 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new expectedStdout [286]: a b i x y 5 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0039/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0039/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0040/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0040/mlr Miller DSL script: $[-1] = "new" actualStdout [287]: a b i x y -1 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new expectedStdout [287]: a b i x y -1 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0040/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0040/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0041/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0041/mlr Miller DSL script: $[-2] = "new" actualStdout [287]: a b i x y -2 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new expectedStdout [287]: a b i x y -2 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0041/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0041/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0042/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0042/mlr Miller DSL script: $[-5] = "new" actualStdout [287]: a b i x y -5 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new expectedStdout [287]: a b i x y -5 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0042/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0042/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0043/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0043/mlr Miller DSL script: @idx = NR % 5; @idx = @idx == 0 ? 5 : @idx; $[@idx] = "NEW" actualStdout [496]: a b i x y 1 pan pan 1 0.34679014 0.72680286 NEW a b i x y 2 eks pan 2 0.75867996 0.52215111 NEW a b i x y 3 wye wye 3 0.20460331 0.33831853 NEW a b i x y 4 eks wye 4 0.38139939 0.13418874 NEW a b i x y 5 wye pan 5 0.57328892 0.86362447 NEW a b i x y 1 zee pan 6 0.52712616 0.49322129 NEW a b i x y 2 eks zee 7 0.61178406 0.18788492 NEW expectedStdout [496]: a b i x y 1 pan pan 1 0.34679014 0.72680286 NEW a b i x y 2 eks pan 2 0.75867996 0.52215111 NEW a b i x y 3 wye wye 3 0.20460331 0.33831853 NEW a b i x y 4 eks wye 4 0.38139939 0.13418874 NEW a b i x y 5 wye pan 5 0.57328892 0.86362447 NEW a b i x y 1 zee pan 6 0.52712616 0.49322129 NEW a b i x y 2 eks zee 7 0.61178406 0.18788492 NEW actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0043/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0043/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0044/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0044/mlr Miller DSL script: $[1] = "new" actualStdout [286]: a b i x y 1 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new expectedStdout [286]: a b i x y 1 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0044/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0044/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0045/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0045/mlr Miller DSL script: $[2] = "new" actualStdout [286]: a b i x y 2 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new expectedStdout [286]: a b i x y 2 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0045/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0045/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0046/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0046/mlr Miller DSL script: $[5] = "new" actualStdout [286]: a b i x y 5 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new expectedStdout [286]: a b i x y 5 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0046/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0046/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0047/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0047/mlr Miller DSL script: $[-1] = "new" actualStdout [287]: a b i x y -1 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new expectedStdout [287]: a b i x y -1 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0047/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0047/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0048/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0048/mlr Miller DSL script: $[-2] = "new" actualStdout [287]: a b i x y -2 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new expectedStdout [287]: a b i x y -2 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0048/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0048/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0049/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0049/mlr Miller DSL script: $[-5] = "new" actualStdout [287]: a b i x y -5 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new expectedStdout [287]: a b i x y -5 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0049/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0049/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0050/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0050/mlr Miller DSL script: $[[1]] = "new" actualStdout [247]: new b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 expectedStdout [247]: new b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0050/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0050/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0051/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0051/mlr Miller DSL script: $[[2]] = "new" actualStdout [247]: a new i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 expectedStdout [247]: a new i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0051/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0051/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0052/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0052/mlr Miller DSL script: $[[5]] = "new" actualStdout [249]: a b i x new pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 expectedStdout [249]: a b i x new pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0052/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0052/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0053/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0053/mlr Miller DSL script: $[[-1]] = "new" actualStdout [249]: a b i x new pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 expectedStdout [249]: a b i x new pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0053/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0053/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0054/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0054/mlr Miller DSL script: $[[-2]] = "new" actualStdout [247]: a b i new y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 expectedStdout [247]: a b i new y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0054/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0054/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0055/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0055/mlr Miller DSL script: $[[-5]] = "new" actualStdout [247]: new b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 expectedStdout [247]: new b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0055/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0055/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0056/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0056/mlr Miller DSL script: $[[[1]]] = "new" actualStdout [247]: a b i x y new pan 1 0.34679014 0.72680286 new pan 2 0.75867996 0.52215111 new wye 3 0.20460331 0.33831853 new wye 4 0.38139939 0.13418874 new pan 5 0.57328892 0.86362447 new pan 6 0.52712616 0.49322129 new zee 7 0.61178406 0.18788492 expectedStdout [247]: a b i x y new pan 1 0.34679014 0.72680286 new pan 2 0.75867996 0.52215111 new wye 3 0.20460331 0.33831853 new wye 4 0.38139939 0.13418874 new pan 5 0.57328892 0.86362447 new pan 6 0.52712616 0.49322129 new zee 7 0.61178406 0.18788492 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0056/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0056/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0057/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0057/mlr Miller DSL script: $[[[2]]] = "new" actualStdout [247]: a b i x y pan new 1 0.34679014 0.72680286 eks new 2 0.75867996 0.52215111 wye new 3 0.20460331 0.33831853 eks new 4 0.38139939 0.13418874 wye new 5 0.57328892 0.86362447 zee new 6 0.52712616 0.49322129 eks new 7 0.61178406 0.18788492 expectedStdout [247]: a b i x y pan new 1 0.34679014 0.72680286 eks new 2 0.75867996 0.52215111 wye new 3 0.20460331 0.33831853 eks new 4 0.38139939 0.13418874 wye new 5 0.57328892 0.86362447 zee new 6 0.52712616 0.49322129 eks new 7 0.61178406 0.18788492 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0057/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0057/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0058/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0058/mlr Miller DSL script: $[[[5]]] = "new" actualStdout [198]: a b i x y pan pan 1 0.34679014 new eks pan 2 0.75867996 new wye wye 3 0.20460331 new eks wye 4 0.38139939 new wye pan 5 0.57328892 new zee pan 6 0.52712616 new eks zee 7 0.61178406 new expectedStdout [198]: a b i x y pan pan 1 0.34679014 new eks pan 2 0.75867996 new wye wye 3 0.20460331 new eks wye 4 0.38139939 new wye pan 5 0.57328892 new zee pan 6 0.52712616 new eks zee 7 0.61178406 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0058/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0058/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0059/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0059/mlr Miller DSL script: $[[[-1]]] = "new" actualStdout [198]: a b i x y pan pan 1 0.34679014 new eks pan 2 0.75867996 new wye wye 3 0.20460331 new eks wye 4 0.38139939 new wye pan 5 0.57328892 new zee pan 6 0.52712616 new eks zee 7 0.61178406 new expectedStdout [198]: a b i x y pan pan 1 0.34679014 new eks pan 2 0.75867996 new wye wye 3 0.20460331 new eks wye 4 0.38139939 new wye pan 5 0.57328892 new zee pan 6 0.52712616 new eks zee 7 0.61178406 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0059/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0059/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0060/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0060/mlr Miller DSL script: $[[[-2]]] = "new" actualStdout [191]: a b i x y pan pan 1 new 0.72680286 eks pan 2 new 0.52215111 wye wye 3 new 0.33831853 eks wye 4 new 0.13418874 wye pan 5 new 0.86362447 zee pan 6 new 0.49322129 eks zee 7 new 0.18788492 expectedStdout [191]: a b i x y pan pan 1 new 0.72680286 eks pan 2 new 0.52215111 wye wye 3 new 0.33831853 eks wye 4 new 0.13418874 wye pan 5 new 0.86362447 zee pan 6 new 0.49322129 eks zee 7 new 0.18788492 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0060/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0060/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0061/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0061/mlr Miller DSL script: $[[[-5]]] = "new" actualStdout [247]: a b i x y new pan 1 0.34679014 0.72680286 new pan 2 0.75867996 0.52215111 new wye 3 0.20460331 0.33831853 new wye 4 0.38139939 0.13418874 new pan 5 0.57328892 0.86362447 new pan 6 0.52712616 0.49322129 new zee 7 0.61178406 0.18788492 expectedStdout [247]: a b i x y new pan 1 0.34679014 0.72680286 new pan 2 0.75867996 0.52215111 new wye 3 0.20460331 0.33831853 new wye 4 0.38139939 0.13418874 new pan 5 0.57328892 0.86362447 new pan 6 0.52712616 0.49322129 new zee 7 0.61178406 0.18788492 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0061/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0061/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0062/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0062/mlr Miller DSL script: $*[1] = "new" actualStdout [286]: a b i x y 1 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new expectedStdout [286]: a b i x y 1 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0062/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0062/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0063/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0063/mlr Miller DSL script: $*[2] = "new" actualStdout [286]: a b i x y 2 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new expectedStdout [286]: a b i x y 2 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0063/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0063/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0064/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0064/mlr Miller DSL script: $*[5] = "new" actualStdout [286]: a b i x y 5 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new expectedStdout [286]: a b i x y 5 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0064/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0064/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0065/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0065/mlr Miller DSL script: $*[-1] = "new" actualStdout [287]: a b i x y -1 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new expectedStdout [287]: a b i x y -1 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0065/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0065/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0066/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0066/mlr Miller DSL script: $*[-2] = "new" actualStdout [287]: a b i x y -2 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new expectedStdout [287]: a b i x y -2 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0066/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0066/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0067/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0067/mlr Miller DSL script: $*[-5] = "new" actualStdout [287]: a b i x y -5 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new expectedStdout [287]: a b i x y -5 pan pan 1 0.34679014 0.72680286 new eks pan 2 0.75867996 0.52215111 new wye wye 3 0.20460331 0.33831853 new eks wye 4 0.38139939 0.13418874 new wye pan 5 0.57328892 0.86362447 new zee pan 6 0.52712616 0.49322129 new eks zee 7 0.61178406 0.18788492 new actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0067/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0067/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0068/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0068/mlr Miller DSL script: $*[[1]] = "new" actualStdout [0]: expectedStdout [0]: actualStderr [95]: mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'. expectedStderr [95]: mlr: '[[...]]' is allowed on assignment left-hand sides only when immediately preceded by '$'. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-array-map-indexing/0068/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0068/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0069/cmd Command: mlr --opprint --from test/input/s.dkvp --from test/input/t.dkvp put -f test/cases/dsl-array-map-indexing/0069/mlr Miller DSL script: $*[[[1]]] = "new" actualStdout [0]: expectedStdout [0]: actualStderr [97]: mlr: '[[[...]]]' is allowed on assignment left-hand sides only when immediately preceded by '$'. expectedStderr [97]: mlr: '[[[...]]]' is allowed on assignment left-hand sides only when immediately preceded by '$'. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-array-map-indexing/0069/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0069/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0070/cmd Command: mlr --opprint put -f test/cases/dsl-array-map-indexing/0070/mlr test/input/abixy Miller DSL script: $NEW = $[[3]] actualStdout [387]: a b i x y NEW pan pan 1 0.34679014 0.72680286 i eks pan 2 0.75867996 0.52215111 i wye wye 3 0.20460331 0.33831853 i eks wye 4 0.38139939 0.13418874 i wye pan 5 0.57328892 0.86362447 i zee pan 6 0.52712616 0.49322129 i eks zee 7 0.61178406 0.18788492 i zee wye 8 0.59855401 0.97618139 i hat wye 9 0.03144188 0.74955076 i pan wye 10 0.50262601 0.95261836 i expectedStdout [387]: a b i x y NEW pan pan 1 0.34679014 0.72680286 i eks pan 2 0.75867996 0.52215111 i wye wye 3 0.20460331 0.33831853 i eks wye 4 0.38139939 0.13418874 i wye pan 5 0.57328892 0.86362447 i zee pan 6 0.52712616 0.49322129 i eks zee 7 0.61178406 0.18788492 i zee wye 8 0.59855401 0.97618139 i hat wye 9 0.03144188 0.74955076 i pan wye 10 0.50262601 0.95261836 i actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0070/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0070/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0071/cmd Command: mlr --opprint put -f test/cases/dsl-array-map-indexing/0071/mlr test/input/abixy Miller DSL script: $NEW = $[[[3]]] actualStdout [388]: a b i x y NEW pan pan 1 0.34679014 0.72680286 1 eks pan 2 0.75867996 0.52215111 2 wye wye 3 0.20460331 0.33831853 3 eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 expectedStdout [388]: a b i x y NEW pan pan 1 0.34679014 0.72680286 1 eks pan 2 0.75867996 0.52215111 2 wye wye 3 0.20460331 0.33831853 3 eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0071/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0071/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0072/cmd Command: mlr --opprint put -f test/cases/dsl-array-map-indexing/0072/mlr test/input/abixy Miller DSL script: $NEW = $[[11]] actualStdout [354]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 expectedStdout [354]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0072/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0072/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0073/cmd Command: mlr --opprint put -f test/cases/dsl-array-map-indexing/0073/mlr test/input/abixy Miller DSL script: $NEW = $[[[11]]] actualStdout [354]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 expectedStdout [354]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0073/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0073/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0074/cmd Command: mlr --opprint put -f test/cases/dsl-array-map-indexing/0074/mlr test/input/abixy Miller DSL script: $[[3]] = "NEW" actualStdout [365]: a b NEW x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 expectedStdout [365]: a b NEW x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0074/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0074/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0075/cmd Command: mlr --opprint put -f test/cases/dsl-array-map-indexing/0075/mlr test/input/abixy Miller DSL script: $[[[3]]] = "NEW" actualStdout [365]: a b i x y pan pan NEW 0.34679014 0.72680286 eks pan NEW 0.75867996 0.52215111 wye wye NEW 0.20460331 0.33831853 eks wye NEW 0.38139939 0.13418874 wye pan NEW 0.57328892 0.86362447 zee pan NEW 0.52712616 0.49322129 eks zee NEW 0.61178406 0.18788492 zee wye NEW 0.59855401 0.97618139 hat wye NEW 0.03144188 0.74955076 pan wye NEW 0.50262601 0.95261836 expectedStdout [365]: a b i x y pan pan NEW 0.34679014 0.72680286 eks pan NEW 0.75867996 0.52215111 wye wye NEW 0.20460331 0.33831853 eks wye NEW 0.38139939 0.13418874 wye pan NEW 0.57328892 0.86362447 zee pan NEW 0.52712616 0.49322129 eks zee NEW 0.61178406 0.18788492 zee wye NEW 0.59855401 0.97618139 hat wye NEW 0.03144188 0.74955076 pan wye NEW 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0075/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0075/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0076/cmd Command: mlr --opprint put -f test/cases/dsl-array-map-indexing/0076/mlr test/input/abixy Miller DSL script: $[[11]] = "NEW" actualStdout [354]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 expectedStdout [354]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0076/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0076/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0077/cmd Command: mlr --opprint put -f test/cases/dsl-array-map-indexing/0077/mlr test/input/abixy Miller DSL script: $[[[11]]] = "NEW" actualStdout [354]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 expectedStdout [354]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0077/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0077/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0078/cmd Command: mlr --opprint put -f test/cases/dsl-array-map-indexing/0078/mlr test/input/abixy Miller DSL script: $[[1]] = $[[2]] actualStdout [310]: b i x y pan 1 0.34679014 0.72680286 eks 2 0.75867996 0.52215111 wye 3 0.20460331 0.33831853 eks 4 0.38139939 0.13418874 wye 5 0.57328892 0.86362447 zee 6 0.52712616 0.49322129 eks 7 0.61178406 0.18788492 zee 8 0.59855401 0.97618139 hat 9 0.03144188 0.74955076 pan 10 0.50262601 0.95261836 expectedStdout [310]: b i x y pan 1 0.34679014 0.72680286 eks 2 0.75867996 0.52215111 wye 3 0.20460331 0.33831853 eks 4 0.38139939 0.13418874 wye 5 0.57328892 0.86362447 zee 6 0.52712616 0.49322129 eks 7 0.61178406 0.18788492 zee 8 0.59855401 0.97618139 hat 9 0.03144188 0.74955076 pan 10 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0078/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0078/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0079/cmd Command: mlr --opprint put -f test/cases/dsl-array-map-indexing/0079/mlr test/input/abixy Miller DSL script: $a = $[[2]]; unset $["a"] actualStdout [310]: b i x y pan 1 0.34679014 0.72680286 pan 2 0.75867996 0.52215111 wye 3 0.20460331 0.33831853 wye 4 0.38139939 0.13418874 pan 5 0.57328892 0.86362447 pan 6 0.52712616 0.49322129 zee 7 0.61178406 0.18788492 wye 8 0.59855401 0.97618139 wye 9 0.03144188 0.74955076 wye 10 0.50262601 0.95261836 expectedStdout [310]: b i x y pan 1 0.34679014 0.72680286 pan 2 0.75867996 0.52215111 wye 3 0.20460331 0.33831853 wye 4 0.38139939 0.13418874 pan 5 0.57328892 0.86362447 pan 6 0.52712616 0.49322129 zee 7 0.61178406 0.18788492 wye 8 0.59855401 0.97618139 wye 9 0.03144188 0.74955076 wye 10 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0079/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0079/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0080/cmd Command: mlr --opprint put -f test/cases/dsl-array-map-indexing/0080/mlr test/input/abixy Miller DSL script: $[[1]] = $b; unset $[[1]] actualStdout [310]: b i x y pan 1 0.34679014 0.72680286 pan 2 0.75867996 0.52215111 wye 3 0.20460331 0.33831853 wye 4 0.38139939 0.13418874 pan 5 0.57328892 0.86362447 pan 6 0.52712616 0.49322129 zee 7 0.61178406 0.18788492 wye 8 0.59855401 0.97618139 wye 9 0.03144188 0.74955076 wye 10 0.50262601 0.95261836 expectedStdout [310]: b i x y pan 1 0.34679014 0.72680286 pan 2 0.75867996 0.52215111 wye 3 0.20460331 0.33831853 wye 4 0.38139939 0.13418874 pan 5 0.57328892 0.86362447 pan 6 0.52712616 0.49322129 zee 7 0.61178406 0.18788492 wye 8 0.59855401 0.97618139 wye 9 0.03144188 0.74955076 wye 10 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0080/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0080/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-array-map-indexing/0081/cmd Command: mlr --opprint put -f test/cases/dsl-array-map-indexing/0081/mlr test/input/abixy Miller DSL script: $[[1]] = $[[2]]; unset $["a"] actualStdout [310]: b i x y pan 1 0.34679014 0.72680286 eks 2 0.75867996 0.52215111 wye 3 0.20460331 0.33831853 eks 4 0.38139939 0.13418874 wye 5 0.57328892 0.86362447 zee 6 0.52712616 0.49322129 eks 7 0.61178406 0.18788492 zee 8 0.59855401 0.97618139 hat 9 0.03144188 0.74955076 pan 10 0.50262601 0.95261836 expectedStdout [310]: b i x y pan 1 0.34679014 0.72680286 eks 2 0.75867996 0.52215111 wye 3 0.20460331 0.33831853 eks 4 0.38139939 0.13418874 wye 5 0.57328892 0.86362447 zee 6 0.52712616 0.49322129 eks 7 0.61178406 0.18788492 zee 8 0.59855401 0.97618139 hat 9 0.03144188 0.74955076 pan 10 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-array-map-indexing/0081/cmd ---------------------------------------------------------------- end ./test/cases/dsl-array-map-indexing/0081/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-arrayify/0001/cmd Command: mlr --ojson seqgen --start 1 --stop 1 then put -f ./test/cases/dsl-arrayify/0001/mlr Miller DSL script: $x = arrayify({ "1": "a", "2": "b", "3": "c", }) actualStdout [41]: [ { "i": 1, "x": ["a", "b", "c"] } ] expectedStdout [41]: [ { "i": 1, "x": ["a", "b", "c"] } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-arrayify/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-arrayify/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-arrayify/0002/cmd Command: mlr --ojson seqgen --start 1 --stop 1 then put -f ./test/cases/dsl-arrayify/0002/mlr Miller DSL script: $x = arrayify({ "0": "a", "1": "b", "2": "c", }) actualStdout [72]: [ { "i": 1, "x": { "0": "a", "1": "b", "2": "c" } } ] expectedStdout [72]: [ { "i": 1, "x": { "0": "a", "1": "b", "2": "c" } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-arrayify/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-arrayify/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-arrayify/0003/cmd Command: mlr --ojson seqgen --start 1 --stop 1 then put -f ./test/cases/dsl-arrayify/0003/mlr Miller DSL script: $x = arrayify({ "1": "a", "3": "b", "5": "c", }) actualStdout [72]: [ { "i": 1, "x": { "1": "a", "3": "b", "5": "c" } } ] expectedStdout [72]: [ { "i": 1, "x": { "1": "a", "3": "b", "5": "c" } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-arrayify/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-arrayify/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-arrayify/0004/cmd Command: mlr --ojson seqgen --start 1 --stop 1 then put -f ./test/cases/dsl-arrayify/0004/mlr Miller DSL script: $x = arrayify({ "s": { "1": "a", "2": "b", "3": "c", } }) actualStdout [56]: [ { "i": 1, "x": { "s": ["a", "b", "c"] } } ] expectedStdout [56]: [ { "i": 1, "x": { "s": ["a", "b", "c"] } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-arrayify/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-arrayify/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-arrayify/0005/cmd Command: mlr --ojson seqgen --start 1 --stop 1 then put -f ./test/cases/dsl-arrayify/0005/mlr Miller DSL script: $x = arrayify({ "1": { "1": "a", "2": "b", "3": "c", }, "2": { "1": "d", "2": "e", "3": "f", } }) actualStdout [72]: [ { "i": 1, "x": [ ["a", "b", "c"], ["d", "e", "f"] ] } ] expectedStdout [72]: [ { "i": 1, "x": [ ["a", "b", "c"], ["d", "e", "f"] ] } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-arrayify/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-arrayify/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0001/cmd Command: mlr --opprint put '$f=asserting_absent($nosuch)' test/input/nullvals.dkvp actualStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - expectedStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0002/cmd Command: mlr --opprint put '$f=asserting_absent(@nosuch)' test/input/nullvals.dkvp actualStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - expectedStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0003/cmd Command: mlr --opprint put '$f=asserting_absent($x)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: is_absent type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [85]: mlr: is_absent type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0004/cmd Command: mlr --opprint put '$f=asserting_absent($y)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: is_absent type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [85]: mlr: is_absent type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0005/cmd Command: mlr --opprint put '$f=asserting_absent($z)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: is_absent type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [85]: mlr: is_absent type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0006/cmd Command: mlr --opprint put '@somesuch=1;$f=asserting_absent(@somesuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: is_absent type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [85]: mlr: is_absent type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0007/cmd Command: mlr --opprint put 'foo=asserting_absent($*)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: is_absent type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [85]: mlr: is_absent type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0008/cmd Command: mlr --opprint put 'foo=asserting_absent({1:2})' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: is_absent type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [85]: mlr: is_absent type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0009/cmd Command: mlr --opprint put '$f=asserting_empty($z)' test/input/nullvals.dkvp actualStdout [60]: a x y z f r 1 2 - - s 3 4 - - t 5 - - - u - 6 - - v - - - - expectedStdout [60]: a x y z f r 1 2 - - s 3 4 - - t 5 - - - u - 6 - - v - - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0010/cmd Command: mlr --opprint put '$f=asserting_empty($x)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [84]: mlr: is_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [84]: mlr: is_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0011/cmd Command: mlr --opprint put '$f=asserting_empty($y)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [84]: mlr: is_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [84]: mlr: is_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0012/cmd Command: mlr --opprint put '$f=asserting_empty($nosuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [84]: mlr: is_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [84]: mlr: is_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0013/cmd Command: mlr --opprint put '$f=asserting_empty(@nosuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [84]: mlr: is_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [84]: mlr: is_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0014/cmd Command: mlr --opprint put '$f=asserting_empty({1:2})' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [84]: mlr: is_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [84]: mlr: is_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0015/cmd Command: mlr --opprint put '@somesuch=1;$f=asserting_empty(@somesuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [84]: mlr: is_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [84]: mlr: is_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0015/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0015/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0016/cmd Command: mlr --opprint put 'foo=asserting_empty($*)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [84]: mlr: is_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [84]: mlr: is_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0016/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0016/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0017/cmd Command: mlr --opprint put 'foo=asserting_empty({1:2})' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [84]: mlr: is_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [84]: mlr: is_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0017/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0017/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0018/cmd Command: mlr --opprint put '$f=asserting_empty_map({})' test/input/nullvals.dkvp actualStdout [65]: a x y z f r 1 2 - {} s 3 4 - {} t 5 - - {} u - 6 - {} v - - - {} expectedStdout [65]: a x y z f r 1 2 - {} s 3 4 - {} t 5 - - {} u - 6 - {} v - - - {} actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0018/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0018/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0019/cmd Command: mlr --opprint put '$f=asserting_empty_map($*)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: is_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [88]: mlr: is_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0019/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0019/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0020/cmd Command: mlr --opprint put '$f=asserting_empty_map($x)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: is_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [88]: mlr: is_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0020/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0020/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0021/cmd Command: mlr --opprint put '$f=asserting_empty_map($y)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: is_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [88]: mlr: is_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0021/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0021/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0022/cmd Command: mlr --opprint put '$f=asserting_empty_map($z)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: is_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [88]: mlr: is_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0022/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0022/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0023/cmd Command: mlr --opprint put '$f=asserting_empty_map($nosuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: is_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [88]: mlr: is_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0023/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0023/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0024/cmd Command: mlr --opprint put '$f=asserting_empty_map(@nosuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: is_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [88]: mlr: is_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0024/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0024/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0025/cmd Command: mlr --opprint put '$f=asserting_empty_map({1:2})' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: is_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [88]: mlr: is_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0025/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0025/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0026/cmd Command: mlr --opprint put '@somesuch=1;$f=asserting_empty_map(@somesuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: is_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [88]: mlr: is_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0026/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0026/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0027/cmd Command: mlr --opprint put '$f=asserting_map($*)' test/input/nullvals.dkvp actualStdout [134]: a x y z f.a f.x f.y f.z r 1 2 - r 1 2 - s 3 4 - s 3 4 - t 5 - - t 5 - - u - 6 - u - 6 - v - - - v - - - expectedStdout [134]: a x y z f.a f.x f.y f.z r 1 2 - r 1 2 - s 3 4 - s 3 4 - t 5 - - t 5 - - u - 6 - u - 6 - v - - - v - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0027/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0027/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0028/cmd Command: mlr --opprint put '$f=asserting_map({1:2})' test/input/nullvals.dkvp actualStdout [62]: a x y z f.1 r 1 2 - 2 s 3 4 - 2 t 5 - - 2 u - 6 - 2 v - - - 2 expectedStdout [62]: a x y z f.1 r 1 2 - 2 s 3 4 - 2 t 5 - - 2 u - 6 - 2 v - - - 2 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0028/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0028/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0029/cmd Command: mlr --opprint put '$f=asserting_map({})' test/input/nullvals.dkvp actualStdout [65]: a x y z f r 1 2 - {} s 3 4 - {} t 5 - - {} u - 6 - {} v - - - {} expectedStdout [65]: a x y z f r 1 2 - {} s 3 4 - {} t 5 - - {} u - 6 - {} v - - - {} actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0029/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0029/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0030/cmd Command: mlr --opprint put '$f=asserting_map($x)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [82]: mlr: is_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [82]: mlr: is_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0030/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0030/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0031/cmd Command: mlr --opprint put '$f=asserting_map($y)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [82]: mlr: is_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [82]: mlr: is_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0031/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0031/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0032/cmd Command: mlr --opprint put '$f=asserting_map($z)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [82]: mlr: is_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [82]: mlr: is_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0032/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0032/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0033/cmd Command: mlr --opprint put '$f=asserting_map($nosuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [82]: mlr: is_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [82]: mlr: is_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0033/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0033/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0034/cmd Command: mlr --opprint put '$f=asserting_map(@nosuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [82]: mlr: is_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [82]: mlr: is_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0034/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0034/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0035/cmd Command: mlr --opprint put '@somesuch=1;$f=asserting_map(@somesuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [82]: mlr: is_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [82]: mlr: is_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0035/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0035/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0036/cmd Command: mlr --opprint put '$f=asserting_nonempty_map($*)' test/input/nullvals.dkvp actualStdout [134]: a x y z f.a f.x f.y f.z r 1 2 - r 1 2 - s 3 4 - s 3 4 - t 5 - - t 5 - - u - 6 - u - 6 - v - - - v - - - expectedStdout [134]: a x y z f.a f.x f.y f.z r 1 2 - r 1 2 - s 3 4 - s 3 4 - t 5 - - t 5 - - u - 6 - u - 6 - v - - - v - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0036/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0036/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0037/cmd Command: mlr --opprint put '$f=asserting_nonempty_map({1:2})' test/input/nullvals.dkvp actualStdout [62]: a x y z f.1 r 1 2 - 2 s 3 4 - 2 t 5 - - 2 u - 6 - 2 v - - - 2 expectedStdout [62]: a x y z f.1 r 1 2 - 2 s 3 4 - 2 t 5 - - 2 u - 6 - 2 v - - - 2 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0037/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0037/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0038/cmd Command: mlr --opprint put '$f=asserting_nonempty_map($x)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [92]: mlr: is_non_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [92]: mlr: is_non_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0038/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0038/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0039/cmd Command: mlr --opprint put '$f=asserting_nonempty_map($y)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [92]: mlr: is_non_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [92]: mlr: is_non_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0039/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0039/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0040/cmd Command: mlr --opprint put '$f=asserting_nonempty_map($z)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [92]: mlr: is_non_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [92]: mlr: is_non_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0040/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0040/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0041/cmd Command: mlr --opprint put '$f=asserting_nonempty_map($nosuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [92]: mlr: is_non_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [92]: mlr: is_non_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0041/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0041/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0042/cmd Command: mlr --opprint put '$f=asserting_nonempty_map(@nosuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [92]: mlr: is_non_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [92]: mlr: is_non_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0042/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0042/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0043/cmd Command: mlr --opprint put '$f=asserting_nonempty_map({})' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [92]: mlr: is_non_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [92]: mlr: is_non_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0043/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0043/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0044/cmd Command: mlr --opprint put '@somesuch=1;$f=asserting_nonempty_map(@somesuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [92]: mlr: is_non_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [92]: mlr: is_non_empty_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0044/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0044/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0045/cmd Command: mlr --opprint put '$*=asserting_not_empty($*)' test/input/nullvals.dkvp actualStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - expectedStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0045/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0045/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0046/cmd Command: mlr --opprint put '$f=asserting_not_empty($nosuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: is_not_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [88]: mlr: is_not_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0046/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0046/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0047/cmd Command: mlr --opprint put '$f=asserting_not_empty(@nosuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: is_not_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [88]: mlr: is_not_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0047/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0047/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0048/cmd Command: mlr --opprint put '$f=asserting_not_empty({1:2})' test/input/nullvals.dkvp actualStdout [62]: a x y z f.1 r 1 2 - 2 s 3 4 - 2 t 5 - - 2 u - 6 - 2 v - - - 2 expectedStdout [62]: a x y z f.1 r 1 2 - 2 s 3 4 - 2 t 5 - - 2 u - 6 - 2 v - - - 2 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0048/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0048/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0049/cmd Command: mlr --opprint put '$nosuch=asserting_not_empty($nosuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: is_not_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [88]: mlr: is_not_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0049/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0049/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0050/cmd Command: mlr --opprint put '@somesuch=1;$f=asserting_not_empty(@somesuch)' test/input/nullvals.dkvp actualStdout [60]: a x y z f r 1 2 - 1 s 3 4 - 1 t 5 - - 1 u - 6 - 1 v - - - 1 expectedStdout [60]: a x y z f r 1 2 - 1 s 3 4 - 1 t 5 - - 1 u - 6 - 1 v - - - 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0050/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0050/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0051/cmd Command: mlr --opprint put '$*=asserting_not_empty($*)' test/input/nullvals.dkvp actualStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - expectedStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0051/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0051/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0052/cmd Command: mlr --opprint put '$*=asserting_not_empty({1:2})' test/input/nullvals.dkvp actualStdout [12]: 1 2 2 2 2 2 expectedStdout [12]: 1 2 2 2 2 2 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0052/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0052/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0053/cmd Command: mlr --opprint put '$f=asserting_not_empty($x)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: is_not_empty type-assertion failed at NR=4 FNR=4 FILENAME=test/input/nullvals.dkvp expectedStderr [88]: mlr: is_not_empty type-assertion failed at NR=4 FNR=4 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0053/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0053/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0054/cmd Command: mlr --opprint put '$f=asserting_not_empty($y)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: is_not_empty type-assertion failed at NR=3 FNR=3 FILENAME=test/input/nullvals.dkvp expectedStderr [88]: mlr: is_not_empty type-assertion failed at NR=3 FNR=3 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0054/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0054/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0055/cmd Command: mlr --opprint put '$f=asserting_not_empty($z)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: is_not_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [88]: mlr: is_not_empty type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0055/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0055/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0056/cmd Command: mlr --opprint put '$f=asserting_not_map($x)' test/input/nullvals.dkvp actualStdout [60]: a x y z f r 1 2 - 1 s 3 4 - 3 t 5 - - 5 u - 6 - - v - - - - expectedStdout [60]: a x y z f r 1 2 - 1 s 3 4 - 3 t 5 - - 5 u - 6 - - v - - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0056/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0056/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0057/cmd Command: mlr --opprint put '$f=asserting_not_map($y)' test/input/nullvals.dkvp actualStdout [60]: a x y z f r 1 2 - 2 s 3 4 - 4 t 5 - - - u - 6 - 6 v - - - - expectedStdout [60]: a x y z f r 1 2 - 2 s 3 4 - 4 t 5 - - - u - 6 - 6 v - - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0057/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0057/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0058/cmd Command: mlr --opprint put '$f=asserting_not_map($z)' test/input/nullvals.dkvp actualStdout [60]: a x y z f r 1 2 - - s 3 4 - - t 5 - - - u - 6 - - v - - - - expectedStdout [60]: a x y z f r 1 2 - - s 3 4 - - t 5 - - - u - 6 - - v - - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0058/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0058/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0059/cmd Command: mlr --opprint put '$f=asserting_not_map($nosuch)' test/input/nullvals.dkvp actualStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - expectedStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0059/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0059/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0060/cmd Command: mlr --opprint put '$f=asserting_not_map(@nosuch)' test/input/nullvals.dkvp actualStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - expectedStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0060/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0060/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0061/cmd Command: mlr --opprint put '@somesuch=1;$f=asserting_not_map(@somesuch)' test/input/nullvals.dkvp actualStdout [60]: a x y z f r 1 2 - 1 s 3 4 - 1 t 5 - - 1 u - 6 - 1 v - - - 1 expectedStdout [60]: a x y z f r 1 2 - 1 s 3 4 - 1 t 5 - - 1 u - 6 - 1 v - - - 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0061/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0061/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0062/cmd Command: mlr --opprint put '$f=asserting_not_map($*)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [86]: mlr: is_not_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [86]: mlr: is_not_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0062/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0062/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0063/cmd Command: mlr --opprint put '$f=asserting_not_map({1:2})' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [86]: mlr: is_not_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [86]: mlr: is_not_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0063/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0063/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0064/cmd Command: mlr --opprint put '$f=asserting_not_map({})' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [86]: mlr: is_not_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [86]: mlr: is_not_map type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0064/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0064/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0065/cmd Command: mlr --opprint put '@somesuch=1;$f=asserting_not_null(@somesuch)' test/input/nullvals.dkvp actualStdout [60]: a x y z f r 1 2 - 1 s 3 4 - 1 t 5 - - 1 u - 6 - 1 v - - - 1 expectedStdout [60]: a x y z f r 1 2 - 1 s 3 4 - 1 t 5 - - 1 u - 6 - 1 v - - - 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0065/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0065/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0066/cmd Command: mlr --opprint put '$*=asserting_not_null($*)' test/input/nullvals.dkvp actualStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - expectedStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0066/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0066/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0067/cmd Command: mlr --opprint put '$*=asserting_not_null({1:2})' test/input/nullvals.dkvp actualStdout [12]: 1 2 2 2 2 2 expectedStdout [12]: 1 2 2 2 2 2 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0067/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0067/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0068/cmd Command: mlr --opprint put '$f=asserting_not_null($x)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [87]: mlr: is_not_null type-assertion failed at NR=4 FNR=4 FILENAME=test/input/nullvals.dkvp expectedStderr [87]: mlr: is_not_null type-assertion failed at NR=4 FNR=4 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0068/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0068/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0069/cmd Command: mlr --opprint put '$f=asserting_not_null($y)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [87]: mlr: is_not_null type-assertion failed at NR=3 FNR=3 FILENAME=test/input/nullvals.dkvp expectedStderr [87]: mlr: is_not_null type-assertion failed at NR=3 FNR=3 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0069/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0069/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0070/cmd Command: mlr --opprint put '$f=asserting_not_null($z)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [87]: mlr: is_not_null type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [87]: mlr: is_not_null type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0070/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0070/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0071/cmd Command: mlr --opprint put '$f=asserting_not_null($nosuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [87]: mlr: is_not_null type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [87]: mlr: is_not_null type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0071/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0071/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0072/cmd Command: mlr --opprint put '$f=asserting_not_null(@nosuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [87]: mlr: is_not_null type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [87]: mlr: is_not_null type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0072/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0072/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0073/cmd Command: mlr --opprint put '$f=asserting_null($z)' test/input/nullvals.dkvp actualStdout [60]: a x y z f r 1 2 - - s 3 4 - - t 5 - - - u - 6 - - v - - - - expectedStdout [60]: a x y z f r 1 2 - - s 3 4 - - t 5 - - - u - 6 - - v - - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0073/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0073/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0074/cmd Command: mlr --opprint put '$f=asserting_null($nosuch)' test/input/nullvals.dkvp actualStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - expectedStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0074/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0074/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0075/cmd Command: mlr --opprint put '$f=asserting_null(@nosuch)' test/input/nullvals.dkvp actualStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - expectedStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0075/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0075/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0076/cmd Command: mlr --opprint put '$f=asserting_null($x)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [83]: mlr: is_null type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [83]: mlr: is_null type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0076/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0076/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0077/cmd Command: mlr --opprint put '$f=asserting_null($y)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [83]: mlr: is_null type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [83]: mlr: is_null type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0077/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0077/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0078/cmd Command: mlr --opprint put '@somesuch=1;$f=asserting_null(@somesuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [83]: mlr: is_null type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [83]: mlr: is_null type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0078/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0078/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0079/cmd Command: mlr --opprint put '$*=asserting_null($*)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [83]: mlr: is_null type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [83]: mlr: is_null type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0079/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0079/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0080/cmd Command: mlr --opprint put '$*=asserting_null({1:2})' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [83]: mlr: is_null type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [83]: mlr: is_null type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0080/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0080/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0081/cmd Command: mlr --opprint put '$f=asserting_numeric($x)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [86]: mlr: is_numeric type-assertion failed at NR=4 FNR=4 FILENAME=test/input/nullvals.dkvp expectedStderr [86]: mlr: is_numeric type-assertion failed at NR=4 FNR=4 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0081/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0081/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0082/cmd Command: mlr --opprint put '$f=asserting_numeric($y)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [86]: mlr: is_numeric type-assertion failed at NR=3 FNR=3 FILENAME=test/input/nullvals.dkvp expectedStderr [86]: mlr: is_numeric type-assertion failed at NR=3 FNR=3 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0082/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0082/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0083/cmd Command: mlr --opprint put '$f=asserting_numeric($z)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [86]: mlr: is_numeric type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [86]: mlr: is_numeric type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0083/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0083/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0084/cmd Command: mlr --opprint put '$*=asserting_numeric($*)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [86]: mlr: is_numeric type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [86]: mlr: is_numeric type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0084/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0084/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0085/cmd Command: mlr --opprint put '$*=asserting_numeric({1:2})' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [86]: mlr: is_numeric type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [86]: mlr: is_numeric type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0085/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0085/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0086/cmd Command: mlr --opprint put '$f=asserting_numeric($nosuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [86]: mlr: is_numeric type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [86]: mlr: is_numeric type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0086/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0086/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0087/cmd Command: mlr --opprint put '$f=asserting_present($x)' test/input/nullvals.dkvp actualStdout [60]: a x y z f r 1 2 - 1 s 3 4 - 3 t 5 - - 5 u - 6 - - v - - - - expectedStdout [60]: a x y z f r 1 2 - 1 s 3 4 - 3 t 5 - - 5 u - 6 - - v - - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0087/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0087/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0088/cmd Command: mlr --opprint put '$f=asserting_present($y)' test/input/nullvals.dkvp actualStdout [60]: a x y z f r 1 2 - 2 s 3 4 - 4 t 5 - - - u - 6 - 6 v - - - - expectedStdout [60]: a x y z f r 1 2 - 2 s 3 4 - 4 t 5 - - - u - 6 - 6 v - - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0088/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0088/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0089/cmd Command: mlr --opprint put '$f=asserting_present($z)' test/input/nullvals.dkvp actualStdout [60]: a x y z f r 1 2 - - s 3 4 - - t 5 - - - u - 6 - - v - - - - expectedStdout [60]: a x y z f r 1 2 - - s 3 4 - - t 5 - - - u - 6 - - v - - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0089/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0089/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0090/cmd Command: mlr --opprint put '@somesuch=1;$f=asserting_present(@somesuch)' test/input/nullvals.dkvp actualStdout [60]: a x y z f r 1 2 - 1 s 3 4 - 1 t 5 - - 1 u - 6 - 1 v - - - 1 expectedStdout [60]: a x y z f r 1 2 - 1 s 3 4 - 1 t 5 - - 1 u - 6 - 1 v - - - 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0090/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0090/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0091/cmd Command: mlr --opprint put '$*=asserting_present($*)' test/input/nullvals.dkvp actualStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - expectedStdout [48]: a x y z r 1 2 - s 3 4 - t 5 - - u - 6 - v - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0091/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0091/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0092/cmd Command: mlr --opprint put '$*=asserting_present({1:2})' test/input/nullvals.dkvp actualStdout [12]: 1 2 2 2 2 2 expectedStdout [12]: 1 2 2 2 2 2 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0092/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0092/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0093/cmd Command: mlr --opprint put '$f=asserting_present($nosuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [86]: mlr: is_present type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [86]: mlr: is_present type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0093/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0093/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0094/cmd Command: mlr --opprint put '$f=asserting_present(@nosuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [86]: mlr: is_present type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [86]: mlr: is_present type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0094/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0094/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0095/cmd Command: mlr --opprint put '$f=asserting_string($z)' test/input/nullvals.dkvp actualStdout [60]: a x y z f r 1 2 - - s 3 4 - - t 5 - - - u - 6 - - v - - - - expectedStdout [60]: a x y z f r 1 2 - - s 3 4 - - t 5 - - - u - 6 - - v - - - - actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-asserting/0095/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0095/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0096/cmd Command: mlr --opprint put '$*=asserting_string($*)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: is_string type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [85]: mlr: is_string type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0096/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0096/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0097/cmd Command: mlr --opprint put '$*=asserting_string({1:2})' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: is_string type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [85]: mlr: is_string type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0097/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0097/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0098/cmd Command: mlr --opprint put '$f=asserting_string($x)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: is_string type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [85]: mlr: is_string type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0098/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0098/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0099/cmd Command: mlr --opprint put '$f=asserting_string($y)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: is_string type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [85]: mlr: is_string type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0099/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0099/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-asserting/0100/cmd Command: mlr --opprint put '$f=asserting_string($nosuch)' test/input/nullvals.dkvp actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: is_string type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp expectedStderr [85]: mlr: is_string type-assertion failed at NR=1 FNR=1 FILENAME=test/input/nullvals.dkvp actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-asserting/0100/cmd ---------------------------------------------------------------- end ./test/cases/dsl-asserting/0100/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0001/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0001/mlr Miller DSL script: $j=$i+$i actualStdout [170]: a b i x y j pan pan 1 0.34679014 0.72680286 2 eks pan 2 0.75867996 0.52215111 4 wye wye 3 0.20460331 0.33831853 6 eks wye 4 0.38139939 0.13418874 8 expectedStdout [170]: a b i x y j pan pan 1 0.34679014 0.72680286 2 eks pan 2 0.75867996 0.52215111 4 wye wye 3 0.20460331 0.33831853 6 eks wye 4 0.38139939 0.13418874 8 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0002/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0002/mlr Miller DSL script: $j=$i+$x actualStdout [206]: a b i x y j pan pan 1 0.34679014 0.72680286 1.34679014 eks pan 2 0.75867996 0.52215111 2.75867996 wye wye 3 0.20460331 0.33831853 3.20460331 eks wye 4 0.38139939 0.13418874 4.38139939 expectedStdout [206]: a b i x y j pan pan 1 0.34679014 0.72680286 1.34679014 eks pan 2 0.75867996 0.52215111 2.75867996 wye wye 3 0.20460331 0.33831853 3.20460331 eks wye 4 0.38139939 0.13418874 4.38139939 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0003/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0003/mlr Miller DSL script: $j=$y+$x actualStdout [206]: a b i x y j pan pan 1 0.34679014 0.72680286 1.07359301 eks pan 2 0.75867996 0.52215111 1.28083107 wye wye 3 0.20460331 0.33831853 0.54292183 eks wye 4 0.38139939 0.13418874 0.51558814 expectedStdout [206]: a b i x y j pan pan 1 0.34679014 0.72680286 1.07359301 eks pan 2 0.75867996 0.52215111 1.28083107 wye wye 3 0.20460331 0.33831853 0.54292183 eks wye 4 0.38139939 0.13418874 0.51558814 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0004/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0004/mlr Miller DSL script: $j=$y+$i actualStdout [206]: a b i x y j pan pan 1 0.34679014 0.72680286 1.72680286 eks pan 2 0.75867996 0.52215111 2.52215111 wye wye 3 0.20460331 0.33831853 3.33831853 eks wye 4 0.38139939 0.13418874 4.13418874 expectedStdout [206]: a b i x y j pan pan 1 0.34679014 0.72680286 1.72680286 eks pan 2 0.75867996 0.52215111 2.52215111 wye wye 3 0.20460331 0.33831853 3.33831853 eks wye 4 0.38139939 0.13418874 4.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0005/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0005/mlr Miller DSL script: $j=$y+$y actualStdout [206]: a b i x y j pan pan 1 0.34679014 0.72680286 1.45360573 eks pan 2 0.75867996 0.52215111 1.04430222 wye wye 3 0.20460331 0.33831853 0.67663705 eks wye 4 0.38139939 0.13418874 0.26837749 expectedStdout [206]: a b i x y j pan pan 1 0.34679014 0.72680286 1.45360573 eks pan 2 0.75867996 0.52215111 1.04430222 wye wye 3 0.20460331 0.33831853 0.67663705 eks wye 4 0.38139939 0.13418874 0.26837749 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0006/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0006/mlr Miller DSL script: $j=$i+$i actualStdout [170]: a b i x y j pan pan 1 0.34679014 0.72680286 2 eks pan 2 0.75867996 0.52215111 4 wye wye 3 0.20460331 0.33831853 6 eks wye 4 0.38139939 0.13418874 8 expectedStdout [170]: a b i x y j pan pan 1 0.34679014 0.72680286 2 eks pan 2 0.75867996 0.52215111 4 wye wye 3 0.20460331 0.33831853 6 eks wye 4 0.38139939 0.13418874 8 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0007/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0007/mlr Miller DSL script: $y=$x*1e6 actualStdout [171]: a b i x y pan pan 1 0.34679014 346790.14433808 eks pan 2 0.75867996 758679.96478996 wye wye 3 0.20460331 204603.30576630 eks wye 4 0.38139939 381399.39387114 expectedStdout [171]: a b i x y pan pan 1 0.34679014 346790.14433808 eks pan 2 0.75867996 758679.96478996 wye wye 3 0.20460331 204603.30576630 eks wye 4 0.38139939 381399.39387114 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0008/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0008/mlr Miller DSL script: $y=$x+1e6 actualStdout [175]: a b i x y pan pan 1 0.34679014 1000000.34679014 eks pan 2 0.75867996 1000000.75867996 wye wye 3 0.20460331 1000000.20460331 eks wye 4 0.38139939 1000000.38139939 expectedStdout [175]: a b i x y pan pan 1 0.34679014 1000000.34679014 eks pan 2 0.75867996 1000000.75867996 wye wye 3 0.20460331 1000000.20460331 eks wye 4 0.38139939 1000000.38139939 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0009/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0009/mlr Miller DSL script: $y=$x+1 actualStdout [151]: a b i x y pan pan 1 0.34679014 1.34679014 eks pan 2 0.75867996 1.75867996 wye wye 3 0.20460331 1.20460331 eks wye 4 0.38139939 1.38139939 expectedStdout [151]: a b i x y pan pan 1 0.34679014 1.34679014 eks pan 2 0.75867996 1.75867996 wye wye 3 0.20460331 1.20460331 eks wye 4 0.38139939 1.38139939 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0010/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0010/mlr Miller DSL script: $y=FILENAME actualStdout [179]: a b i x y pan pan 1 0.34679014 test/input/s.dkvp eks pan 2 0.75867996 test/input/s.dkvp wye wye 3 0.20460331 test/input/s.dkvp eks wye 4 0.38139939 test/input/s.dkvp expectedStdout [179]: a b i x y pan pan 1 0.34679014 test/input/s.dkvp eks pan 2 0.75867996 test/input/s.dkvp wye wye 3 0.20460331 test/input/s.dkvp eks wye 4 0.38139939 test/input/s.dkvp actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0011/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0011/mlr Miller DSL script: $y=FILENUM actualStdout [115]: a b i x y pan pan 1 0.34679014 1 eks pan 2 0.75867996 1 wye wye 3 0.20460331 1 eks wye 4 0.38139939 1 expectedStdout [115]: a b i x y pan pan 1 0.34679014 1 eks pan 2 0.75867996 1 wye wye 3 0.20460331 1 eks wye 4 0.38139939 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0012/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0012/mlr Miller DSL script: $y=NF actualStdout [115]: a b i x y pan pan 1 0.34679014 5 eks pan 2 0.75867996 5 wye wye 3 0.20460331 5 eks wye 4 0.38139939 5 expectedStdout [115]: a b i x y pan pan 1 0.34679014 5 eks pan 2 0.75867996 5 wye wye 3 0.20460331 5 eks wye 4 0.38139939 5 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0013/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0013/mlr Miller DSL script: $y=NR actualStdout [115]: a b i x y pan pan 1 0.34679014 1 eks pan 2 0.75867996 2 wye wye 3 0.20460331 3 eks wye 4 0.38139939 4 expectedStdout [115]: a b i x y pan pan 1 0.34679014 1 eks pan 2 0.75867996 2 wye wye 3 0.20460331 3 eks wye 4 0.38139939 4 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0014/cmd Command: mlr --idkvp --opprint put -f test/cases/dsl-basic/0014/mlr test/input/s.dkvp test/input/t.dkvp Miller DSL script: $y=FNR actualStdout [184]: a b i x y pan pan 1 0.34679014 1 eks pan 2 0.75867996 2 wye wye 3 0.20460331 3 eks wye 4 0.38139939 4 wye pan 5 0.57328892 1 zee pan 6 0.52712616 2 eks zee 7 0.61178406 3 expectedStdout [184]: a b i x y pan pan 1 0.34679014 1 eks pan 2 0.75867996 2 wye wye 3 0.20460331 3 eks wye 4 0.38139939 4 wye pan 5 0.57328892 1 zee pan 6 0.52712616 2 eks zee 7 0.61178406 3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0015/cmd Command: mlr --idkvp --opprint put -f test/cases/dsl-basic/0015/mlr test/input/s.dkvp test/input/t.dkvp Miller DSL script: $y=NR actualStdout [184]: a b i x y pan pan 1 0.34679014 1 eks pan 2 0.75867996 2 wye wye 3 0.20460331 3 eks wye 4 0.38139939 4 wye pan 5 0.57328892 5 zee pan 6 0.52712616 6 eks zee 7 0.61178406 7 expectedStdout [184]: a b i x y pan pan 1 0.34679014 1 eks pan 2 0.75867996 2 wye wye 3 0.20460331 3 eks wye 4 0.38139939 4 wye pan 5 0.57328892 5 zee pan 6 0.52712616 6 eks zee 7 0.61178406 7 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0015/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0015/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0016/cmd Command: mlr --icsv --opprint put -f test/cases/dsl-basic/0016/mlr test/input/s.csv test/input/t.csv Miller DSL script: $y=FNR actualStdout [184]: a b i x y pan pan 1 0.34679014 1 eks pan 2 0.75867996 2 wye wye 3 0.20460331 3 eks wye 4 0.38139939 4 wye pan 5 0.57328892 1 zee pan 6 0.52712616 2 eks zee 7 0.61178406 3 expectedStdout [184]: a b i x y pan pan 1 0.34679014 1 eks pan 2 0.75867996 2 wye wye 3 0.20460331 3 eks wye 4 0.38139939 4 wye pan 5 0.57328892 1 zee pan 6 0.52712616 2 eks zee 7 0.61178406 3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0016/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0016/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0017/cmd Command: mlr --idkvp --opprint put -f test/cases/dsl-basic/0017/mlr test/input/s.dkvp test/input/t.dkvp Miller DSL script: $y=FNR+1 actualStdout [184]: a b i x y pan pan 1 0.34679014 2 eks pan 2 0.75867996 3 wye wye 3 0.20460331 4 eks wye 4 0.38139939 5 wye pan 5 0.57328892 2 zee pan 6 0.52712616 3 eks zee 7 0.61178406 4 expectedStdout [184]: a b i x y pan pan 1 0.34679014 2 eks pan 2 0.75867996 3 wye wye 3 0.20460331 4 eks wye 4 0.38139939 5 wye pan 5 0.57328892 2 zee pan 6 0.52712616 3 eks zee 7 0.61178406 4 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0017/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0017/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0018/cmd Command: mlr --idkvp --opprint put -f test/cases/dsl-basic/0018/mlr test/input/s.dkvp test/input/t.dkvp Miller DSL script: $y=FNR+$i actualStdout [185]: a b i x y pan pan 1 0.34679014 2 eks pan 2 0.75867996 4 wye wye 3 0.20460331 6 eks wye 4 0.38139939 8 wye pan 5 0.57328892 6 zee pan 6 0.52712616 8 eks zee 7 0.61178406 10 expectedStdout [185]: a b i x y pan pan 1 0.34679014 2 eks pan 2 0.75867996 4 wye wye 3 0.20460331 6 eks wye 4 0.38139939 8 wye pan 5 0.57328892 6 zee pan 6 0.52712616 8 eks zee 7 0.61178406 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0018/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0018/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0019/cmd Command: mlr --idkvp --opprint put -f test/cases/dsl-basic/0019/mlr test/input/s.dkvp test/input/t.dkvp Miller DSL script: $y=FNR+3 actualStdout [184]: a b i x y pan pan 1 0.34679014 4 eks pan 2 0.75867996 5 wye wye 3 0.20460331 6 eks wye 4 0.38139939 7 wye pan 5 0.57328892 4 zee pan 6 0.52712616 5 eks zee 7 0.61178406 6 expectedStdout [184]: a b i x y pan pan 1 0.34679014 4 eks pan 2 0.75867996 5 wye wye 3 0.20460331 6 eks wye 4 0.38139939 7 wye pan 5 0.57328892 4 zee pan 6 0.52712616 5 eks zee 7 0.61178406 6 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0019/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0019/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0020/cmd Command: mlr --idkvp --opprint put -f test/cases/dsl-basic/0020/mlr test/input/s.dkvp test/input/t.dkvp Miller DSL script: $y=FNR+3+$i actualStdout [187]: a b i x y pan pan 1 0.34679014 5 eks pan 2 0.75867996 7 wye wye 3 0.20460331 9 eks wye 4 0.38139939 11 wye pan 5 0.57328892 9 zee pan 6 0.52712616 11 eks zee 7 0.61178406 13 expectedStdout [187]: a b i x y pan pan 1 0.34679014 5 eks pan 2 0.75867996 7 wye wye 3 0.20460331 9 eks wye 4 0.38139939 11 wye pan 5 0.57328892 9 zee pan 6 0.52712616 11 eks zee 7 0.61178406 13 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0020/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0020/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0021/cmd Command: mlr --idkvp --opprint put -f test/cases/dsl-basic/0021/mlr test/input/s.dkvp test/input/t.dkvp Miller DSL script: $y=$i+$y actualStdout [247]: a b i x y pan pan 1 0.34679014 1.72680286 eks pan 2 0.75867996 2.52215111 wye wye 3 0.20460331 3.33831853 eks wye 4 0.38139939 4.13418874 wye pan 5 0.57328892 5.86362447 zee pan 6 0.52712616 6.49322129 eks zee 7 0.61178406 7.18788492 expectedStdout [247]: a b i x y pan pan 1 0.34679014 1.72680286 eks pan 2 0.75867996 2.52215111 wye wye 3 0.20460331 3.33831853 eks wye 4 0.38139939 4.13418874 wye pan 5 0.57328892 5.86362447 zee pan 6 0.52712616 6.49322129 eks zee 7 0.61178406 7.18788492 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0021/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0021/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0022/cmd Command: mlr --idkvp --opprint put -f test/cases/dsl-basic/0022/mlr test/input/s.dkvp test/input/t.dkvp Miller DSL script: $y=$i+$x actualStdout [247]: a b i x y pan pan 1 0.34679014 1.34679014 eks pan 2 0.75867996 2.75867996 wye wye 3 0.20460331 3.20460331 eks wye 4 0.38139939 4.38139939 wye pan 5 0.57328892 5.57328892 zee pan 6 0.52712616 6.52712616 eks zee 7 0.61178406 7.61178406 expectedStdout [247]: a b i x y pan pan 1 0.34679014 1.34679014 eks pan 2 0.75867996 2.75867996 wye wye 3 0.20460331 3.20460331 eks wye 4 0.38139939 4.38139939 wye pan 5 0.57328892 5.57328892 zee pan 6 0.52712616 6.52712616 eks zee 7 0.61178406 7.61178406 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0022/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0022/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0023/cmd Command: mlr --idkvp --opprint put -f test/cases/dsl-basic/0023/mlr test/input/s.dkvp test/input/t.dkvp Miller DSL script: $z=$x+$y actualStdout [335]: a b i x y z pan pan 1 0.34679014 0.72680286 1.07359301 eks pan 2 0.75867996 0.52215111 1.28083107 wye wye 3 0.20460331 0.33831853 0.54292183 eks wye 4 0.38139939 0.13418874 0.51558814 wye pan 5 0.57328892 0.86362447 1.43691339 zee pan 6 0.52712616 0.49322129 1.02034745 eks zee 7 0.61178406 0.18788492 0.79966898 expectedStdout [335]: a b i x y z pan pan 1 0.34679014 0.72680286 1.07359301 eks pan 2 0.75867996 0.52215111 1.28083107 wye wye 3 0.20460331 0.33831853 0.54292183 eks wye 4 0.38139939 0.13418874 0.51558814 wye pan 5 0.57328892 0.86362447 1.43691339 zee pan 6 0.52712616 0.49322129 1.02034745 eks zee 7 0.61178406 0.18788492 0.79966898 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0023/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0023/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0024/cmd Command: mlr --idkvp --opprint put -f test/cases/dsl-basic/0024/mlr test/input/s.dkvp test/input/t.dkvp Miller DSL script: $z=$x+$i actualStdout [335]: a b i x y z pan pan 1 0.34679014 0.72680286 1.34679014 eks pan 2 0.75867996 0.52215111 2.75867996 wye wye 3 0.20460331 0.33831853 3.20460331 eks wye 4 0.38139939 0.13418874 4.38139939 wye pan 5 0.57328892 0.86362447 5.57328892 zee pan 6 0.52712616 0.49322129 6.52712616 eks zee 7 0.61178406 0.18788492 7.61178406 expectedStdout [335]: a b i x y z pan pan 1 0.34679014 0.72680286 1.34679014 eks pan 2 0.75867996 0.52215111 2.75867996 wye wye 3 0.20460331 0.33831853 3.20460331 eks wye 4 0.38139939 0.13418874 4.38139939 wye pan 5 0.57328892 0.86362447 5.57328892 zee pan 6 0.52712616 0.49322129 6.52712616 eks zee 7 0.61178406 0.18788492 7.61178406 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0024/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0024/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0025/cmd Command: mlr --idkvp --opprint put -f test/cases/dsl-basic/0025/mlr test/input/s.dkvp test/input/t.dkvp Miller DSL script: $z=NR+$i actualStdout [275]: a b i x y z pan pan 1 0.34679014 0.72680286 2 eks pan 2 0.75867996 0.52215111 4 wye wye 3 0.20460331 0.33831853 6 eks wye 4 0.38139939 0.13418874 8 wye pan 5 0.57328892 0.86362447 10 zee pan 6 0.52712616 0.49322129 12 eks zee 7 0.61178406 0.18788492 14 expectedStdout [275]: a b i x y z pan pan 1 0.34679014 0.72680286 2 eks pan 2 0.75867996 0.52215111 4 wye wye 3 0.20460331 0.33831853 6 eks wye 4 0.38139939 0.13418874 8 wye pan 5 0.57328892 0.86362447 10 zee pan 6 0.52712616 0.49322129 12 eks zee 7 0.61178406 0.18788492 14 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0025/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0025/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0026/cmd Command: mlr --idkvp --opprint put -f test/cases/dsl-basic/0026/mlr test/input/s.dkvp test/input/t.dkvp Miller DSL script: $z=NR-$i actualStdout [272]: a b i x y z pan pan 1 0.34679014 0.72680286 0 eks pan 2 0.75867996 0.52215111 0 wye wye 3 0.20460331 0.33831853 0 eks wye 4 0.38139939 0.13418874 0 wye pan 5 0.57328892 0.86362447 0 zee pan 6 0.52712616 0.49322129 0 eks zee 7 0.61178406 0.18788492 0 expectedStdout [272]: a b i x y z pan pan 1 0.34679014 0.72680286 0 eks pan 2 0.75867996 0.52215111 0 wye wye 3 0.20460331 0.33831853 0 eks wye 4 0.38139939 0.13418874 0 wye pan 5 0.57328892 0.86362447 0 zee pan 6 0.52712616 0.49322129 0 eks zee 7 0.61178406 0.18788492 0 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0026/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0026/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0027/cmd Command: mlr --idkvp --opprint put -f test/cases/dsl-basic/0027/mlr test/input/s.dkvp test/input/t.dkvp Miller DSL script: $z=4-1 actualStdout [272]: a b i x y z pan pan 1 0.34679014 0.72680286 3 eks pan 2 0.75867996 0.52215111 3 wye wye 3 0.20460331 0.33831853 3 eks wye 4 0.38139939 0.13418874 3 wye pan 5 0.57328892 0.86362447 3 zee pan 6 0.52712616 0.49322129 3 eks zee 7 0.61178406 0.18788492 3 expectedStdout [272]: a b i x y z pan pan 1 0.34679014 0.72680286 3 eks pan 2 0.75867996 0.52215111 3 wye wye 3 0.20460331 0.33831853 3 eks wye 4 0.38139939 0.13418874 3 wye pan 5 0.57328892 0.86362447 3 zee pan 6 0.52712616 0.49322129 3 eks zee 7 0.61178406 0.18788492 3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0027/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0027/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0028/cmd Command: mlr --idkvp --opprint put -f test/cases/dsl-basic/0028/mlr test/input/s.dkvp test/input/t.dkvp Miller DSL script: $z=NR actualStdout [272]: a b i x y z pan pan 1 0.34679014 0.72680286 1 eks pan 2 0.75867996 0.52215111 2 wye wye 3 0.20460331 0.33831853 3 eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 expectedStdout [272]: a b i x y z pan pan 1 0.34679014 0.72680286 1 eks pan 2 0.75867996 0.52215111 2 wye wye 3 0.20460331 0.33831853 3 eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0028/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0028/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0029/cmd Command: mlr --idkvp --opprint put -f test/cases/dsl-basic/0029/mlr test/input/s.dkvp test/input/t.dkvp Miller DSL script: $z=$i actualStdout [272]: a b i x y z pan pan 1 0.34679014 0.72680286 1 eks pan 2 0.75867996 0.52215111 2 wye wye 3 0.20460331 0.33831853 3 eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 expectedStdout [272]: a b i x y z pan pan 1 0.34679014 0.72680286 1 eks pan 2 0.75867996 0.52215111 2 wye wye 3 0.20460331 0.33831853 3 eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0029/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0029/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0030/cmd Command: mlr --idkvp --opprint put -f test/cases/dsl-basic/0030/mlr test/input/s.dkvp test/input/t.dkvp Miller DSL script: $z=100*NR-$i actualStdout [285]: a b i x y z pan pan 1 0.34679014 0.72680286 99 eks pan 2 0.75867996 0.52215111 198 wye wye 3 0.20460331 0.33831853 297 eks wye 4 0.38139939 0.13418874 396 wye pan 5 0.57328892 0.86362447 495 zee pan 6 0.52712616 0.49322129 594 eks zee 7 0.61178406 0.18788492 693 expectedStdout [285]: a b i x y z pan pan 1 0.34679014 0.72680286 99 eks pan 2 0.75867996 0.52215111 198 wye wye 3 0.20460331 0.33831853 297 eks wye 4 0.38139939 0.13418874 396 wye pan 5 0.57328892 0.86362447 495 zee pan 6 0.52712616 0.49322129 594 eks zee 7 0.61178406 0.18788492 693 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0030/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0030/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0031/cmd Command: mlr --idkvp --opprint put -f test/cases/dsl-basic/0031/mlr test/input/s.dkvp test/input/t.dkvp Miller DSL script: $z=100*$i+$x actualStdout [349]: a b i x y z pan pan 1 0.34679014 0.72680286 100.34679014 eks pan 2 0.75867996 0.52215111 200.75867996 wye wye 3 0.20460331 0.33831853 300.20460331 eks wye 4 0.38139939 0.13418874 400.38139939 wye pan 5 0.57328892 0.86362447 500.57328892 zee pan 6 0.52712616 0.49322129 600.52712616 eks zee 7 0.61178406 0.18788492 700.61178406 expectedStdout [349]: a b i x y z pan pan 1 0.34679014 0.72680286 100.34679014 eks pan 2 0.75867996 0.52215111 200.75867996 wye wye 3 0.20460331 0.33831853 300.20460331 eks wye 4 0.38139939 0.13418874 400.38139939 wye pan 5 0.57328892 0.86362447 500.57328892 zee pan 6 0.52712616 0.49322129 600.52712616 eks zee 7 0.61178406 0.18788492 700.61178406 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0031/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0031/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0032/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0032/mlr Miller DSL script: $z=100*$i+$x actualStdout [214]: a b i x y z pan pan 1 0.34679014 0.72680286 100.34679014 eks pan 2 0.75867996 0.52215111 200.75867996 wye wye 3 0.20460331 0.33831853 300.20460331 eks wye 4 0.38139939 0.13418874 400.38139939 expectedStdout [214]: a b i x y z pan pan 1 0.34679014 0.72680286 100.34679014 eks pan 2 0.75867996 0.52215111 200.75867996 wye wye 3 0.20460331 0.33831853 300.20460331 eks wye 4 0.38139939 0.13418874 400.38139939 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0032/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0032/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0033/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0033/mlr Miller DSL script: $z=100*$i/$x actualStdout [216]: a b i x y z pan pan 1 0.34679014 0.72680286 288.35882920 eks pan 2 0.75867996 0.52215111 263.61576591 wye wye 3 0.20460331 0.33831853 1466.25196927 eks wye 4 0.38139939 0.13418874 1048.76936468 expectedStdout [216]: a b i x y z pan pan 1 0.34679014 0.72680286 288.35882920 eks pan 2 0.75867996 0.52215111 263.61576591 wye wye 3 0.20460331 0.33831853 1466.25196927 eks wye 4 0.38139939 0.13418874 1048.76936468 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0033/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0033/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0034/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0034/mlr Miller DSL script: $z=NR/$i actualStdout [170]: a b i x y z pan pan 1 0.34679014 0.72680286 1 eks pan 2 0.75867996 0.52215111 1 wye wye 3 0.20460331 0.33831853 1 eks wye 4 0.38139939 0.13418874 1 expectedStdout [170]: a b i x y z pan pan 1 0.34679014 0.72680286 1 eks pan 2 0.75867996 0.52215111 1 wye wye 3 0.20460331 0.33831853 1 eks wye 4 0.38139939 0.13418874 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0034/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0034/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0035/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0035/mlr Miller DSL script: $z=100/$i actualStdout [184]: a b i x y z pan pan 1 0.34679014 0.72680286 100 eks pan 2 0.75867996 0.52215111 50 wye wye 3 0.20460331 0.33831853 33.33333333 eks wye 4 0.38139939 0.13418874 25 expectedStdout [184]: a b i x y z pan pan 1 0.34679014 0.72680286 100 eks pan 2 0.75867996 0.52215111 50 wye wye 3 0.20460331 0.33831853 33.33333333 eks wye 4 0.38139939 0.13418874 25 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0035/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0035/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0036/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0036/mlr Miller DSL script: $z=100//$i actualStdout [175]: a b i x y z pan pan 1 0.34679014 0.72680286 100 eks pan 2 0.75867996 0.52215111 50 wye wye 3 0.20460331 0.33831853 33 eks wye 4 0.38139939 0.13418874 25 expectedStdout [175]: a b i x y z pan pan 1 0.34679014 0.72680286 100 eks pan 2 0.75867996 0.52215111 50 wye wye 3 0.20460331 0.33831853 33 eks wye 4 0.38139939 0.13418874 25 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0036/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0036/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0037/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0037/mlr Miller DSL script: $z=100//$x actualStdout [214]: a b i x y z pan pan 1 0.34679014 0.72680286 288.00000000 eks pan 2 0.75867996 0.52215111 131.00000000 wye wye 3 0.20460331 0.33831853 488.00000000 eks wye 4 0.38139939 0.13418874 262.00000000 expectedStdout [214]: a b i x y z pan pan 1 0.34679014 0.72680286 288.00000000 eks pan 2 0.75867996 0.52215111 131.00000000 wye wye 3 0.20460331 0.33831853 488.00000000 eks wye 4 0.38139939 0.13418874 262.00000000 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0037/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0037/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0038/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0038/mlr Miller DSL script: $z=100.0//$i actualStdout [211]: a b i x y z pan pan 1 0.34679014 0.72680286 100.00000000 eks pan 2 0.75867996 0.52215111 50.00000000 wye wye 3 0.20460331 0.33831853 33.00000000 eks wye 4 0.38139939 0.13418874 25.00000000 expectedStdout [211]: a b i x y z pan pan 1 0.34679014 0.72680286 100.00000000 eks pan 2 0.75867996 0.52215111 50.00000000 wye wye 3 0.20460331 0.33831853 33.00000000 eks wye 4 0.38139939 0.13418874 25.00000000 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0038/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0038/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0039/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0039/mlr Miller DSL script: $z=100.0//$i actualStdout [211]: a b i x y z pan pan 1 0.34679014 0.72680286 100.00000000 eks pan 2 0.75867996 0.52215111 50.00000000 wye wye 3 0.20460331 0.33831853 33.00000000 eks wye 4 0.38139939 0.13418874 25.00000000 expectedStdout [211]: a b i x y z pan pan 1 0.34679014 0.72680286 100.00000000 eks pan 2 0.75867996 0.52215111 50.00000000 wye wye 3 0.20460331 0.33831853 33.00000000 eks wye 4 0.38139939 0.13418874 25.00000000 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0039/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0039/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0040/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0040/mlr Miller DSL script: $z=100.0/$i actualStdout [211]: a b i x y z pan pan 1 0.34679014 0.72680286 100.00000000 eks pan 2 0.75867996 0.52215111 50.00000000 wye wye 3 0.20460331 0.33831853 33.33333333 eks wye 4 0.38139939 0.13418874 25.00000000 expectedStdout [211]: a b i x y z pan pan 1 0.34679014 0.72680286 100.00000000 eks pan 2 0.75867996 0.52215111 50.00000000 wye wye 3 0.20460331 0.33831853 33.33333333 eks wye 4 0.38139939 0.13418874 25.00000000 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0040/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0040/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0041/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0041/mlr Miller DSL script: $z=100.0 actualStdout [214]: a b i x y z pan pan 1 0.34679014 0.72680286 100.00000000 eks pan 2 0.75867996 0.52215111 100.00000000 wye wye 3 0.20460331 0.33831853 100.00000000 eks wye 4 0.38139939 0.13418874 100.00000000 expectedStdout [214]: a b i x y z pan pan 1 0.34679014 0.72680286 100.00000000 eks pan 2 0.75867996 0.52215111 100.00000000 wye wye 3 0.20460331 0.33831853 100.00000000 eks wye 4 0.38139939 0.13418874 100.00000000 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0041/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0041/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0042/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0042/mlr Miller DSL script: $z=100 actualStdout [178]: a b i x y z pan pan 1 0.34679014 0.72680286 100 eks pan 2 0.75867996 0.52215111 100 wye wye 3 0.20460331 0.33831853 100 eks wye 4 0.38139939 0.13418874 100 expectedStdout [178]: a b i x y z pan pan 1 0.34679014 0.72680286 100 eks pan 2 0.75867996 0.52215111 100 wye wye 3 0.20460331 0.33831853 100 eks wye 4 0.38139939 0.13418874 100 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0042/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0042/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0043/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0043/mlr Miller DSL script: $z=100.4 actualStdout [214]: a b i x y z pan pan 1 0.34679014 0.72680286 100.40000000 eks pan 2 0.75867996 0.52215111 100.40000000 wye wye 3 0.20460331 0.33831853 100.40000000 eks wye 4 0.38139939 0.13418874 100.40000000 expectedStdout [214]: a b i x y z pan pan 1 0.34679014 0.72680286 100.40000000 eks pan 2 0.75867996 0.52215111 100.40000000 wye wye 3 0.20460331 0.33831853 100.40000000 eks wye 4 0.38139939 0.13418874 100.40000000 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0043/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0043/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0044/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0044/mlr Miller DSL script: $z=1.2 actualStdout [206]: a b i x y z pan pan 1 0.34679014 0.72680286 1.20000000 eks pan 2 0.75867996 0.52215111 1.20000000 wye wye 3 0.20460331 0.33831853 1.20000000 eks wye 4 0.38139939 0.13418874 1.20000000 expectedStdout [206]: a b i x y z pan pan 1 0.34679014 0.72680286 1.20000000 eks pan 2 0.75867996 0.52215111 1.20000000 wye wye 3 0.20460331 0.33831853 1.20000000 eks wye 4 0.38139939 0.13418874 1.20000000 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0044/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0044/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0045/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0045/mlr Miller DSL script: $z=100.0/$i actualStdout [211]: a b i x y z pan pan 1 0.34679014 0.72680286 100.00000000 eks pan 2 0.75867996 0.52215111 50.00000000 wye wye 3 0.20460331 0.33831853 33.33333333 eks wye 4 0.38139939 0.13418874 25.00000000 expectedStdout [211]: a b i x y z pan pan 1 0.34679014 0.72680286 100.00000000 eks pan 2 0.75867996 0.52215111 50.00000000 wye wye 3 0.20460331 0.33831853 33.33333333 eks wye 4 0.38139939 0.13418874 25.00000000 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0045/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0045/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0046/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0046/mlr Miller DSL script: $z=100.0//$i actualStdout [211]: a b i x y z pan pan 1 0.34679014 0.72680286 100.00000000 eks pan 2 0.75867996 0.52215111 50.00000000 wye wye 3 0.20460331 0.33831853 33.00000000 eks wye 4 0.38139939 0.13418874 25.00000000 expectedStdout [211]: a b i x y z pan pan 1 0.34679014 0.72680286 100.00000000 eks pan 2 0.75867996 0.52215111 50.00000000 wye wye 3 0.20460331 0.33831853 33.00000000 eks wye 4 0.38139939 0.13418874 25.00000000 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0046/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0046/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0047/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0047/mlr Miller DSL script: $z=0x7fffffffffffffff + 0x7fffffffffffffff actualStdout [282]: a b i x y z pan pan 1 0.34679014 0.72680286 18446744073709551616.00000000 eks pan 2 0.75867996 0.52215111 18446744073709551616.00000000 wye wye 3 0.20460331 0.33831853 18446744073709551616.00000000 eks wye 4 0.38139939 0.13418874 18446744073709551616.00000000 expectedStdout [282]: a b i x y z pan pan 1 0.34679014 0.72680286 18446744073709551616.00000000 eks pan 2 0.75867996 0.52215111 18446744073709551616.00000000 wye wye 3 0.20460331 0.33831853 18446744073709551616.00000000 eks wye 4 0.38139939 0.13418874 18446744073709551616.00000000 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0047/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0047/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0048/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0048/mlr Miller DSL script: $z=0x7fffffffffffffff .+ 0x7fffffffffffffff actualStdout [174]: a b i x y z pan pan 1 0.34679014 0.72680286 -2 eks pan 2 0.75867996 0.52215111 -2 wye wye 3 0.20460331 0.33831853 -2 eks wye 4 0.38139939 0.13418874 -2 expectedStdout [174]: a b i x y z pan pan 1 0.34679014 0.72680286 -2 eks pan 2 0.75867996 0.52215111 -2 wye wye 3 0.20460331 0.33831853 -2 eks wye 4 0.38139939 0.13418874 -2 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0048/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0048/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0049/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0049/mlr Miller DSL script: $z=0x7fffffffffffffff * 0x7fffffffffffffff actualStdout [354]: a b i x y z pan pan 1 0.34679014 0.72680286 85070591730234615865843651857942052864.00000000 eks pan 2 0.75867996 0.52215111 85070591730234615865843651857942052864.00000000 wye wye 3 0.20460331 0.33831853 85070591730234615865843651857942052864.00000000 eks wye 4 0.38139939 0.13418874 85070591730234615865843651857942052864.00000000 expectedStdout [354]: a b i x y z pan pan 1 0.34679014 0.72680286 85070591730234615865843651857942052864.00000000 eks pan 2 0.75867996 0.52215111 85070591730234615865843651857942052864.00000000 wye wye 3 0.20460331 0.33831853 85070591730234615865843651857942052864.00000000 eks wye 4 0.38139939 0.13418874 85070591730234615865843651857942052864.00000000 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0049/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0049/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0050/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0050/mlr Miller DSL script: $z=0x7fffffffffffffff .* 0x7fffffffffffffff actualStdout [170]: a b i x y z pan pan 1 0.34679014 0.72680286 1 eks pan 2 0.75867996 0.52215111 1 wye wye 3 0.20460331 0.33831853 1 eks wye 4 0.38139939 0.13418874 1 expectedStdout [170]: a b i x y z pan pan 1 0.34679014 0.72680286 1 eks pan 2 0.75867996 0.52215111 1 wye wye 3 0.20460331 0.33831853 1 eks wye 4 0.38139939 0.13418874 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0050/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0050/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0051/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0051/mlr Miller DSL script: $z= (~ $i) + 1 actualStdout [174]: a b i x y z pan pan 1 0.34679014 0.72680286 -1 eks pan 2 0.75867996 0.52215111 -2 wye wye 3 0.20460331 0.33831853 -3 eks wye 4 0.38139939 0.13418874 -4 expectedStdout [174]: a b i x y z pan pan 1 0.34679014 0.72680286 -1 eks pan 2 0.75867996 0.52215111 -2 wye wye 3 0.20460331 0.33831853 -3 eks wye 4 0.38139939 0.13418874 -4 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0051/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0051/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0052/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0052/mlr Miller DSL script: $z= $i == 2 actualStdout [185]: a b i x y z pan pan 1 0.34679014 0.72680286 false eks pan 2 0.75867996 0.52215111 true wye wye 3 0.20460331 0.33831853 false eks wye 4 0.38139939 0.13418874 false expectedStdout [185]: a b i x y z pan pan 1 0.34679014 0.72680286 false eks pan 2 0.75867996 0.52215111 true wye wye 3 0.20460331 0.33831853 false eks wye 4 0.38139939 0.13418874 false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0052/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0052/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0053/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0053/mlr Miller DSL script: $z= $i != 2 actualStdout [183]: a b i x y z pan pan 1 0.34679014 0.72680286 true eks pan 2 0.75867996 0.52215111 false wye wye 3 0.20460331 0.33831853 true eks wye 4 0.38139939 0.13418874 true expectedStdout [183]: a b i x y z pan pan 1 0.34679014 0.72680286 true eks pan 2 0.75867996 0.52215111 false wye wye 3 0.20460331 0.33831853 true eks wye 4 0.38139939 0.13418874 true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0053/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0053/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0054/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0054/mlr Miller DSL script: $z= $i > 2 actualStdout [184]: a b i x y z pan pan 1 0.34679014 0.72680286 false eks pan 2 0.75867996 0.52215111 false wye wye 3 0.20460331 0.33831853 true eks wye 4 0.38139939 0.13418874 true expectedStdout [184]: a b i x y z pan pan 1 0.34679014 0.72680286 false eks pan 2 0.75867996 0.52215111 false wye wye 3 0.20460331 0.33831853 true eks wye 4 0.38139939 0.13418874 true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0054/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0054/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0055/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0055/mlr Miller DSL script: $z= $i >= 2 actualStdout [183]: a b i x y z pan pan 1 0.34679014 0.72680286 false eks pan 2 0.75867996 0.52215111 true wye wye 3 0.20460331 0.33831853 true eks wye 4 0.38139939 0.13418874 true expectedStdout [183]: a b i x y z pan pan 1 0.34679014 0.72680286 false eks pan 2 0.75867996 0.52215111 true wye wye 3 0.20460331 0.33831853 true eks wye 4 0.38139939 0.13418874 true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0055/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0055/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0056/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0056/mlr Miller DSL script: $z= $i < 2 actualStdout [185]: a b i x y z pan pan 1 0.34679014 0.72680286 true eks pan 2 0.75867996 0.52215111 false wye wye 3 0.20460331 0.33831853 false eks wye 4 0.38139939 0.13418874 false expectedStdout [185]: a b i x y z pan pan 1 0.34679014 0.72680286 true eks pan 2 0.75867996 0.52215111 false wye wye 3 0.20460331 0.33831853 false eks wye 4 0.38139939 0.13418874 false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0056/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0056/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0057/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0057/mlr Miller DSL script: $z= $i >= 2 actualStdout [183]: a b i x y z pan pan 1 0.34679014 0.72680286 false eks pan 2 0.75867996 0.52215111 true wye wye 3 0.20460331 0.33831853 true eks wye 4 0.38139939 0.13418874 true expectedStdout [183]: a b i x y z pan pan 1 0.34679014 0.72680286 false eks pan 2 0.75867996 0.52215111 true wye wye 3 0.20460331 0.33831853 true eks wye 4 0.38139939 0.13418874 true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0057/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0057/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0058/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0058/mlr Miller DSL script: $z = $i < 5 ? "low" : "high" actualStdout [178]: a b i x y z pan pan 1 0.34679014 0.72680286 low eks pan 2 0.75867996 0.52215111 low wye wye 3 0.20460331 0.33831853 low eks wye 4 0.38139939 0.13418874 low expectedStdout [178]: a b i x y z pan pan 1 0.34679014 0.72680286 low eks pan 2 0.75867996 0.52215111 low wye wye 3 0.20460331 0.33831853 low eks wye 4 0.38139939 0.13418874 low actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0058/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0058/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0059/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0059/mlr Miller DSL script: $z = $i ** 3 actualStdout [172]: a b i x y z pan pan 1 0.34679014 0.72680286 1 eks pan 2 0.75867996 0.52215111 8 wye wye 3 0.20460331 0.33831853 27 eks wye 4 0.38139939 0.13418874 64 expectedStdout [172]: a b i x y z pan pan 1 0.34679014 0.72680286 1 eks pan 2 0.75867996 0.52215111 8 wye wye 3 0.20460331 0.33831853 27 eks wye 4 0.38139939 0.13418874 64 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0059/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0059/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0060/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0060/mlr Miller DSL script: $z = $x ** 0.5 actualStdout [206]: a b i x y z pan pan 1 0.34679014 0.72680286 0.58888891 eks pan 2 0.75867996 0.52215111 0.87102237 wye wye 3 0.20460331 0.33831853 0.45233097 eks wye 4 0.38139939 0.13418874 0.61757542 expectedStdout [206]: a b i x y z pan pan 1 0.34679014 0.72680286 0.58888891 eks pan 2 0.75867996 0.52215111 0.87102237 wye wye 3 0.20460331 0.33831853 0.45233097 eks wye 4 0.38139939 0.13418874 0.61757542 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0060/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0060/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0061/cmd Command: mlr --oxtab seqgen --start 1 --stop 1 then put -f test/cases/dsl-basic/0061/mlr Miller DSL script: $a = "<>"; $t = "<>"; $n = "<>"; $sl = "<>"; $quote = "<>"; $B = "<>"; $C = "<>"; actualStdout [106]: i 1 a <> t <> n <> sl <> quote <> B <> C <> expectedStdout [106]: i 1 a <> t <> n <> sl <> quote <> B <> C <> actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0061/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0061/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-basic/0062/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-basic/0062/mlr Miller DSL script: $o = 0o13 ** NR actualStdout [180]: a b i x y o pan pan 1 0.34679014 0.72680286 11 eks pan 2 0.75867996 0.52215111 121 wye wye 3 0.20460331 0.33831853 1331 eks wye 4 0.38139939 0.13418874 14641 expectedStdout [180]: a b i x y o pan pan 1 0.34679014 0.72680286 11 eks pan 2 0.75867996 0.52215111 121 wye wye 3 0.20460331 0.33831853 1331 eks wye 4 0.38139939 0.13418874 14641 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-basic/0062/cmd ---------------------------------------------------------------- end ./test/cases/dsl-basic/0062/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-begin-end/0001/cmd Command: mlr --from test/input/s.dkvp put -q '@sum += $x; dump' actualStdout [96]: { "sum": 0.34679014 } { "sum": 1.10547011 } { "sum": 1.31007341 } { "sum": 1.69147281 } expectedStdout [96]: { "sum": 0.34679014 } { "sum": 1.10547011 } { "sum": 1.31007341 } { "sum": 1.69147281 } actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-begin-end/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-begin-end/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-begin-end/0002/cmd Command: mlr --from test/input/s.dkvp put -q '@sum[$a] += $x; dump' actualStdout [279]: { "sum": { "pan": 0.34679014 } } { "sum": { "pan": 0.34679014, "eks": 0.75867996 } } { "sum": { "pan": 0.34679014, "eks": 0.75867996, "wye": 0.20460331 } } { "sum": { "pan": 0.34679014, "eks": 1.14007936, "wye": 0.20460331 } } expectedStdout [279]: { "sum": { "pan": 0.34679014 } } { "sum": { "pan": 0.34679014, "eks": 0.75867996 } } { "sum": { "pan": 0.34679014, "eks": 0.75867996, "wye": 0.20460331 } } { "sum": { "pan": 0.34679014, "eks": 1.14007936, "wye": 0.20460331 } } actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-begin-end/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-begin-end/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-begin-end/0003/cmd Command: mlr --from test/input/s.dkvp put -q 'begin{@sum=0} @sum += $x; end{dump}' actualStdout [24]: { "sum": 1.69147281 } expectedStdout [24]: { "sum": 1.69147281 } actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-begin-end/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-begin-end/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-begin-end/0004/cmd Command: mlr --from test/input/s.dkvp put -q 'begin{@sum={}} @sum[$a] += $x; end{dump}' actualStdout [87]: { "sum": { "pan": 0.34679014, "eks": 1.14007936, "wye": 0.20460331 } } expectedStdout [87]: { "sum": { "pan": 0.34679014, "eks": 1.14007936, "wye": 0.20460331 } } actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-begin-end/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-begin-end/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-begin-end/0005/cmd Command: mlr --from test/input/s.dkvp put -q 'begin{@sum=[3,4]} @sum[1+NR%2] += $x; end{dump}' actualStdout [38]: { "sum": [4.14007936, 4.55139345] } expectedStdout [38]: { "sum": [4.14007936, 4.55139345] } actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-begin-end/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-begin-end/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-begin-end/0006/cmd Command: mlr --from test/input/s.dkvp put -q 'begin{@sum=[0,0]} @sum[1+NR%2] += $x; end{dump}' actualStdout [38]: { "sum": [1.14007936, 0.55139345] } expectedStdout [38]: { "sum": [1.14007936, 0.55139345] } actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-begin-end/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-begin-end/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-begin-end/0007/cmd Command: mlr --from test/input/s.dkvp put -q 'begin{@sum=[]} @sum[1+NR%2] += $x; end{dump}' actualStdout [38]: { "sum": [1.14007936, 0.55139345] } expectedStdout [38]: { "sum": [1.14007936, 0.55139345] } actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-begin-end/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-begin-end/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-begin-end/0008/cmd Command: mlr --from test/input/s.dkvp put -q 'begin{} @sum[1+(NR%2)] += $x; end{dump}' actualStdout [60]: { "sum": { "2": 0.55139345, "1": 1.14007936 } } expectedStdout [60]: { "sum": { "2": 0.55139345, "1": 1.14007936 } } actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-begin-end/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-begin-end/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-begin-end/0009/cmd Command: mlr --from test/input/s.dkvp put 'nr=NR; $nr=nr' actualStdout [188]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,nr=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,nr=2 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,nr=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,nr=4 expectedStdout [188]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,nr=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,nr=2 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,nr=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,nr=4 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-begin-end/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-begin-end/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-block-exit/0001/cmd Command: mlr --from test/input/s.dkvp put -f test/cases/dsl-block-exit/0001/mlr Miller DSL script: $si = 0; for (i = 0; i < NR; i += 1) { if (i == 2) { $si += 0 } $si += i } actualStdout [188]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,si=0 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,si=1 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,si=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,si=6 expectedStdout [188]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,si=0 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,si=1 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,si=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,si=6 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-block-exit/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-block-exit/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-block-exit/0002/cmd Command: mlr --from test/input/s.dkvp put -f test/cases/dsl-block-exit/0002/mlr Miller DSL script: $si = 0; for (i = 0; i < NR; i += 1) { if (i == 2) { $si += 100 } $si += i } actualStdout [192]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,si=0 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,si=1 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,si=103 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,si=106 expectedStdout [192]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,si=0 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,si=1 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,si=103 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,si=106 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-block-exit/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-block-exit/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-block-exit/0003/cmd Command: mlr --from test/input/s.dkvp put -f test/cases/dsl-block-exit/0003/mlr Miller DSL script: $si = 0; for (i = 0; i < NR; i += 1) { if (i == 2) { break } $si += i } actualStdout [188]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,si=0 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,si=1 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,si=1 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,si=1 expectedStdout [188]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,si=0 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,si=1 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,si=1 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,si=1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-block-exit/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-block-exit/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-block-exit/0004/cmd Command: mlr --from test/input/s.dkvp put -f test/cases/dsl-block-exit/0004/mlr Miller DSL script: $si = 0; for (i = 0; i < NR; i += 1) { if (i == 2) { continue } $si += i } actualStdout [188]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,si=0 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,si=1 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,si=1 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,si=4 expectedStdout [188]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,si=0 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,si=1 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,si=1 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,si=4 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-block-exit/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-block-exit/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-block-exit/0005/cmd Command: mlr --from test/input/s.dkvp --opprint put -f ./test/cases/dsl-block-exit/0005/mlr Miller DSL script: $si = 0; for (i = 0; i < NR; i += 1) { if (true) { if (i == 2) { $si += 0 } } $si += i } actualStdout [171]: a b i x y si pan pan 1 0.34679014 0.72680286 0 eks pan 2 0.75867996 0.52215111 1 wye wye 3 0.20460331 0.33831853 3 eks wye 4 0.38139939 0.13418874 6 expectedStdout [171]: a b i x y si pan pan 1 0.34679014 0.72680286 0 eks pan 2 0.75867996 0.52215111 1 wye wye 3 0.20460331 0.33831853 3 eks wye 4 0.38139939 0.13418874 6 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-block-exit/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-block-exit/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-block-exit/0006/cmd Command: mlr --from test/input/s.dkvp --opprint put -f ./test/cases/dsl-block-exit/0006/mlr Miller DSL script: $si = 0; for (i = 0; i < NR; i += 1) { if (true) { if (i == 2) { $si += 100 } } $si += i } actualStdout [175]: a b i x y si pan pan 1 0.34679014 0.72680286 0 eks pan 2 0.75867996 0.52215111 1 wye wye 3 0.20460331 0.33831853 103 eks wye 4 0.38139939 0.13418874 106 expectedStdout [175]: a b i x y si pan pan 1 0.34679014 0.72680286 0 eks pan 2 0.75867996 0.52215111 1 wye wye 3 0.20460331 0.33831853 103 eks wye 4 0.38139939 0.13418874 106 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-block-exit/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-block-exit/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-block-exit/0007/cmd Command: mlr --from test/input/s.dkvp --opprint put -f ./test/cases/dsl-block-exit/0007/mlr Miller DSL script: $si = 0; for (i = 0; i < NR; i += 1) { if (true) { if (i == 2) { break } } $si += i } actualStdout [171]: a b i x y si pan pan 1 0.34679014 0.72680286 0 eks pan 2 0.75867996 0.52215111 1 wye wye 3 0.20460331 0.33831853 1 eks wye 4 0.38139939 0.13418874 1 expectedStdout [171]: a b i x y si pan pan 1 0.34679014 0.72680286 0 eks pan 2 0.75867996 0.52215111 1 wye wye 3 0.20460331 0.33831853 1 eks wye 4 0.38139939 0.13418874 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-block-exit/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-block-exit/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-block-exit/0008/cmd Command: mlr --from test/input/s.dkvp --opprint put -f ./test/cases/dsl-block-exit/0008/mlr Miller DSL script: $si = 0; for (i = 0; i < NR; i += 1) { if (true) { if (i == 2) { continue } } $si += i } actualStdout [171]: a b i x y si pan pan 1 0.34679014 0.72680286 0 eks pan 2 0.75867996 0.52215111 1 wye wye 3 0.20460331 0.33831853 1 eks wye 4 0.38139939 0.13418874 4 expectedStdout [171]: a b i x y si pan pan 1 0.34679014 0.72680286 0 eks pan 2 0.75867996 0.52215111 1 wye wye 3 0.20460331 0.33831853 1 eks wye 4 0.38139939 0.13418874 4 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-block-exit/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-block-exit/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-block-exit/0009/cmd Command: mlr --from test/input/s.dkvp --opprint put -f ./test/cases/dsl-block-exit/0009/mlr Miller DSL script: $si = 0; for (p = 1; p <= 3; p += 1) { for (i = 0; i < NR; i += 1) { if (i == 2) { $si += 0 } $si += i * 10**p } } actualStdout [180]: a b i x y si pan pan 1 0.34679014 0.72680286 0 eks pan 2 0.75867996 0.52215111 1110 wye wye 3 0.20460331 0.33831853 3330 eks wye 4 0.38139939 0.13418874 6660 expectedStdout [180]: a b i x y si pan pan 1 0.34679014 0.72680286 0 eks pan 2 0.75867996 0.52215111 1110 wye wye 3 0.20460331 0.33831853 3330 eks wye 4 0.38139939 0.13418874 6660 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-block-exit/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-block-exit/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-block-exit/0010/cmd Command: mlr --from test/input/s.dkvp --opprint put -f ./test/cases/dsl-block-exit/0010/mlr Miller DSL script: $si = 0; for (p = 1; p <= 3; p += 1) { for (i = 0; i < NR; i += 1) { if (i == 2) { break } $si += i * 10**p } } actualStdout [180]: a b i x y si pan pan 1 0.34679014 0.72680286 0 eks pan 2 0.75867996 0.52215111 1110 wye wye 3 0.20460331 0.33831853 1110 eks wye 4 0.38139939 0.13418874 1110 expectedStdout [180]: a b i x y si pan pan 1 0.34679014 0.72680286 0 eks pan 2 0.75867996 0.52215111 1110 wye wye 3 0.20460331 0.33831853 1110 eks wye 4 0.38139939 0.13418874 1110 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-block-exit/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-block-exit/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-block-exit/0011/cmd Command: mlr --from test/input/s.dkvp --opprint put -f ./test/cases/dsl-block-exit/0011/mlr Miller DSL script: $si = 0; for (p = 1; p <= 3; p += 1) { for (i = 0; i < NR; i += 1) { if (i == 2) { continue } $si += i * 10**p } } actualStdout [180]: a b i x y si pan pan 1 0.34679014 0.72680286 0 eks pan 2 0.75867996 0.52215111 1110 wye wye 3 0.20460331 0.33831853 1110 eks wye 4 0.38139939 0.13418874 4440 expectedStdout [180]: a b i x y si pan pan 1 0.34679014 0.72680286 0 eks pan 2 0.75867996 0.52215111 1110 wye wye 3 0.20460331 0.33831853 1110 eks wye 4 0.38139939 0.13418874 4440 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-block-exit/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-block-exit/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0001/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0001/mlr Miller DSL script: while ($i < 5) { $i += 1; break; $a = "ERROR"; } actualStdout [354]: a b i x y pan pan 2 0.34679014 0.72680286 eks pan 3 0.75867996 0.52215111 wye wye 4 0.20460331 0.33831853 eks wye 5 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 expectedStdout [354]: a b i x y pan pan 2 0.34679014 0.72680286 eks pan 3 0.75867996 0.52215111 wye wye 4 0.20460331 0.33831853 eks wye 5 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0002/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0002/mlr Miller DSL script: while ($i < 5) { $i += 1; continue; $a = "ERROR"; } actualStdout [354]: a b i x y pan pan 5 0.34679014 0.72680286 eks pan 5 0.75867996 0.52215111 wye wye 5 0.20460331 0.33831853 eks wye 5 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 expectedStdout [354]: a b i x y pan pan 5 0.34679014 0.72680286 eks pan 5 0.75867996 0.52215111 wye wye 5 0.20460331 0.33831853 eks wye 5 0.38139939 0.13418874 wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 hat wye 9 0.03144188 0.74955076 pan wye 10 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0003/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0003/mlr Miller DSL script: do { $i += 1; break; $a = "ERROR"; } while ($i < 5); actualStdout [354]: a b i x y pan pan 2 0.34679014 0.72680286 eks pan 3 0.75867996 0.52215111 wye wye 4 0.20460331 0.33831853 eks wye 5 0.38139939 0.13418874 wye pan 6 0.57328892 0.86362447 zee pan 7 0.52712616 0.49322129 eks zee 8 0.61178406 0.18788492 zee wye 9 0.59855401 0.97618139 hat wye 10 0.03144188 0.74955076 pan wye 11 0.50262601 0.95261836 expectedStdout [354]: a b i x y pan pan 2 0.34679014 0.72680286 eks pan 3 0.75867996 0.52215111 wye wye 4 0.20460331 0.33831853 eks wye 5 0.38139939 0.13418874 wye pan 6 0.57328892 0.86362447 zee pan 7 0.52712616 0.49322129 eks zee 8 0.61178406 0.18788492 zee wye 9 0.59855401 0.97618139 hat wye 10 0.03144188 0.74955076 pan wye 11 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0004/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0004/mlr Miller DSL script: do { $i += 1; continue; $a = "ERROR"; } while ($i < 5); actualStdout [354]: a b i x y pan pan 5 0.34679014 0.72680286 eks pan 5 0.75867996 0.52215111 wye wye 5 0.20460331 0.33831853 eks wye 5 0.38139939 0.13418874 wye pan 6 0.57328892 0.86362447 zee pan 7 0.52712616 0.49322129 eks zee 8 0.61178406 0.18788492 zee wye 9 0.59855401 0.97618139 hat wye 10 0.03144188 0.74955076 pan wye 11 0.50262601 0.95261836 expectedStdout [354]: a b i x y pan pan 5 0.34679014 0.72680286 eks pan 5 0.75867996 0.52215111 wye wye 5 0.20460331 0.33831853 eks wye 5 0.38139939 0.13418874 wye pan 6 0.57328892 0.86362447 zee pan 7 0.52712616 0.49322129 eks zee 8 0.61178406 0.18788492 zee wye 9 0.59855401 0.97618139 hat wye 10 0.03144188 0.74955076 pan wye 11 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0005/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0005/mlr Miller DSL script: $NR = NR; while ($i < 5) { $i += 1; if (NR == 2) { break; } $a = "reached"; } actualStdout [431]: a b i x y NR reached pan 5 0.34679014 0.72680286 1 eks pan 3 0.75867996 0.52215111 2 reached wye 5 0.20460331 0.33831853 3 reached wye 5 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 expectedStdout [431]: a b i x y NR reached pan 5 0.34679014 0.72680286 1 eks pan 3 0.75867996 0.52215111 2 reached wye 5 0.20460331 0.33831853 3 reached wye 5 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0006/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0006/mlr Miller DSL script: $NR = NR; while ($i < 5) { $i += 1; if (NR == 2) { continue; } $a = "reached"; } actualStdout [431]: a b i x y NR reached pan 5 0.34679014 0.72680286 1 eks pan 5 0.75867996 0.52215111 2 reached wye 5 0.20460331 0.33831853 3 reached wye 5 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 expectedStdout [431]: a b i x y NR reached pan 5 0.34679014 0.72680286 1 eks pan 5 0.75867996 0.52215111 2 reached wye 5 0.20460331 0.33831853 3 reached wye 5 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0007/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0007/mlr Miller DSL script: $NR = NR; do { $i += 1; if (NR == 2) { break; } $a = "reached"; } while ($i < 5); actualStdout [431]: a b i x y NR reached pan 5 0.34679014 0.72680286 1 eks pan 3 0.75867996 0.52215111 2 reached wye 5 0.20460331 0.33831853 3 reached wye 5 0.38139939 0.13418874 4 reached pan 6 0.57328892 0.86362447 5 reached pan 7 0.52712616 0.49322129 6 reached zee 8 0.61178406 0.18788492 7 reached wye 9 0.59855401 0.97618139 8 reached wye 10 0.03144188 0.74955076 9 reached wye 11 0.50262601 0.95261836 10 expectedStdout [431]: a b i x y NR reached pan 5 0.34679014 0.72680286 1 eks pan 3 0.75867996 0.52215111 2 reached wye 5 0.20460331 0.33831853 3 reached wye 5 0.38139939 0.13418874 4 reached pan 6 0.57328892 0.86362447 5 reached pan 7 0.52712616 0.49322129 6 reached zee 8 0.61178406 0.18788492 7 reached wye 9 0.59855401 0.97618139 8 reached wye 10 0.03144188 0.74955076 9 reached wye 11 0.50262601 0.95261836 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0008/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0008/mlr Miller DSL script: $NR = NR; do { $i += 1; if (NR == 2) { continue; } $a = "reached"; } while ($i < 5); actualStdout [431]: a b i x y NR reached pan 5 0.34679014 0.72680286 1 eks pan 5 0.75867996 0.52215111 2 reached wye 5 0.20460331 0.33831853 3 reached wye 5 0.38139939 0.13418874 4 reached pan 6 0.57328892 0.86362447 5 reached pan 7 0.52712616 0.49322129 6 reached zee 8 0.61178406 0.18788492 7 reached wye 9 0.59855401 0.97618139 8 reached wye 10 0.03144188 0.74955076 9 reached wye 11 0.50262601 0.95261836 10 expectedStdout [431]: a b i x y NR reached pan 5 0.34679014 0.72680286 1 eks pan 5 0.75867996 0.52215111 2 reached wye 5 0.20460331 0.33831853 3 reached wye 5 0.38139939 0.13418874 4 reached pan 6 0.57328892 0.86362447 5 reached pan 7 0.52712616 0.49322129 6 reached zee 8 0.61178406 0.18788492 7 reached wye 9 0.59855401 0.97618139 8 reached wye 10 0.03144188 0.74955076 9 reached wye 11 0.50262601 0.95261836 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0009/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0009/mlr Miller DSL script: $j = NR; while ($j < 4) { $k = NR; $j += 1; break; while ($k < 7) { $k += 1 } } actualStdout [426]: a b i x y j k pan pan 1 0.34679014 0.72680286 2 1 eks pan 2 0.75867996 0.52215111 3 2 wye wye 3 0.20460331 0.33831853 4 3 a b i x y j eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 expectedStdout [426]: a b i x y j k pan pan 1 0.34679014 0.72680286 2 1 eks pan 2 0.75867996 0.52215111 3 2 wye wye 3 0.20460331 0.33831853 4 3 a b i x y j eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0010/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0010/mlr Miller DSL script: $j = NR; while ($j < 4) { $k = NR; $j += 1; continue; while ($k < 7) { $k += 1 } } actualStdout [426]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 1 eks pan 2 0.75867996 0.52215111 4 2 wye wye 3 0.20460331 0.33831853 4 3 a b i x y j eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 expectedStdout [426]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 1 eks pan 2 0.75867996 0.52215111 4 2 wye wye 3 0.20460331 0.33831853 4 3 a b i x y j eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0011/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0011/mlr Miller DSL script: $j = NR; while ($j < 4) { $k = NR; $j += 1; while ($k < 7) { $k += 1; break; $k += 10000; } } actualStdout [426]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 2 eks pan 2 0.75867996 0.52215111 4 3 wye wye 3 0.20460331 0.33831853 4 4 a b i x y j eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 expectedStdout [426]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 2 eks pan 2 0.75867996 0.52215111 4 3 wye wye 3 0.20460331 0.33831853 4 4 a b i x y j eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0012/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0012/mlr Miller DSL script: $j = NR; while ($j < 4) { $k = NR; $j += 1; while ($k < 7) { $k += 1; continue; $k += 10000; } } actualStdout [426]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 7 eks pan 2 0.75867996 0.52215111 4 7 wye wye 3 0.20460331 0.33831853 4 7 a b i x y j eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 expectedStdout [426]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 7 eks pan 2 0.75867996 0.52215111 4 7 wye wye 3 0.20460331 0.33831853 4 7 a b i x y j eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0013/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0013/mlr Miller DSL script: $j = NR; while ($j < 4) { $k = NR; $j += 1; if (NR == 2 || NR == 8) { break; } while ($k < 7) { $k += 1 } } actualStdout [426]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 7 eks pan 2 0.75867996 0.52215111 3 2 wye wye 3 0.20460331 0.33831853 4 7 a b i x y j eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 expectedStdout [426]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 7 eks pan 2 0.75867996 0.52215111 3 2 wye wye 3 0.20460331 0.33831853 4 7 a b i x y j eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0014/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0014/mlr Miller DSL script: $j = NR; while ($j < 4) { $k = NR; $j += 1; if (NR == 2 || NR == 8) { continue; } while ($k < 7) { $k += 1 } } actualStdout [426]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 7 eks pan 2 0.75867996 0.52215111 4 2 wye wye 3 0.20460331 0.33831853 4 7 a b i x y j eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 expectedStdout [426]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 7 eks pan 2 0.75867996 0.52215111 4 2 wye wye 3 0.20460331 0.33831853 4 7 a b i x y j eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0015/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0015/mlr Miller DSL script: $j = NR; while ($j < 4) { $k = NR; $j += 1; while ($k < 7) { $k += 1; if (NR == 2 || NR == 8) { break; } $k += 10000; } } actualStdout [434]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 10002 eks pan 2 0.75867996 0.52215111 4 3 wye wye 3 0.20460331 0.33831853 4 10004 a b i x y j eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 expectedStdout [434]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 10002 eks pan 2 0.75867996 0.52215111 4 3 wye wye 3 0.20460331 0.33831853 4 10004 a b i x y j eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0015/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0015/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0016/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0016/mlr Miller DSL script: $j = NR; while ($j < 4) { $k = NR; $j += 1; while ($k < 7) { $k += 1; if (NR == 2 || NR == 8) { continue; } $k += 10000; } } actualStdout [434]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 10002 eks pan 2 0.75867996 0.52215111 4 7 wye wye 3 0.20460331 0.33831853 4 10004 a b i x y j eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 expectedStdout [434]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 10002 eks pan 2 0.75867996 0.52215111 4 7 wye wye 3 0.20460331 0.33831853 4 10004 a b i x y j eks wye 4 0.38139939 0.13418874 4 wye pan 5 0.57328892 0.86362447 5 zee pan 6 0.52712616 0.49322129 6 eks zee 7 0.61178406 0.18788492 7 zee wye 8 0.59855401 0.97618139 8 hat wye 9 0.03144188 0.74955076 9 pan wye 10 0.50262601 0.95261836 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0016/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0016/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0017/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0017/mlr Miller DSL script: $j = NR; do { $k = NR; $j += 1; break; do { $k += 1 } while ($k < 7); } while ($j < 4); actualStdout [419]: a b i x y j k pan pan 1 0.34679014 0.72680286 2 1 eks pan 2 0.75867996 0.52215111 3 2 wye wye 3 0.20460331 0.33831853 4 3 eks wye 4 0.38139939 0.13418874 5 4 wye pan 5 0.57328892 0.86362447 6 5 zee pan 6 0.52712616 0.49322129 7 6 eks zee 7 0.61178406 0.18788492 8 7 zee wye 8 0.59855401 0.97618139 9 8 hat wye 9 0.03144188 0.74955076 10 9 pan wye 10 0.50262601 0.95261836 11 10 expectedStdout [419]: a b i x y j k pan pan 1 0.34679014 0.72680286 2 1 eks pan 2 0.75867996 0.52215111 3 2 wye wye 3 0.20460331 0.33831853 4 3 eks wye 4 0.38139939 0.13418874 5 4 wye pan 5 0.57328892 0.86362447 6 5 zee pan 6 0.52712616 0.49322129 7 6 eks zee 7 0.61178406 0.18788492 8 7 zee wye 8 0.59855401 0.97618139 9 8 hat wye 9 0.03144188 0.74955076 10 9 pan wye 10 0.50262601 0.95261836 11 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0017/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0017/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0018/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0018/mlr Miller DSL script: $j = NR; do { $k = NR; $j += 1; continue; do { $k += 1 } while ($k < 7); } while ($j < 4); actualStdout [419]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 1 eks pan 2 0.75867996 0.52215111 4 2 wye wye 3 0.20460331 0.33831853 4 3 eks wye 4 0.38139939 0.13418874 5 4 wye pan 5 0.57328892 0.86362447 6 5 zee pan 6 0.52712616 0.49322129 7 6 eks zee 7 0.61178406 0.18788492 8 7 zee wye 8 0.59855401 0.97618139 9 8 hat wye 9 0.03144188 0.74955076 10 9 pan wye 10 0.50262601 0.95261836 11 10 expectedStdout [419]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 1 eks pan 2 0.75867996 0.52215111 4 2 wye wye 3 0.20460331 0.33831853 4 3 eks wye 4 0.38139939 0.13418874 5 4 wye pan 5 0.57328892 0.86362447 6 5 zee pan 6 0.52712616 0.49322129 7 6 eks zee 7 0.61178406 0.18788492 8 7 zee wye 8 0.59855401 0.97618139 9 8 hat wye 9 0.03144188 0.74955076 10 9 pan wye 10 0.50262601 0.95261836 11 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0018/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0018/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0019/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0019/mlr Miller DSL script: $j = NR; do { $k = NR; $j += 1; do { $k += 1; break; $k += 10000; } while ($k < 7); } while ($j < 4); actualStdout [420]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 2 eks pan 2 0.75867996 0.52215111 4 3 wye wye 3 0.20460331 0.33831853 4 4 eks wye 4 0.38139939 0.13418874 5 5 wye pan 5 0.57328892 0.86362447 6 6 zee pan 6 0.52712616 0.49322129 7 7 eks zee 7 0.61178406 0.18788492 8 8 zee wye 8 0.59855401 0.97618139 9 9 hat wye 9 0.03144188 0.74955076 10 10 pan wye 10 0.50262601 0.95261836 11 11 expectedStdout [420]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 2 eks pan 2 0.75867996 0.52215111 4 3 wye wye 3 0.20460331 0.33831853 4 4 eks wye 4 0.38139939 0.13418874 5 5 wye pan 5 0.57328892 0.86362447 6 6 zee pan 6 0.52712616 0.49322129 7 7 eks zee 7 0.61178406 0.18788492 8 8 zee wye 8 0.59855401 0.97618139 9 9 hat wye 9 0.03144188 0.74955076 10 10 pan wye 10 0.50262601 0.95261836 11 11 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0019/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0019/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0020/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0020/mlr Miller DSL script: $j = NR; do { $k = NR; $j += 1; do { $k += 1; continue; $k += 10000; } while ($k < 7); } while ($j < 4); actualStdout [420]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 7 eks pan 2 0.75867996 0.52215111 4 7 wye wye 3 0.20460331 0.33831853 4 7 eks wye 4 0.38139939 0.13418874 5 7 wye pan 5 0.57328892 0.86362447 6 7 zee pan 6 0.52712616 0.49322129 7 7 eks zee 7 0.61178406 0.18788492 8 8 zee wye 8 0.59855401 0.97618139 9 9 hat wye 9 0.03144188 0.74955076 10 10 pan wye 10 0.50262601 0.95261836 11 11 expectedStdout [420]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 7 eks pan 2 0.75867996 0.52215111 4 7 wye wye 3 0.20460331 0.33831853 4 7 eks wye 4 0.38139939 0.13418874 5 7 wye pan 5 0.57328892 0.86362447 6 7 zee pan 6 0.52712616 0.49322129 7 7 eks zee 7 0.61178406 0.18788492 8 8 zee wye 8 0.59855401 0.97618139 9 9 hat wye 9 0.03144188 0.74955076 10 10 pan wye 10 0.50262601 0.95261836 11 11 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0020/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0020/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0021/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0021/mlr Miller DSL script: $j = NR; do { $k = NR; $j += 1; if (NR == 2 || NR == 8) { break; } do { $k += 1 } while ($k < 7); } while ($j < 4); actualStdout [420]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 7 eks pan 2 0.75867996 0.52215111 3 2 wye wye 3 0.20460331 0.33831853 4 7 eks wye 4 0.38139939 0.13418874 5 7 wye pan 5 0.57328892 0.86362447 6 7 zee pan 6 0.52712616 0.49322129 7 7 eks zee 7 0.61178406 0.18788492 8 8 zee wye 8 0.59855401 0.97618139 9 8 hat wye 9 0.03144188 0.74955076 10 10 pan wye 10 0.50262601 0.95261836 11 11 expectedStdout [420]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 7 eks pan 2 0.75867996 0.52215111 3 2 wye wye 3 0.20460331 0.33831853 4 7 eks wye 4 0.38139939 0.13418874 5 7 wye pan 5 0.57328892 0.86362447 6 7 zee pan 6 0.52712616 0.49322129 7 7 eks zee 7 0.61178406 0.18788492 8 8 zee wye 8 0.59855401 0.97618139 9 8 hat wye 9 0.03144188 0.74955076 10 10 pan wye 10 0.50262601 0.95261836 11 11 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0021/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0021/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0022/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0022/mlr Miller DSL script: $j = NR; do { $k = NR; $j += 1; if (NR == 2 || NR == 8) { continue; } do { $k += 1 } while ($k < 7); } while ($j < 4); actualStdout [420]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 7 eks pan 2 0.75867996 0.52215111 4 2 wye wye 3 0.20460331 0.33831853 4 7 eks wye 4 0.38139939 0.13418874 5 7 wye pan 5 0.57328892 0.86362447 6 7 zee pan 6 0.52712616 0.49322129 7 7 eks zee 7 0.61178406 0.18788492 8 8 zee wye 8 0.59855401 0.97618139 9 8 hat wye 9 0.03144188 0.74955076 10 10 pan wye 10 0.50262601 0.95261836 11 11 expectedStdout [420]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 7 eks pan 2 0.75867996 0.52215111 4 2 wye wye 3 0.20460331 0.33831853 4 7 eks wye 4 0.38139939 0.13418874 5 7 wye pan 5 0.57328892 0.86362447 6 7 zee pan 6 0.52712616 0.49322129 7 7 eks zee 7 0.61178406 0.18788492 8 8 zee wye 8 0.59855401 0.97618139 9 8 hat wye 9 0.03144188 0.74955076 10 10 pan wye 10 0.50262601 0.95261836 11 11 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0022/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0022/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0023/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0023/mlr Miller DSL script: $j = NR; do { $k = NR; $j += 1; do { $k += 1; if (NR == 2 || NR == 8) { break; } $k += 10000; } while ($k < 7); } while ($j < 4); actualStdout [450]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 10002 eks pan 2 0.75867996 0.52215111 4 3 wye wye 3 0.20460331 0.33831853 4 10004 eks wye 4 0.38139939 0.13418874 5 10005 wye pan 5 0.57328892 0.86362447 6 10006 zee pan 6 0.52712616 0.49322129 7 10007 eks zee 7 0.61178406 0.18788492 8 10008 zee wye 8 0.59855401 0.97618139 9 9 hat wye 9 0.03144188 0.74955076 10 10010 pan wye 10 0.50262601 0.95261836 11 10011 expectedStdout [450]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 10002 eks pan 2 0.75867996 0.52215111 4 3 wye wye 3 0.20460331 0.33831853 4 10004 eks wye 4 0.38139939 0.13418874 5 10005 wye pan 5 0.57328892 0.86362447 6 10006 zee pan 6 0.52712616 0.49322129 7 10007 eks zee 7 0.61178406 0.18788492 8 10008 zee wye 8 0.59855401 0.97618139 9 9 hat wye 9 0.03144188 0.74955076 10 10010 pan wye 10 0.50262601 0.95261836 11 10011 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0023/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0023/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0024/cmd Command: mlr --opprint --from test/input/abixy put -f ./test/cases/dsl-break-continue/0024/mlr Miller DSL script: $j = NR; do { $k = NR; $j += 1; do { $k += 1; if (NR == 2 || NR == 8) { continue; } $k += 10000; } while ($k < 7); } while ($j < 4); actualStdout [450]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 10002 eks pan 2 0.75867996 0.52215111 4 7 wye wye 3 0.20460331 0.33831853 4 10004 eks wye 4 0.38139939 0.13418874 5 10005 wye pan 5 0.57328892 0.86362447 6 10006 zee pan 6 0.52712616 0.49322129 7 10007 eks zee 7 0.61178406 0.18788492 8 10008 zee wye 8 0.59855401 0.97618139 9 9 hat wye 9 0.03144188 0.74955076 10 10010 pan wye 10 0.50262601 0.95261836 11 10011 expectedStdout [450]: a b i x y j k pan pan 1 0.34679014 0.72680286 4 10002 eks pan 2 0.75867996 0.52215111 4 7 wye wye 3 0.20460331 0.33831853 4 10004 eks wye 4 0.38139939 0.13418874 5 10005 wye pan 5 0.57328892 0.86362447 6 10006 zee pan 6 0.52712616 0.49322129 7 10007 eks zee 7 0.61178406 0.18788492 8 10008 zee wye 8 0.59855401 0.97618139 9 9 hat wye 9 0.03144188 0.74955076 10 10010 pan wye 10 0.50262601 0.95261836 11 10011 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0024/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0024/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0025/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0025/mlr Miller DSL script: for (k,v in $*) { @logging1[NR][k] = v; if (k == "x") { break; } } end { emitp @logging1, "NR", "k"; } actualStdout [425]: NR k logging1 1 a pan 1 b pan 1 i 1 1 x 0.34679014 2 a eks 2 b pan 2 i 2 2 x 0.75867996 3 a wye 3 b wye 3 i 3 3 x 0.20460331 4 a eks 4 b wye 4 i 4 4 x 0.38139939 5 a wye 5 b pan 5 i 5 5 x 0.57328892 6 a zee 6 b pan 6 i 6 6 x 0.52712616 7 a eks 7 b zee 7 i 7 7 x 0.61178406 8 a zee 8 b wye 8 i 8 8 x 0.59855401 9 a hat 9 b wye 9 i 9 9 x 0.03144188 10 a pan 10 b wye 10 i 10 10 x 0.50262601 expectedStdout [425]: NR k logging1 1 a pan 1 b pan 1 i 1 1 x 0.34679014 2 a eks 2 b pan 2 i 2 2 x 0.75867996 3 a wye 3 b wye 3 i 3 3 x 0.20460331 4 a eks 4 b wye 4 i 4 4 x 0.38139939 5 a wye 5 b pan 5 i 5 5 x 0.57328892 6 a zee 6 b pan 6 i 6 6 x 0.52712616 7 a eks 7 b zee 7 i 7 7 x 0.61178406 8 a zee 8 b wye 8 i 8 8 x 0.59855401 9 a hat 9 b wye 9 i 9 9 x 0.03144188 10 a pan 10 b wye 10 i 10 10 x 0.50262601 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0025/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0025/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0026/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0026/mlr Miller DSL script: for (k,v in $*) { if (k == "x") { break; } @logging2[NR][k] = v; } end { emitp @logging2, "NR", "k"; } actualStdout [265]: NR k logging2 1 a pan 1 b pan 1 i 1 2 a eks 2 b pan 2 i 2 3 a wye 3 b wye 3 i 3 4 a eks 4 b wye 4 i 4 5 a wye 5 b pan 5 i 5 6 a zee 6 b pan 6 i 6 7 a eks 7 b zee 7 i 7 8 a zee 8 b wye 8 i 8 9 a hat 9 b wye 9 i 9 10 a pan 10 b wye 10 i 10 expectedStdout [265]: NR k logging2 1 a pan 1 b pan 1 i 1 2 a eks 2 b pan 2 i 2 3 a wye 3 b wye 3 i 3 4 a eks 4 b wye 4 i 4 5 a wye 5 b pan 5 i 5 6 a zee 6 b pan 6 i 6 7 a eks 7 b zee 7 i 7 8 a zee 8 b wye 8 i 8 9 a hat 9 b wye 9 i 9 10 a pan 10 b wye 10 i 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0026/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0026/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0027/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0027/mlr Miller DSL script: for (k,v in $*) { @logging3[NR][k] = v; if (k == "x") { continue; } } end { emitp @logging3, "NR", "k"; } actualStdout [585]: NR k logging3 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b pan 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b pan 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 x 0.50262601 10 y 0.95261836 expectedStdout [585]: NR k logging3 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b pan 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b pan 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 x 0.50262601 10 y 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0027/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0027/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0028/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0028/mlr Miller DSL script: for (k,v in $*) { if (k == "x") { continue; } @logging4[NR][k] = v; } end { emitp @logging4, "NR", "k" } actualStdout [425]: NR k logging4 1 a pan 1 b pan 1 i 1 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 y 0.13418874 5 a wye 5 b pan 5 i 5 5 y 0.86362447 6 a zee 6 b pan 6 i 6 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 y 0.95261836 expectedStdout [425]: NR k logging4 1 a pan 1 b pan 1 i 1 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 y 0.13418874 5 a wye 5 b pan 5 i 5 5 y 0.86362447 6 a zee 6 b pan 6 i 6 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 y 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0028/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0028/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0029/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0029/mlr Miller DSL script: for (k,v in $*) { @logging1[NR][k] = v; if (k == "x") { break; } } for (k,v in $*) { if (k == "x") { break; } @logging2[NR][k] = v; } for (k,v in $*) { @logging3[NR][k] = v; if (k == "x") { continue; } } for (k,v in $*) { if (k == "x") { continue; } @logging4[NR][k] = v; } end { emitp @logging1, "NR", "k"; emitp @logging2, "NR", "k"; emitp @logging3, "NR", "k"; emitp @logging4, "NR", "k" } actualStdout [1703]: NR k logging1 1 a pan 1 b pan 1 i 1 1 x 0.34679014 2 a eks 2 b pan 2 i 2 2 x 0.75867996 3 a wye 3 b wye 3 i 3 3 x 0.20460331 4 a eks 4 b wye 4 i 4 4 x 0.38139939 5 a wye 5 b pan 5 i 5 5 x 0.57328892 6 a zee 6 b pan 6 i 6 6 x 0.52712616 7 a eks 7 b zee 7 i 7 7 x 0.61178406 8 a zee 8 b wye 8 i 8 8 x 0.59855401 9 a hat 9 b wye 9 i 9 9 x 0.03144188 10 a pan 10 b wye 10 i 10 10 x 0.50262601 NR k logging2 1 a pan 1 b pan 1 i 1 2 a eks 2 b pan 2 i 2 3 a wye 3 b wye 3 i 3 4 a eks 4 b wye 4 i 4 5 a wye 5 b pan 5 i 5 6 a zee 6 b pan 6 i 6 7 a eks 7 b zee 7 i 7 8 a zee 8 b wye 8 i 8 9 a hat 9 b wye 9 i 9 10 a pan 10 b wye 10 i 10 NR k logging3 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b pan 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b pan 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 x 0.50262601 10 y 0.95261836 NR k logging4 1 a pan 1 b pan 1 i 1 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 y 0.13418874 5 a wye 5 b pan 5 i 5 5 y 0.86362447 6 a zee 6 b pan 6 i 6 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 y 0.95261836 expectedStdout [1703]: NR k logging1 1 a pan 1 b pan 1 i 1 1 x 0.34679014 2 a eks 2 b pan 2 i 2 2 x 0.75867996 3 a wye 3 b wye 3 i 3 3 x 0.20460331 4 a eks 4 b wye 4 i 4 4 x 0.38139939 5 a wye 5 b pan 5 i 5 5 x 0.57328892 6 a zee 6 b pan 6 i 6 6 x 0.52712616 7 a eks 7 b zee 7 i 7 7 x 0.61178406 8 a zee 8 b wye 8 i 8 8 x 0.59855401 9 a hat 9 b wye 9 i 9 9 x 0.03144188 10 a pan 10 b wye 10 i 10 10 x 0.50262601 NR k logging2 1 a pan 1 b pan 1 i 1 2 a eks 2 b pan 2 i 2 3 a wye 3 b wye 3 i 3 4 a eks 4 b wye 4 i 4 5 a wye 5 b pan 5 i 5 6 a zee 6 b pan 6 i 6 7 a eks 7 b zee 7 i 7 8 a zee 8 b wye 8 i 8 9 a hat 9 b wye 9 i 9 10 a pan 10 b wye 10 i 10 NR k logging3 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b pan 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b pan 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 x 0.50262601 10 y 0.95261836 NR k logging4 1 a pan 1 b pan 1 i 1 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 y 0.13418874 5 a wye 5 b pan 5 i 5 5 y 0.86362447 6 a zee 6 b pan 6 i 6 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 y 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0029/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0029/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0030/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0030/mlr Miller DSL script: for (k1, v1 in $*) { @output1[NR][k1] = "before"; break; @output1[NR][k1] = v1; for (k2, v2 in $*) { @output2[NR][k1."_".k2] = "before"; @output2[NR][k1."_".k2] = v2; } } end { emit @output1, "NR", "name"; emit @output2, "NR", "names"; } actualStdout [166]: NR name output1 1 a before 2 a before 3 a before 4 a before 5 a before 6 a before 7 a before 8 a before 9 a before 10 a before expectedStdout [166]: NR name output1 1 a before 2 a before 3 a before 4 a before 5 a before 6 a before 7 a before 8 a before 9 a before 10 a before actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0030/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0030/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0031/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0031/mlr Miller DSL script: for (k1, v1 in $*) { @output1[NR][k1] = "before"; continue; @output1[NR][k1] = v1; for (k2, v2 in $*) { @output2[NR][k1."_".k2] = "before"; @output2[NR][k1."_".k2] = v2; } } end { emit @output1, "NR", "name"; emit @output2, "NR", "names"; } actualStdout [766]: NR name output1 1 a before 1 b before 1 i before 1 x before 1 y before 2 a before 2 b before 2 i before 2 x before 2 y before 3 a before 3 b before 3 i before 3 x before 3 y before 4 a before 4 b before 4 i before 4 x before 4 y before 5 a before 5 b before 5 i before 5 x before 5 y before 6 a before 6 b before 6 i before 6 x before 6 y before 7 a before 7 b before 7 i before 7 x before 7 y before 8 a before 8 b before 8 i before 8 x before 8 y before 9 a before 9 b before 9 i before 9 x before 9 y before 10 a before 10 b before 10 i before 10 x before 10 y before expectedStdout [766]: NR name output1 1 a before 1 b before 1 i before 1 x before 1 y before 2 a before 2 b before 2 i before 2 x before 2 y before 3 a before 3 b before 3 i before 3 x before 3 y before 4 a before 4 b before 4 i before 4 x before 4 y before 5 a before 5 b before 5 i before 5 x before 5 y before 6 a before 6 b before 6 i before 6 x before 6 y before 7 a before 7 b before 7 i before 7 x before 7 y before 8 a before 8 b before 8 i before 8 x before 8 y before 9 a before 9 b before 9 i before 9 x before 9 y before 10 a before 10 b before 10 i before 10 x before 10 y before actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0031/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0031/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0032/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0032/mlr Miller DSL script: for (k1, v1 in $*) { @output1[NR][k1] = "before"; @output1[NR][k1] = v1; for (k2, v2 in $*) { @output2[NR][k1."_".k2] = "before"; break; @output2[NR][k1."_".k2] = v2; } } end { emit @output1, "NR", "name"; emit @output2, "NR", "names"; } actualStdout [1555]: NR name output1 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b pan 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b pan 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 x 0.50262601 10 y 0.95261836 NR names output2 1 a_a before 1 b_a before 1 i_a before 1 x_a before 1 y_a before 2 a_a before 2 b_a before 2 i_a before 2 x_a before 2 y_a before 3 a_a before 3 b_a before 3 i_a before 3 x_a before 3 y_a before 4 a_a before 4 b_a before 4 i_a before 4 x_a before 4 y_a before 5 a_a before 5 b_a before 5 i_a before 5 x_a before 5 y_a before 6 a_a before 6 b_a before 6 i_a before 6 x_a before 6 y_a before 7 a_a before 7 b_a before 7 i_a before 7 x_a before 7 y_a before 8 a_a before 8 b_a before 8 i_a before 8 x_a before 8 y_a before 9 a_a before 9 b_a before 9 i_a before 9 x_a before 9 y_a before 10 a_a before 10 b_a before 10 i_a before 10 x_a before 10 y_a before expectedStdout [1555]: NR name output1 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b pan 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b pan 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 x 0.50262601 10 y 0.95261836 NR names output2 1 a_a before 1 b_a before 1 i_a before 1 x_a before 1 y_a before 2 a_a before 2 b_a before 2 i_a before 2 x_a before 2 y_a before 3 a_a before 3 b_a before 3 i_a before 3 x_a before 3 y_a before 4 a_a before 4 b_a before 4 i_a before 4 x_a before 4 y_a before 5 a_a before 5 b_a before 5 i_a before 5 x_a before 5 y_a before 6 a_a before 6 b_a before 6 i_a before 6 x_a before 6 y_a before 7 a_a before 7 b_a before 7 i_a before 7 x_a before 7 y_a before 8 a_a before 8 b_a before 8 i_a before 8 x_a before 8 y_a before 9 a_a before 9 b_a before 9 i_a before 9 x_a before 9 y_a before 10 a_a before 10 b_a before 10 i_a before 10 x_a before 10 y_a before actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0032/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0032/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0033/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0033/mlr Miller DSL script: for (k1, v1 in $*) { @output1[NR][k1] = "before"; @output1[NR][k1] = v1; for (k2, v2 in $*) { @output2[NR][k1."_".k2] = "before"; continue; @output2[NR][k1."_".k2] = v2; } } end { emit @output1, "NR", "name"; emit @output2, "NR", "names"; } actualStdout [4755]: NR name output1 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b pan 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b pan 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 x 0.50262601 10 y 0.95261836 NR names output2 1 a_a before 1 a_b before 1 a_i before 1 a_x before 1 a_y before 1 b_a before 1 b_b before 1 b_i before 1 b_x before 1 b_y before 1 i_a before 1 i_b before 1 i_i before 1 i_x before 1 i_y before 1 x_a before 1 x_b before 1 x_i before 1 x_x before 1 x_y before 1 y_a before 1 y_b before 1 y_i before 1 y_x before 1 y_y before 2 a_a before 2 a_b before 2 a_i before 2 a_x before 2 a_y before 2 b_a before 2 b_b before 2 b_i before 2 b_x before 2 b_y before 2 i_a before 2 i_b before 2 i_i before 2 i_x before 2 i_y before 2 x_a before 2 x_b before 2 x_i before 2 x_x before 2 x_y before 2 y_a before 2 y_b before 2 y_i before 2 y_x before 2 y_y before 3 a_a before 3 a_b before 3 a_i before 3 a_x before 3 a_y before 3 b_a before 3 b_b before 3 b_i before 3 b_x before 3 b_y before 3 i_a before 3 i_b before 3 i_i before 3 i_x before 3 i_y before 3 x_a before 3 x_b before 3 x_i before 3 x_x before 3 x_y before 3 y_a before 3 y_b before 3 y_i before 3 y_x before 3 y_y before 4 a_a before 4 a_b before 4 a_i before 4 a_x before 4 a_y before 4 b_a before 4 b_b before 4 b_i before 4 b_x before 4 b_y before 4 i_a before 4 i_b before 4 i_i before 4 i_x before 4 i_y before 4 x_a before 4 x_b before 4 x_i before 4 x_x before 4 x_y before 4 y_a before 4 y_b before 4 y_i before 4 y_x before 4 y_y before 5 a_a before 5 a_b before 5 a_i before 5 a_x before 5 a_y before 5 b_a before 5 b_b before 5 b_i before 5 b_x before 5 b_y before 5 i_a before 5 i_b before 5 i_i before 5 i_x before 5 i_y before 5 x_a before 5 x_b before 5 x_i before 5 x_x before 5 x_y before 5 y_a before 5 y_b before 5 y_i before 5 y_x before 5 y_y before 6 a_a before 6 a_b before 6 a_i before 6 a_x before 6 a_y before 6 b_a before 6 b_b before 6 b_i before 6 b_x before 6 b_y before 6 i_a before 6 i_b before 6 i_i before 6 i_x before 6 i_y before 6 x_a before 6 x_b before 6 x_i before 6 x_x before 6 x_y before 6 y_a before 6 y_b before 6 y_i before 6 y_x before 6 y_y before 7 a_a before 7 a_b before 7 a_i before 7 a_x before 7 a_y before 7 b_a before 7 b_b before 7 b_i before 7 b_x before 7 b_y before 7 i_a before 7 i_b before 7 i_i before 7 i_x before 7 i_y before 7 x_a before 7 x_b before 7 x_i before 7 x_x before 7 x_y before 7 y_a before 7 y_b before 7 y_i before 7 y_x before 7 y_y before 8 a_a before 8 a_b before 8 a_i before 8 a_x before 8 a_y before 8 b_a before 8 b_b before 8 b_i before 8 b_x before 8 b_y before 8 i_a before 8 i_b before 8 i_i before 8 i_x before 8 i_y before 8 x_a before 8 x_b before 8 x_i before 8 x_x before 8 x_y before 8 y_a before 8 y_b before 8 y_i before 8 y_x before 8 y_y before 9 a_a before 9 a_b before 9 a_i before 9 a_x before 9 a_y before 9 b_a before 9 b_b before 9 b_i before 9 b_x before 9 b_y before 9 i_a before 9 i_b before 9 i_i before 9 i_x before 9 i_y before 9 x_a before 9 x_b before 9 x_i before 9 x_x before 9 x_y before 9 y_a before 9 y_b before 9 y_i before 9 y_x before 9 y_y before 10 a_a before 10 a_b before 10 a_i before 10 a_x before 10 a_y before 10 b_a before 10 b_b before 10 b_i before 10 b_x before 10 b_y before 10 i_a before 10 i_b before 10 i_i before 10 i_x before 10 i_y before 10 x_a before 10 x_b before 10 x_i before 10 x_x before 10 x_y before 10 y_a before 10 y_b before 10 y_i before 10 y_x before 10 y_y before expectedStdout [4755]: NR name output1 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b pan 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b pan 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 x 0.50262601 10 y 0.95261836 NR names output2 1 a_a before 1 a_b before 1 a_i before 1 a_x before 1 a_y before 1 b_a before 1 b_b before 1 b_i before 1 b_x before 1 b_y before 1 i_a before 1 i_b before 1 i_i before 1 i_x before 1 i_y before 1 x_a before 1 x_b before 1 x_i before 1 x_x before 1 x_y before 1 y_a before 1 y_b before 1 y_i before 1 y_x before 1 y_y before 2 a_a before 2 a_b before 2 a_i before 2 a_x before 2 a_y before 2 b_a before 2 b_b before 2 b_i before 2 b_x before 2 b_y before 2 i_a before 2 i_b before 2 i_i before 2 i_x before 2 i_y before 2 x_a before 2 x_b before 2 x_i before 2 x_x before 2 x_y before 2 y_a before 2 y_b before 2 y_i before 2 y_x before 2 y_y before 3 a_a before 3 a_b before 3 a_i before 3 a_x before 3 a_y before 3 b_a before 3 b_b before 3 b_i before 3 b_x before 3 b_y before 3 i_a before 3 i_b before 3 i_i before 3 i_x before 3 i_y before 3 x_a before 3 x_b before 3 x_i before 3 x_x before 3 x_y before 3 y_a before 3 y_b before 3 y_i before 3 y_x before 3 y_y before 4 a_a before 4 a_b before 4 a_i before 4 a_x before 4 a_y before 4 b_a before 4 b_b before 4 b_i before 4 b_x before 4 b_y before 4 i_a before 4 i_b before 4 i_i before 4 i_x before 4 i_y before 4 x_a before 4 x_b before 4 x_i before 4 x_x before 4 x_y before 4 y_a before 4 y_b before 4 y_i before 4 y_x before 4 y_y before 5 a_a before 5 a_b before 5 a_i before 5 a_x before 5 a_y before 5 b_a before 5 b_b before 5 b_i before 5 b_x before 5 b_y before 5 i_a before 5 i_b before 5 i_i before 5 i_x before 5 i_y before 5 x_a before 5 x_b before 5 x_i before 5 x_x before 5 x_y before 5 y_a before 5 y_b before 5 y_i before 5 y_x before 5 y_y before 6 a_a before 6 a_b before 6 a_i before 6 a_x before 6 a_y before 6 b_a before 6 b_b before 6 b_i before 6 b_x before 6 b_y before 6 i_a before 6 i_b before 6 i_i before 6 i_x before 6 i_y before 6 x_a before 6 x_b before 6 x_i before 6 x_x before 6 x_y before 6 y_a before 6 y_b before 6 y_i before 6 y_x before 6 y_y before 7 a_a before 7 a_b before 7 a_i before 7 a_x before 7 a_y before 7 b_a before 7 b_b before 7 b_i before 7 b_x before 7 b_y before 7 i_a before 7 i_b before 7 i_i before 7 i_x before 7 i_y before 7 x_a before 7 x_b before 7 x_i before 7 x_x before 7 x_y before 7 y_a before 7 y_b before 7 y_i before 7 y_x before 7 y_y before 8 a_a before 8 a_b before 8 a_i before 8 a_x before 8 a_y before 8 b_a before 8 b_b before 8 b_i before 8 b_x before 8 b_y before 8 i_a before 8 i_b before 8 i_i before 8 i_x before 8 i_y before 8 x_a before 8 x_b before 8 x_i before 8 x_x before 8 x_y before 8 y_a before 8 y_b before 8 y_i before 8 y_x before 8 y_y before 9 a_a before 9 a_b before 9 a_i before 9 a_x before 9 a_y before 9 b_a before 9 b_b before 9 b_i before 9 b_x before 9 b_y before 9 i_a before 9 i_b before 9 i_i before 9 i_x before 9 i_y before 9 x_a before 9 x_b before 9 x_i before 9 x_x before 9 x_y before 9 y_a before 9 y_b before 9 y_i before 9 y_x before 9 y_y before 10 a_a before 10 a_b before 10 a_i before 10 a_x before 10 a_y before 10 b_a before 10 b_b before 10 b_i before 10 b_x before 10 b_y before 10 i_a before 10 i_b before 10 i_i before 10 i_x before 10 i_y before 10 x_a before 10 x_b before 10 x_i before 10 x_x before 10 x_y before 10 y_a before 10 y_b before 10 y_i before 10 y_x before 10 y_y before actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0033/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0033/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0034/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0034/mlr Miller DSL script: for (k1, v1 in $*) { @output1[NR][k1] = "before"; break; @output1[NR][k1] = v1; for (k2, v2 in $*) { @output2[NR][k1."_".k2] = "before"; break; @output2[NR][k1."_".k2] = v2; } } end { emit @output1, "NR", "name"; emit @output2, "NR", "names"; } actualStdout [166]: NR name output1 1 a before 2 a before 3 a before 4 a before 5 a before 6 a before 7 a before 8 a before 9 a before 10 a before expectedStdout [166]: NR name output1 1 a before 2 a before 3 a before 4 a before 5 a before 6 a before 7 a before 8 a before 9 a before 10 a before actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0034/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0034/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0035/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0035/mlr Miller DSL script: for (k1, v1 in $*) { @output1[NR][k1] = "before"; continue; @output1[NR][k1] = v1; for (k2, v2 in $*) { @output2[NR][k1."_".k2] = "before"; break; @output2[NR][k1."_".k2] = v2; } } end { emit @output1, "NR", "name"; emit @output2, "NR", "names"; } actualStdout [766]: NR name output1 1 a before 1 b before 1 i before 1 x before 1 y before 2 a before 2 b before 2 i before 2 x before 2 y before 3 a before 3 b before 3 i before 3 x before 3 y before 4 a before 4 b before 4 i before 4 x before 4 y before 5 a before 5 b before 5 i before 5 x before 5 y before 6 a before 6 b before 6 i before 6 x before 6 y before 7 a before 7 b before 7 i before 7 x before 7 y before 8 a before 8 b before 8 i before 8 x before 8 y before 9 a before 9 b before 9 i before 9 x before 9 y before 10 a before 10 b before 10 i before 10 x before 10 y before expectedStdout [766]: NR name output1 1 a before 1 b before 1 i before 1 x before 1 y before 2 a before 2 b before 2 i before 2 x before 2 y before 3 a before 3 b before 3 i before 3 x before 3 y before 4 a before 4 b before 4 i before 4 x before 4 y before 5 a before 5 b before 5 i before 5 x before 5 y before 6 a before 6 b before 6 i before 6 x before 6 y before 7 a before 7 b before 7 i before 7 x before 7 y before 8 a before 8 b before 8 i before 8 x before 8 y before 9 a before 9 b before 9 i before 9 x before 9 y before 10 a before 10 b before 10 i before 10 x before 10 y before actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0035/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0035/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0036/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0036/mlr Miller DSL script: for (k1, v1 in $*) { @output1[NR][k1] = "before"; break; @output1[NR][k1] = v1; for (k2, v2 in $*) { @output2[NR][k1."_".k2] = "before"; continue; @output2[NR][k1."_".k2] = v2; } } end { emit @output1, "NR", "name"; emit @output2, "NR", "names"; } actualStdout [166]: NR name output1 1 a before 2 a before 3 a before 4 a before 5 a before 6 a before 7 a before 8 a before 9 a before 10 a before expectedStdout [166]: NR name output1 1 a before 2 a before 3 a before 4 a before 5 a before 6 a before 7 a before 8 a before 9 a before 10 a before actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0036/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0036/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0037/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0037/mlr Miller DSL script: for (k1, v1 in $*) { @output1[NR][k1] = "before"; continue; @output1[NR][k1] = v1; for (k2, v2 in $*) { @output2[NR][k1."_".k2] = "before"; continue; @output2[NR][k1."_".k2] = v2; } } end { emit @output1, "NR", "name"; emit @output2, "NR", "names"; } actualStdout [766]: NR name output1 1 a before 1 b before 1 i before 1 x before 1 y before 2 a before 2 b before 2 i before 2 x before 2 y before 3 a before 3 b before 3 i before 3 x before 3 y before 4 a before 4 b before 4 i before 4 x before 4 y before 5 a before 5 b before 5 i before 5 x before 5 y before 6 a before 6 b before 6 i before 6 x before 6 y before 7 a before 7 b before 7 i before 7 x before 7 y before 8 a before 8 b before 8 i before 8 x before 8 y before 9 a before 9 b before 9 i before 9 x before 9 y before 10 a before 10 b before 10 i before 10 x before 10 y before expectedStdout [766]: NR name output1 1 a before 1 b before 1 i before 1 x before 1 y before 2 a before 2 b before 2 i before 2 x before 2 y before 3 a before 3 b before 3 i before 3 x before 3 y before 4 a before 4 b before 4 i before 4 x before 4 y before 5 a before 5 b before 5 i before 5 x before 5 y before 6 a before 6 b before 6 i before 6 x before 6 y before 7 a before 7 b before 7 i before 7 x before 7 y before 8 a before 8 b before 8 i before 8 x before 8 y before 9 a before 9 b before 9 i before 9 x before 9 y before 10 a before 10 b before 10 i before 10 x before 10 y before actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0037/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0037/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0038/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0038/mlr Miller DSL script: for (k1, v1 in $*) { @output1[NR][k1] = "before"; if (k1 == "b") { break } @output1[NR][k1] = v1; for (k2, v2 in $*) { @output2[NR][k1."_".k2] = "before"; @output2[NR][k1."_".k2] = v2; } } end { emit @output1, "NR", "name"; emit @output2, "NR", "names"; } actualStdout [1075]: NR name output1 1 a pan 1 b before 2 a eks 2 b before 3 a wye 3 b before 4 a eks 4 b before 5 a wye 5 b before 6 a zee 6 b before 7 a eks 7 b before 8 a zee 8 b before 9 a hat 9 b before 10 a pan 10 b before NR names output2 1 a_a pan 1 a_b pan 1 a_i 1 1 a_x 0.34679014 1 a_y 0.72680286 2 a_a eks 2 a_b pan 2 a_i 2 2 a_x 0.75867996 2 a_y 0.52215111 3 a_a wye 3 a_b wye 3 a_i 3 3 a_x 0.20460331 3 a_y 0.33831853 4 a_a eks 4 a_b wye 4 a_i 4 4 a_x 0.38139939 4 a_y 0.13418874 5 a_a wye 5 a_b pan 5 a_i 5 5 a_x 0.57328892 5 a_y 0.86362447 6 a_a zee 6 a_b pan 6 a_i 6 6 a_x 0.52712616 6 a_y 0.49322129 7 a_a eks 7 a_b zee 7 a_i 7 7 a_x 0.61178406 7 a_y 0.18788492 8 a_a zee 8 a_b wye 8 a_i 8 8 a_x 0.59855401 8 a_y 0.97618139 9 a_a hat 9 a_b wye 9 a_i 9 9 a_x 0.03144188 9 a_y 0.74955076 10 a_a pan 10 a_b wye 10 a_i 10 10 a_x 0.50262601 10 a_y 0.95261836 expectedStdout [1075]: NR name output1 1 a pan 1 b before 2 a eks 2 b before 3 a wye 3 b before 4 a eks 4 b before 5 a wye 5 b before 6 a zee 6 b before 7 a eks 7 b before 8 a zee 8 b before 9 a hat 9 b before 10 a pan 10 b before NR names output2 1 a_a pan 1 a_b pan 1 a_i 1 1 a_x 0.34679014 1 a_y 0.72680286 2 a_a eks 2 a_b pan 2 a_i 2 2 a_x 0.75867996 2 a_y 0.52215111 3 a_a wye 3 a_b wye 3 a_i 3 3 a_x 0.20460331 3 a_y 0.33831853 4 a_a eks 4 a_b wye 4 a_i 4 4 a_x 0.38139939 4 a_y 0.13418874 5 a_a wye 5 a_b pan 5 a_i 5 5 a_x 0.57328892 5 a_y 0.86362447 6 a_a zee 6 a_b pan 6 a_i 6 6 a_x 0.52712616 6 a_y 0.49322129 7 a_a eks 7 a_b zee 7 a_i 7 7 a_x 0.61178406 7 a_y 0.18788492 8 a_a zee 8 a_b wye 8 a_i 8 8 a_x 0.59855401 8 a_y 0.97618139 9 a_a hat 9 a_b wye 9 a_i 9 9 a_x 0.03144188 9 a_y 0.74955076 10 a_a pan 10 a_b wye 10 a_i 10 10 a_x 0.50262601 10 a_y 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0038/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0038/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0039/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0039/mlr Miller DSL script: for (k1, v1 in $*) { @output1[NR][k1] = "before"; if (k1 == "b") { continue } @output1[NR][k1] = v1; for (k2, v2 in $*) { @output2[NR][k1."_".k2] = "before"; @output2[NR][k1."_".k2] = v2; } } end { emit @output1, "NR", "name"; emit @output2, "NR", "names"; } actualStdout [3869]: NR name output1 1 a pan 1 b before 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b before 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b before 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b before 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b before 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b before 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b before 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b before 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b before 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b before 10 i 10 10 x 0.50262601 10 y 0.95261836 NR names output2 1 a_a pan 1 a_b pan 1 a_i 1 1 a_x 0.34679014 1 a_y 0.72680286 1 i_a pan 1 i_b pan 1 i_i 1 1 i_x 0.34679014 1 i_y 0.72680286 1 x_a pan 1 x_b pan 1 x_i 1 1 x_x 0.34679014 1 x_y 0.72680286 1 y_a pan 1 y_b pan 1 y_i 1 1 y_x 0.34679014 1 y_y 0.72680286 2 a_a eks 2 a_b pan 2 a_i 2 2 a_x 0.75867996 2 a_y 0.52215111 2 i_a eks 2 i_b pan 2 i_i 2 2 i_x 0.75867996 2 i_y 0.52215111 2 x_a eks 2 x_b pan 2 x_i 2 2 x_x 0.75867996 2 x_y 0.52215111 2 y_a eks 2 y_b pan 2 y_i 2 2 y_x 0.75867996 2 y_y 0.52215111 3 a_a wye 3 a_b wye 3 a_i 3 3 a_x 0.20460331 3 a_y 0.33831853 3 i_a wye 3 i_b wye 3 i_i 3 3 i_x 0.20460331 3 i_y 0.33831853 3 x_a wye 3 x_b wye 3 x_i 3 3 x_x 0.20460331 3 x_y 0.33831853 3 y_a wye 3 y_b wye 3 y_i 3 3 y_x 0.20460331 3 y_y 0.33831853 4 a_a eks 4 a_b wye 4 a_i 4 4 a_x 0.38139939 4 a_y 0.13418874 4 i_a eks 4 i_b wye 4 i_i 4 4 i_x 0.38139939 4 i_y 0.13418874 4 x_a eks 4 x_b wye 4 x_i 4 4 x_x 0.38139939 4 x_y 0.13418874 4 y_a eks 4 y_b wye 4 y_i 4 4 y_x 0.38139939 4 y_y 0.13418874 5 a_a wye 5 a_b pan 5 a_i 5 5 a_x 0.57328892 5 a_y 0.86362447 5 i_a wye 5 i_b pan 5 i_i 5 5 i_x 0.57328892 5 i_y 0.86362447 5 x_a wye 5 x_b pan 5 x_i 5 5 x_x 0.57328892 5 x_y 0.86362447 5 y_a wye 5 y_b pan 5 y_i 5 5 y_x 0.57328892 5 y_y 0.86362447 6 a_a zee 6 a_b pan 6 a_i 6 6 a_x 0.52712616 6 a_y 0.49322129 6 i_a zee 6 i_b pan 6 i_i 6 6 i_x 0.52712616 6 i_y 0.49322129 6 x_a zee 6 x_b pan 6 x_i 6 6 x_x 0.52712616 6 x_y 0.49322129 6 y_a zee 6 y_b pan 6 y_i 6 6 y_x 0.52712616 6 y_y 0.49322129 7 a_a eks 7 a_b zee 7 a_i 7 7 a_x 0.61178406 7 a_y 0.18788492 7 i_a eks 7 i_b zee 7 i_i 7 7 i_x 0.61178406 7 i_y 0.18788492 7 x_a eks 7 x_b zee 7 x_i 7 7 x_x 0.61178406 7 x_y 0.18788492 7 y_a eks 7 y_b zee 7 y_i 7 7 y_x 0.61178406 7 y_y 0.18788492 8 a_a zee 8 a_b wye 8 a_i 8 8 a_x 0.59855401 8 a_y 0.97618139 8 i_a zee 8 i_b wye 8 i_i 8 8 i_x 0.59855401 8 i_y 0.97618139 8 x_a zee 8 x_b wye 8 x_i 8 8 x_x 0.59855401 8 x_y 0.97618139 8 y_a zee 8 y_b wye 8 y_i 8 8 y_x 0.59855401 8 y_y 0.97618139 9 a_a hat 9 a_b wye 9 a_i 9 9 a_x 0.03144188 9 a_y 0.74955076 9 i_a hat 9 i_b wye 9 i_i 9 9 i_x 0.03144188 9 i_y 0.74955076 9 x_a hat 9 x_b wye 9 x_i 9 9 x_x 0.03144188 9 x_y 0.74955076 9 y_a hat 9 y_b wye 9 y_i 9 9 y_x 0.03144188 9 y_y 0.74955076 10 a_a pan 10 a_b wye 10 a_i 10 10 a_x 0.50262601 10 a_y 0.95261836 10 i_a pan 10 i_b wye 10 i_i 10 10 i_x 0.50262601 10 i_y 0.95261836 10 x_a pan 10 x_b wye 10 x_i 10 10 x_x 0.50262601 10 x_y 0.95261836 10 y_a pan 10 y_b wye 10 y_i 10 10 y_x 0.50262601 10 y_y 0.95261836 expectedStdout [3869]: NR name output1 1 a pan 1 b before 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b before 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b before 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b before 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b before 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b before 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b before 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b before 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b before 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b before 10 i 10 10 x 0.50262601 10 y 0.95261836 NR names output2 1 a_a pan 1 a_b pan 1 a_i 1 1 a_x 0.34679014 1 a_y 0.72680286 1 i_a pan 1 i_b pan 1 i_i 1 1 i_x 0.34679014 1 i_y 0.72680286 1 x_a pan 1 x_b pan 1 x_i 1 1 x_x 0.34679014 1 x_y 0.72680286 1 y_a pan 1 y_b pan 1 y_i 1 1 y_x 0.34679014 1 y_y 0.72680286 2 a_a eks 2 a_b pan 2 a_i 2 2 a_x 0.75867996 2 a_y 0.52215111 2 i_a eks 2 i_b pan 2 i_i 2 2 i_x 0.75867996 2 i_y 0.52215111 2 x_a eks 2 x_b pan 2 x_i 2 2 x_x 0.75867996 2 x_y 0.52215111 2 y_a eks 2 y_b pan 2 y_i 2 2 y_x 0.75867996 2 y_y 0.52215111 3 a_a wye 3 a_b wye 3 a_i 3 3 a_x 0.20460331 3 a_y 0.33831853 3 i_a wye 3 i_b wye 3 i_i 3 3 i_x 0.20460331 3 i_y 0.33831853 3 x_a wye 3 x_b wye 3 x_i 3 3 x_x 0.20460331 3 x_y 0.33831853 3 y_a wye 3 y_b wye 3 y_i 3 3 y_x 0.20460331 3 y_y 0.33831853 4 a_a eks 4 a_b wye 4 a_i 4 4 a_x 0.38139939 4 a_y 0.13418874 4 i_a eks 4 i_b wye 4 i_i 4 4 i_x 0.38139939 4 i_y 0.13418874 4 x_a eks 4 x_b wye 4 x_i 4 4 x_x 0.38139939 4 x_y 0.13418874 4 y_a eks 4 y_b wye 4 y_i 4 4 y_x 0.38139939 4 y_y 0.13418874 5 a_a wye 5 a_b pan 5 a_i 5 5 a_x 0.57328892 5 a_y 0.86362447 5 i_a wye 5 i_b pan 5 i_i 5 5 i_x 0.57328892 5 i_y 0.86362447 5 x_a wye 5 x_b pan 5 x_i 5 5 x_x 0.57328892 5 x_y 0.86362447 5 y_a wye 5 y_b pan 5 y_i 5 5 y_x 0.57328892 5 y_y 0.86362447 6 a_a zee 6 a_b pan 6 a_i 6 6 a_x 0.52712616 6 a_y 0.49322129 6 i_a zee 6 i_b pan 6 i_i 6 6 i_x 0.52712616 6 i_y 0.49322129 6 x_a zee 6 x_b pan 6 x_i 6 6 x_x 0.52712616 6 x_y 0.49322129 6 y_a zee 6 y_b pan 6 y_i 6 6 y_x 0.52712616 6 y_y 0.49322129 7 a_a eks 7 a_b zee 7 a_i 7 7 a_x 0.61178406 7 a_y 0.18788492 7 i_a eks 7 i_b zee 7 i_i 7 7 i_x 0.61178406 7 i_y 0.18788492 7 x_a eks 7 x_b zee 7 x_i 7 7 x_x 0.61178406 7 x_y 0.18788492 7 y_a eks 7 y_b zee 7 y_i 7 7 y_x 0.61178406 7 y_y 0.18788492 8 a_a zee 8 a_b wye 8 a_i 8 8 a_x 0.59855401 8 a_y 0.97618139 8 i_a zee 8 i_b wye 8 i_i 8 8 i_x 0.59855401 8 i_y 0.97618139 8 x_a zee 8 x_b wye 8 x_i 8 8 x_x 0.59855401 8 x_y 0.97618139 8 y_a zee 8 y_b wye 8 y_i 8 8 y_x 0.59855401 8 y_y 0.97618139 9 a_a hat 9 a_b wye 9 a_i 9 9 a_x 0.03144188 9 a_y 0.74955076 9 i_a hat 9 i_b wye 9 i_i 9 9 i_x 0.03144188 9 i_y 0.74955076 9 x_a hat 9 x_b wye 9 x_i 9 9 x_x 0.03144188 9 x_y 0.74955076 9 y_a hat 9 y_b wye 9 y_i 9 9 y_x 0.03144188 9 y_y 0.74955076 10 a_a pan 10 a_b wye 10 a_i 10 10 a_x 0.50262601 10 a_y 0.95261836 10 i_a pan 10 i_b wye 10 i_i 10 10 i_x 0.50262601 10 i_y 0.95261836 10 x_a pan 10 x_b wye 10 x_i 10 10 x_x 0.50262601 10 x_y 0.95261836 10 y_a pan 10 y_b wye 10 y_i 10 10 y_x 0.50262601 10 y_y 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0039/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0039/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0040/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0040/mlr Miller DSL script: for (k1, v1 in $*) { @output1[NR][k1] = "before"; @output1[NR][k1] = v1; for (k2, v2 in $*) { @output2[NR][k1."_".k2] = "before"; if (k2 == "a") { break } @output2[NR][k1."_".k2] = v2; } } end { emit @output1, "NR", "name"; emit @output2, "NR", "names"; } actualStdout [1555]: NR name output1 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b pan 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b pan 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 x 0.50262601 10 y 0.95261836 NR names output2 1 a_a before 1 b_a before 1 i_a before 1 x_a before 1 y_a before 2 a_a before 2 b_a before 2 i_a before 2 x_a before 2 y_a before 3 a_a before 3 b_a before 3 i_a before 3 x_a before 3 y_a before 4 a_a before 4 b_a before 4 i_a before 4 x_a before 4 y_a before 5 a_a before 5 b_a before 5 i_a before 5 x_a before 5 y_a before 6 a_a before 6 b_a before 6 i_a before 6 x_a before 6 y_a before 7 a_a before 7 b_a before 7 i_a before 7 x_a before 7 y_a before 8 a_a before 8 b_a before 8 i_a before 8 x_a before 8 y_a before 9 a_a before 9 b_a before 9 i_a before 9 x_a before 9 y_a before 10 a_a before 10 b_a before 10 i_a before 10 x_a before 10 y_a before expectedStdout [1555]: NR name output1 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b pan 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b pan 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 x 0.50262601 10 y 0.95261836 NR names output2 1 a_a before 1 b_a before 1 i_a before 1 x_a before 1 y_a before 2 a_a before 2 b_a before 2 i_a before 2 x_a before 2 y_a before 3 a_a before 3 b_a before 3 i_a before 3 x_a before 3 y_a before 4 a_a before 4 b_a before 4 i_a before 4 x_a before 4 y_a before 5 a_a before 5 b_a before 5 i_a before 5 x_a before 5 y_a before 6 a_a before 6 b_a before 6 i_a before 6 x_a before 6 y_a before 7 a_a before 7 b_a before 7 i_a before 7 x_a before 7 y_a before 8 a_a before 8 b_a before 8 i_a before 8 x_a before 8 y_a before 9 a_a before 9 b_a before 9 i_a before 9 x_a before 9 y_a before 10 a_a before 10 b_a before 10 i_a before 10 x_a before 10 y_a before actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0040/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0040/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0041/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0041/mlr Miller DSL script: for (k1, v1 in $*) { @output1[NR][k1] = "before"; @output1[NR][k1] = v1; for (k2, v2 in $*) { @output2[NR][k1."_".k2] = "before"; if (k2 == "b") { continue } @output2[NR][k1."_".k2] = v2; } } end { emit @output1, "NR", "name"; emit @output2, "NR", "names"; } actualStdout [4760]: NR name output1 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b pan 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b pan 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 x 0.50262601 10 y 0.95261836 NR names output2 1 a_a pan 1 a_b before 1 a_i 1 1 a_x 0.34679014 1 a_y 0.72680286 1 b_a pan 1 b_b before 1 b_i 1 1 b_x 0.34679014 1 b_y 0.72680286 1 i_a pan 1 i_b before 1 i_i 1 1 i_x 0.34679014 1 i_y 0.72680286 1 x_a pan 1 x_b before 1 x_i 1 1 x_x 0.34679014 1 x_y 0.72680286 1 y_a pan 1 y_b before 1 y_i 1 1 y_x 0.34679014 1 y_y 0.72680286 2 a_a eks 2 a_b before 2 a_i 2 2 a_x 0.75867996 2 a_y 0.52215111 2 b_a eks 2 b_b before 2 b_i 2 2 b_x 0.75867996 2 b_y 0.52215111 2 i_a eks 2 i_b before 2 i_i 2 2 i_x 0.75867996 2 i_y 0.52215111 2 x_a eks 2 x_b before 2 x_i 2 2 x_x 0.75867996 2 x_y 0.52215111 2 y_a eks 2 y_b before 2 y_i 2 2 y_x 0.75867996 2 y_y 0.52215111 3 a_a wye 3 a_b before 3 a_i 3 3 a_x 0.20460331 3 a_y 0.33831853 3 b_a wye 3 b_b before 3 b_i 3 3 b_x 0.20460331 3 b_y 0.33831853 3 i_a wye 3 i_b before 3 i_i 3 3 i_x 0.20460331 3 i_y 0.33831853 3 x_a wye 3 x_b before 3 x_i 3 3 x_x 0.20460331 3 x_y 0.33831853 3 y_a wye 3 y_b before 3 y_i 3 3 y_x 0.20460331 3 y_y 0.33831853 4 a_a eks 4 a_b before 4 a_i 4 4 a_x 0.38139939 4 a_y 0.13418874 4 b_a eks 4 b_b before 4 b_i 4 4 b_x 0.38139939 4 b_y 0.13418874 4 i_a eks 4 i_b before 4 i_i 4 4 i_x 0.38139939 4 i_y 0.13418874 4 x_a eks 4 x_b before 4 x_i 4 4 x_x 0.38139939 4 x_y 0.13418874 4 y_a eks 4 y_b before 4 y_i 4 4 y_x 0.38139939 4 y_y 0.13418874 5 a_a wye 5 a_b before 5 a_i 5 5 a_x 0.57328892 5 a_y 0.86362447 5 b_a wye 5 b_b before 5 b_i 5 5 b_x 0.57328892 5 b_y 0.86362447 5 i_a wye 5 i_b before 5 i_i 5 5 i_x 0.57328892 5 i_y 0.86362447 5 x_a wye 5 x_b before 5 x_i 5 5 x_x 0.57328892 5 x_y 0.86362447 5 y_a wye 5 y_b before 5 y_i 5 5 y_x 0.57328892 5 y_y 0.86362447 6 a_a zee 6 a_b before 6 a_i 6 6 a_x 0.52712616 6 a_y 0.49322129 6 b_a zee 6 b_b before 6 b_i 6 6 b_x 0.52712616 6 b_y 0.49322129 6 i_a zee 6 i_b before 6 i_i 6 6 i_x 0.52712616 6 i_y 0.49322129 6 x_a zee 6 x_b before 6 x_i 6 6 x_x 0.52712616 6 x_y 0.49322129 6 y_a zee 6 y_b before 6 y_i 6 6 y_x 0.52712616 6 y_y 0.49322129 7 a_a eks 7 a_b before 7 a_i 7 7 a_x 0.61178406 7 a_y 0.18788492 7 b_a eks 7 b_b before 7 b_i 7 7 b_x 0.61178406 7 b_y 0.18788492 7 i_a eks 7 i_b before 7 i_i 7 7 i_x 0.61178406 7 i_y 0.18788492 7 x_a eks 7 x_b before 7 x_i 7 7 x_x 0.61178406 7 x_y 0.18788492 7 y_a eks 7 y_b before 7 y_i 7 7 y_x 0.61178406 7 y_y 0.18788492 8 a_a zee 8 a_b before 8 a_i 8 8 a_x 0.59855401 8 a_y 0.97618139 8 b_a zee 8 b_b before 8 b_i 8 8 b_x 0.59855401 8 b_y 0.97618139 8 i_a zee 8 i_b before 8 i_i 8 8 i_x 0.59855401 8 i_y 0.97618139 8 x_a zee 8 x_b before 8 x_i 8 8 x_x 0.59855401 8 x_y 0.97618139 8 y_a zee 8 y_b before 8 y_i 8 8 y_x 0.59855401 8 y_y 0.97618139 9 a_a hat 9 a_b before 9 a_i 9 9 a_x 0.03144188 9 a_y 0.74955076 9 b_a hat 9 b_b before 9 b_i 9 9 b_x 0.03144188 9 b_y 0.74955076 9 i_a hat 9 i_b before 9 i_i 9 9 i_x 0.03144188 9 i_y 0.74955076 9 x_a hat 9 x_b before 9 x_i 9 9 x_x 0.03144188 9 x_y 0.74955076 9 y_a hat 9 y_b before 9 y_i 9 9 y_x 0.03144188 9 y_y 0.74955076 10 a_a pan 10 a_b before 10 a_i 10 10 a_x 0.50262601 10 a_y 0.95261836 10 b_a pan 10 b_b before 10 b_i 10 10 b_x 0.50262601 10 b_y 0.95261836 10 i_a pan 10 i_b before 10 i_i 10 10 i_x 0.50262601 10 i_y 0.95261836 10 x_a pan 10 x_b before 10 x_i 10 10 x_x 0.50262601 10 x_y 0.95261836 10 y_a pan 10 y_b before 10 y_i 10 10 y_x 0.50262601 10 y_y 0.95261836 expectedStdout [4760]: NR name output1 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b pan 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b pan 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 x 0.50262601 10 y 0.95261836 NR names output2 1 a_a pan 1 a_b before 1 a_i 1 1 a_x 0.34679014 1 a_y 0.72680286 1 b_a pan 1 b_b before 1 b_i 1 1 b_x 0.34679014 1 b_y 0.72680286 1 i_a pan 1 i_b before 1 i_i 1 1 i_x 0.34679014 1 i_y 0.72680286 1 x_a pan 1 x_b before 1 x_i 1 1 x_x 0.34679014 1 x_y 0.72680286 1 y_a pan 1 y_b before 1 y_i 1 1 y_x 0.34679014 1 y_y 0.72680286 2 a_a eks 2 a_b before 2 a_i 2 2 a_x 0.75867996 2 a_y 0.52215111 2 b_a eks 2 b_b before 2 b_i 2 2 b_x 0.75867996 2 b_y 0.52215111 2 i_a eks 2 i_b before 2 i_i 2 2 i_x 0.75867996 2 i_y 0.52215111 2 x_a eks 2 x_b before 2 x_i 2 2 x_x 0.75867996 2 x_y 0.52215111 2 y_a eks 2 y_b before 2 y_i 2 2 y_x 0.75867996 2 y_y 0.52215111 3 a_a wye 3 a_b before 3 a_i 3 3 a_x 0.20460331 3 a_y 0.33831853 3 b_a wye 3 b_b before 3 b_i 3 3 b_x 0.20460331 3 b_y 0.33831853 3 i_a wye 3 i_b before 3 i_i 3 3 i_x 0.20460331 3 i_y 0.33831853 3 x_a wye 3 x_b before 3 x_i 3 3 x_x 0.20460331 3 x_y 0.33831853 3 y_a wye 3 y_b before 3 y_i 3 3 y_x 0.20460331 3 y_y 0.33831853 4 a_a eks 4 a_b before 4 a_i 4 4 a_x 0.38139939 4 a_y 0.13418874 4 b_a eks 4 b_b before 4 b_i 4 4 b_x 0.38139939 4 b_y 0.13418874 4 i_a eks 4 i_b before 4 i_i 4 4 i_x 0.38139939 4 i_y 0.13418874 4 x_a eks 4 x_b before 4 x_i 4 4 x_x 0.38139939 4 x_y 0.13418874 4 y_a eks 4 y_b before 4 y_i 4 4 y_x 0.38139939 4 y_y 0.13418874 5 a_a wye 5 a_b before 5 a_i 5 5 a_x 0.57328892 5 a_y 0.86362447 5 b_a wye 5 b_b before 5 b_i 5 5 b_x 0.57328892 5 b_y 0.86362447 5 i_a wye 5 i_b before 5 i_i 5 5 i_x 0.57328892 5 i_y 0.86362447 5 x_a wye 5 x_b before 5 x_i 5 5 x_x 0.57328892 5 x_y 0.86362447 5 y_a wye 5 y_b before 5 y_i 5 5 y_x 0.57328892 5 y_y 0.86362447 6 a_a zee 6 a_b before 6 a_i 6 6 a_x 0.52712616 6 a_y 0.49322129 6 b_a zee 6 b_b before 6 b_i 6 6 b_x 0.52712616 6 b_y 0.49322129 6 i_a zee 6 i_b before 6 i_i 6 6 i_x 0.52712616 6 i_y 0.49322129 6 x_a zee 6 x_b before 6 x_i 6 6 x_x 0.52712616 6 x_y 0.49322129 6 y_a zee 6 y_b before 6 y_i 6 6 y_x 0.52712616 6 y_y 0.49322129 7 a_a eks 7 a_b before 7 a_i 7 7 a_x 0.61178406 7 a_y 0.18788492 7 b_a eks 7 b_b before 7 b_i 7 7 b_x 0.61178406 7 b_y 0.18788492 7 i_a eks 7 i_b before 7 i_i 7 7 i_x 0.61178406 7 i_y 0.18788492 7 x_a eks 7 x_b before 7 x_i 7 7 x_x 0.61178406 7 x_y 0.18788492 7 y_a eks 7 y_b before 7 y_i 7 7 y_x 0.61178406 7 y_y 0.18788492 8 a_a zee 8 a_b before 8 a_i 8 8 a_x 0.59855401 8 a_y 0.97618139 8 b_a zee 8 b_b before 8 b_i 8 8 b_x 0.59855401 8 b_y 0.97618139 8 i_a zee 8 i_b before 8 i_i 8 8 i_x 0.59855401 8 i_y 0.97618139 8 x_a zee 8 x_b before 8 x_i 8 8 x_x 0.59855401 8 x_y 0.97618139 8 y_a zee 8 y_b before 8 y_i 8 8 y_x 0.59855401 8 y_y 0.97618139 9 a_a hat 9 a_b before 9 a_i 9 9 a_x 0.03144188 9 a_y 0.74955076 9 b_a hat 9 b_b before 9 b_i 9 9 b_x 0.03144188 9 b_y 0.74955076 9 i_a hat 9 i_b before 9 i_i 9 9 i_x 0.03144188 9 i_y 0.74955076 9 x_a hat 9 x_b before 9 x_i 9 9 x_x 0.03144188 9 x_y 0.74955076 9 y_a hat 9 y_b before 9 y_i 9 9 y_x 0.03144188 9 y_y 0.74955076 10 a_a pan 10 a_b before 10 a_i 10 10 a_x 0.50262601 10 a_y 0.95261836 10 b_a pan 10 b_b before 10 b_i 10 10 b_x 0.50262601 10 b_y 0.95261836 10 i_a pan 10 i_b before 10 i_i 10 10 i_x 0.50262601 10 i_y 0.95261836 10 x_a pan 10 x_b before 10 x_i 10 10 x_x 0.50262601 10 x_y 0.95261836 10 y_a pan 10 y_b before 10 y_i 10 10 y_x 0.50262601 10 y_y 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0041/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0041/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0042/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0042/mlr Miller DSL script: for (k1, v1 in $*) { @output1[NR][k1] = "before"; if (k1 == "b") { break } @output1[NR][k1] = v1; for (k2, v2 in $*) { @output2[NR][k1."_".k2] = "before"; if (k2 == "a") { break } @output2[NR][k1."_".k2] = v2; } } end { emit @output1, "NR", "name"; emit @output2, "NR", "names"; } actualStdout [464]: NR name output1 1 a pan 1 b before 2 a eks 2 b before 3 a wye 3 b before 4 a eks 4 b before 5 a wye 5 b before 6 a zee 6 b before 7 a eks 7 b before 8 a zee 8 b before 9 a hat 9 b before 10 a pan 10 b before NR names output2 1 a_a before 2 a_a before 3 a_a before 4 a_a before 5 a_a before 6 a_a before 7 a_a before 8 a_a before 9 a_a before 10 a_a before expectedStdout [464]: NR name output1 1 a pan 1 b before 2 a eks 2 b before 3 a wye 3 b before 4 a eks 4 b before 5 a wye 5 b before 6 a zee 6 b before 7 a eks 7 b before 8 a zee 8 b before 9 a hat 9 b before 10 a pan 10 b before NR names output2 1 a_a before 2 a_a before 3 a_a before 4 a_a before 5 a_a before 6 a_a before 7 a_a before 8 a_a before 9 a_a before 10 a_a before actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0042/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0042/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0043/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0043/mlr Miller DSL script: for (k1, v1 in $*) { @output1[NR][k1] = "before"; if (k1 == "b") { continue } @output1[NR][k1] = v1; for (k2, v2 in $*) { @output2[NR][k1."_".k2] = "before"; if (k2 == "a") { break } @output2[NR][k1."_".k2] = v2; } } end { emit @output1, "NR", "name"; emit @output2, "NR", "names"; } actualStdout [1425]: NR name output1 1 a pan 1 b before 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b before 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b before 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b before 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b before 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b before 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b before 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b before 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b before 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b before 10 i 10 10 x 0.50262601 10 y 0.95261836 NR names output2 1 a_a before 1 i_a before 1 x_a before 1 y_a before 2 a_a before 2 i_a before 2 x_a before 2 y_a before 3 a_a before 3 i_a before 3 x_a before 3 y_a before 4 a_a before 4 i_a before 4 x_a before 4 y_a before 5 a_a before 5 i_a before 5 x_a before 5 y_a before 6 a_a before 6 i_a before 6 x_a before 6 y_a before 7 a_a before 7 i_a before 7 x_a before 7 y_a before 8 a_a before 8 i_a before 8 x_a before 8 y_a before 9 a_a before 9 i_a before 9 x_a before 9 y_a before 10 a_a before 10 i_a before 10 x_a before 10 y_a before expectedStdout [1425]: NR name output1 1 a pan 1 b before 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b before 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b before 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b before 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b before 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b before 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b before 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b before 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b before 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b before 10 i 10 10 x 0.50262601 10 y 0.95261836 NR names output2 1 a_a before 1 i_a before 1 x_a before 1 y_a before 2 a_a before 2 i_a before 2 x_a before 2 y_a before 3 a_a before 3 i_a before 3 x_a before 3 y_a before 4 a_a before 4 i_a before 4 x_a before 4 y_a before 5 a_a before 5 i_a before 5 x_a before 5 y_a before 6 a_a before 6 i_a before 6 x_a before 6 y_a before 7 a_a before 7 i_a before 7 x_a before 7 y_a before 8 a_a before 8 i_a before 8 x_a before 8 y_a before 9 a_a before 9 i_a before 9 x_a before 9 y_a before 10 a_a before 10 i_a before 10 x_a before 10 y_a before actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0043/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0043/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0044/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0044/mlr Miller DSL script: for (k1, v1 in $*) { @output1[NR][k1] = "before"; if (k1 == "b") { break } @output1[NR][k1] = v1; for (k2, v2 in $*) { @output2[NR][k1."_".k2] = "before"; if (k2 == "a") { continue } @output2[NR][k1."_".k2] = v2; } } end { emit @output1, "NR", "name"; emit @output2, "NR", "names"; } actualStdout [1105]: NR name output1 1 a pan 1 b before 2 a eks 2 b before 3 a wye 3 b before 4 a eks 4 b before 5 a wye 5 b before 6 a zee 6 b before 7 a eks 7 b before 8 a zee 8 b before 9 a hat 9 b before 10 a pan 10 b before NR names output2 1 a_a before 1 a_b pan 1 a_i 1 1 a_x 0.34679014 1 a_y 0.72680286 2 a_a before 2 a_b pan 2 a_i 2 2 a_x 0.75867996 2 a_y 0.52215111 3 a_a before 3 a_b wye 3 a_i 3 3 a_x 0.20460331 3 a_y 0.33831853 4 a_a before 4 a_b wye 4 a_i 4 4 a_x 0.38139939 4 a_y 0.13418874 5 a_a before 5 a_b pan 5 a_i 5 5 a_x 0.57328892 5 a_y 0.86362447 6 a_a before 6 a_b pan 6 a_i 6 6 a_x 0.52712616 6 a_y 0.49322129 7 a_a before 7 a_b zee 7 a_i 7 7 a_x 0.61178406 7 a_y 0.18788492 8 a_a before 8 a_b wye 8 a_i 8 8 a_x 0.59855401 8 a_y 0.97618139 9 a_a before 9 a_b wye 9 a_i 9 9 a_x 0.03144188 9 a_y 0.74955076 10 a_a before 10 a_b wye 10 a_i 10 10 a_x 0.50262601 10 a_y 0.95261836 expectedStdout [1105]: NR name output1 1 a pan 1 b before 2 a eks 2 b before 3 a wye 3 b before 4 a eks 4 b before 5 a wye 5 b before 6 a zee 6 b before 7 a eks 7 b before 8 a zee 8 b before 9 a hat 9 b before 10 a pan 10 b before NR names output2 1 a_a before 1 a_b pan 1 a_i 1 1 a_x 0.34679014 1 a_y 0.72680286 2 a_a before 2 a_b pan 2 a_i 2 2 a_x 0.75867996 2 a_y 0.52215111 3 a_a before 3 a_b wye 3 a_i 3 3 a_x 0.20460331 3 a_y 0.33831853 4 a_a before 4 a_b wye 4 a_i 4 4 a_x 0.38139939 4 a_y 0.13418874 5 a_a before 5 a_b pan 5 a_i 5 5 a_x 0.57328892 5 a_y 0.86362447 6 a_a before 6 a_b pan 6 a_i 6 6 a_x 0.52712616 6 a_y 0.49322129 7 a_a before 7 a_b zee 7 a_i 7 7 a_x 0.61178406 7 a_y 0.18788492 8 a_a before 8 a_b wye 8 a_i 8 8 a_x 0.59855401 8 a_y 0.97618139 9 a_a before 9 a_b wye 9 a_i 9 9 a_x 0.03144188 9 a_y 0.74955076 10 a_a before 10 a_b wye 10 a_i 10 10 a_x 0.50262601 10 a_y 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0044/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0044/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0045/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0045/mlr Miller DSL script: for (k1, v1 in $*) { @output1[NR][k1] = "before"; if (k1 == "b") { continue } @output1[NR][k1] = v1; for (k2, v2 in $*) { @output2[NR][k1."_".k2] = "before"; if (k2 == "a") { continue } @output2[NR][k1."_".k2] = v2; } } end { emit @output1, "NR", "name"; emit @output2, "NR", "names"; } actualStdout [3989]: NR name output1 1 a pan 1 b before 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b before 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b before 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b before 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b before 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b before 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b before 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b before 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b before 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b before 10 i 10 10 x 0.50262601 10 y 0.95261836 NR names output2 1 a_a before 1 a_b pan 1 a_i 1 1 a_x 0.34679014 1 a_y 0.72680286 1 i_a before 1 i_b pan 1 i_i 1 1 i_x 0.34679014 1 i_y 0.72680286 1 x_a before 1 x_b pan 1 x_i 1 1 x_x 0.34679014 1 x_y 0.72680286 1 y_a before 1 y_b pan 1 y_i 1 1 y_x 0.34679014 1 y_y 0.72680286 2 a_a before 2 a_b pan 2 a_i 2 2 a_x 0.75867996 2 a_y 0.52215111 2 i_a before 2 i_b pan 2 i_i 2 2 i_x 0.75867996 2 i_y 0.52215111 2 x_a before 2 x_b pan 2 x_i 2 2 x_x 0.75867996 2 x_y 0.52215111 2 y_a before 2 y_b pan 2 y_i 2 2 y_x 0.75867996 2 y_y 0.52215111 3 a_a before 3 a_b wye 3 a_i 3 3 a_x 0.20460331 3 a_y 0.33831853 3 i_a before 3 i_b wye 3 i_i 3 3 i_x 0.20460331 3 i_y 0.33831853 3 x_a before 3 x_b wye 3 x_i 3 3 x_x 0.20460331 3 x_y 0.33831853 3 y_a before 3 y_b wye 3 y_i 3 3 y_x 0.20460331 3 y_y 0.33831853 4 a_a before 4 a_b wye 4 a_i 4 4 a_x 0.38139939 4 a_y 0.13418874 4 i_a before 4 i_b wye 4 i_i 4 4 i_x 0.38139939 4 i_y 0.13418874 4 x_a before 4 x_b wye 4 x_i 4 4 x_x 0.38139939 4 x_y 0.13418874 4 y_a before 4 y_b wye 4 y_i 4 4 y_x 0.38139939 4 y_y 0.13418874 5 a_a before 5 a_b pan 5 a_i 5 5 a_x 0.57328892 5 a_y 0.86362447 5 i_a before 5 i_b pan 5 i_i 5 5 i_x 0.57328892 5 i_y 0.86362447 5 x_a before 5 x_b pan 5 x_i 5 5 x_x 0.57328892 5 x_y 0.86362447 5 y_a before 5 y_b pan 5 y_i 5 5 y_x 0.57328892 5 y_y 0.86362447 6 a_a before 6 a_b pan 6 a_i 6 6 a_x 0.52712616 6 a_y 0.49322129 6 i_a before 6 i_b pan 6 i_i 6 6 i_x 0.52712616 6 i_y 0.49322129 6 x_a before 6 x_b pan 6 x_i 6 6 x_x 0.52712616 6 x_y 0.49322129 6 y_a before 6 y_b pan 6 y_i 6 6 y_x 0.52712616 6 y_y 0.49322129 7 a_a before 7 a_b zee 7 a_i 7 7 a_x 0.61178406 7 a_y 0.18788492 7 i_a before 7 i_b zee 7 i_i 7 7 i_x 0.61178406 7 i_y 0.18788492 7 x_a before 7 x_b zee 7 x_i 7 7 x_x 0.61178406 7 x_y 0.18788492 7 y_a before 7 y_b zee 7 y_i 7 7 y_x 0.61178406 7 y_y 0.18788492 8 a_a before 8 a_b wye 8 a_i 8 8 a_x 0.59855401 8 a_y 0.97618139 8 i_a before 8 i_b wye 8 i_i 8 8 i_x 0.59855401 8 i_y 0.97618139 8 x_a before 8 x_b wye 8 x_i 8 8 x_x 0.59855401 8 x_y 0.97618139 8 y_a before 8 y_b wye 8 y_i 8 8 y_x 0.59855401 8 y_y 0.97618139 9 a_a before 9 a_b wye 9 a_i 9 9 a_x 0.03144188 9 a_y 0.74955076 9 i_a before 9 i_b wye 9 i_i 9 9 i_x 0.03144188 9 i_y 0.74955076 9 x_a before 9 x_b wye 9 x_i 9 9 x_x 0.03144188 9 x_y 0.74955076 9 y_a before 9 y_b wye 9 y_i 9 9 y_x 0.03144188 9 y_y 0.74955076 10 a_a before 10 a_b wye 10 a_i 10 10 a_x 0.50262601 10 a_y 0.95261836 10 i_a before 10 i_b wye 10 i_i 10 10 i_x 0.50262601 10 i_y 0.95261836 10 x_a before 10 x_b wye 10 x_i 10 10 x_x 0.50262601 10 x_y 0.95261836 10 y_a before 10 y_b wye 10 y_i 10 10 y_x 0.50262601 10 y_y 0.95261836 expectedStdout [3989]: NR name output1 1 a pan 1 b before 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b before 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b before 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b before 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b before 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b before 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b before 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b before 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b before 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b before 10 i 10 10 x 0.50262601 10 y 0.95261836 NR names output2 1 a_a before 1 a_b pan 1 a_i 1 1 a_x 0.34679014 1 a_y 0.72680286 1 i_a before 1 i_b pan 1 i_i 1 1 i_x 0.34679014 1 i_y 0.72680286 1 x_a before 1 x_b pan 1 x_i 1 1 x_x 0.34679014 1 x_y 0.72680286 1 y_a before 1 y_b pan 1 y_i 1 1 y_x 0.34679014 1 y_y 0.72680286 2 a_a before 2 a_b pan 2 a_i 2 2 a_x 0.75867996 2 a_y 0.52215111 2 i_a before 2 i_b pan 2 i_i 2 2 i_x 0.75867996 2 i_y 0.52215111 2 x_a before 2 x_b pan 2 x_i 2 2 x_x 0.75867996 2 x_y 0.52215111 2 y_a before 2 y_b pan 2 y_i 2 2 y_x 0.75867996 2 y_y 0.52215111 3 a_a before 3 a_b wye 3 a_i 3 3 a_x 0.20460331 3 a_y 0.33831853 3 i_a before 3 i_b wye 3 i_i 3 3 i_x 0.20460331 3 i_y 0.33831853 3 x_a before 3 x_b wye 3 x_i 3 3 x_x 0.20460331 3 x_y 0.33831853 3 y_a before 3 y_b wye 3 y_i 3 3 y_x 0.20460331 3 y_y 0.33831853 4 a_a before 4 a_b wye 4 a_i 4 4 a_x 0.38139939 4 a_y 0.13418874 4 i_a before 4 i_b wye 4 i_i 4 4 i_x 0.38139939 4 i_y 0.13418874 4 x_a before 4 x_b wye 4 x_i 4 4 x_x 0.38139939 4 x_y 0.13418874 4 y_a before 4 y_b wye 4 y_i 4 4 y_x 0.38139939 4 y_y 0.13418874 5 a_a before 5 a_b pan 5 a_i 5 5 a_x 0.57328892 5 a_y 0.86362447 5 i_a before 5 i_b pan 5 i_i 5 5 i_x 0.57328892 5 i_y 0.86362447 5 x_a before 5 x_b pan 5 x_i 5 5 x_x 0.57328892 5 x_y 0.86362447 5 y_a before 5 y_b pan 5 y_i 5 5 y_x 0.57328892 5 y_y 0.86362447 6 a_a before 6 a_b pan 6 a_i 6 6 a_x 0.52712616 6 a_y 0.49322129 6 i_a before 6 i_b pan 6 i_i 6 6 i_x 0.52712616 6 i_y 0.49322129 6 x_a before 6 x_b pan 6 x_i 6 6 x_x 0.52712616 6 x_y 0.49322129 6 y_a before 6 y_b pan 6 y_i 6 6 y_x 0.52712616 6 y_y 0.49322129 7 a_a before 7 a_b zee 7 a_i 7 7 a_x 0.61178406 7 a_y 0.18788492 7 i_a before 7 i_b zee 7 i_i 7 7 i_x 0.61178406 7 i_y 0.18788492 7 x_a before 7 x_b zee 7 x_i 7 7 x_x 0.61178406 7 x_y 0.18788492 7 y_a before 7 y_b zee 7 y_i 7 7 y_x 0.61178406 7 y_y 0.18788492 8 a_a before 8 a_b wye 8 a_i 8 8 a_x 0.59855401 8 a_y 0.97618139 8 i_a before 8 i_b wye 8 i_i 8 8 i_x 0.59855401 8 i_y 0.97618139 8 x_a before 8 x_b wye 8 x_i 8 8 x_x 0.59855401 8 x_y 0.97618139 8 y_a before 8 y_b wye 8 y_i 8 8 y_x 0.59855401 8 y_y 0.97618139 9 a_a before 9 a_b wye 9 a_i 9 9 a_x 0.03144188 9 a_y 0.74955076 9 i_a before 9 i_b wye 9 i_i 9 9 i_x 0.03144188 9 i_y 0.74955076 9 x_a before 9 x_b wye 9 x_i 9 9 x_x 0.03144188 9 x_y 0.74955076 9 y_a before 9 y_b wye 9 y_i 9 9 y_x 0.03144188 9 y_y 0.74955076 10 a_a before 10 a_b wye 10 a_i 10 10 a_x 0.50262601 10 a_y 0.95261836 10 i_a before 10 i_b wye 10 i_i 10 10 i_x 0.50262601 10 i_y 0.95261836 10 x_a before 10 x_b wye 10 x_i 10 10 x_x 0.50262601 10 x_y 0.95261836 10 y_a before 10 y_b wye 10 y_i 10 10 y_x 0.50262601 10 y_y 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0045/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0045/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0046/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0046/mlr Miller DSL script: @logging[NR] = $*; end { for (k1, v in @logging[2]) { break; @output[k1] = v; } emit @output, "NR", "name" } actualStdout [0]: expectedStdout [0]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0046/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0046/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0047/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0047/mlr Miller DSL script: @logging[NR] = $*; end { for (k1, v in @logging[2]) { @output[k1] = v; break; @output[k1] = "ERROR"; } emit @output, "NR", "name" } actualStdout [17]: NR output a eks expectedStdout [17]: NR output a eks actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0047/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0047/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0048/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0048/mlr Miller DSL script: @logging[NR] = $*; end { for (k1, v in @logging[2]) { continue; @output[k1] = v } emit @output, "NR", "name" } actualStdout [0]: expectedStdout [0]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0048/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0048/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0049/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0049/mlr Miller DSL script: @logging[NR] = $*; end { for (k1, v in @logging[2]) { @output[k1] = v; continue; @output[k1] = "ERROR"; } emit @output, "NR", "name" } actualStdout [57]: NR output a eks b pan i 2 x 0.75867996 y 0.52215111 expectedStdout [57]: NR output a eks b pan i 2 x 0.75867996 y 0.52215111 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0049/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0049/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0050/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0050/mlr Miller DSL script: @logging[NR] = $*; end { for (k1, v in @logging[2]) { if (k1 == "i") { break; } @output[k1] = v; } emit @output, "NR", "name" } actualStdout [24]: NR output a eks b pan expectedStdout [24]: NR output a eks b pan actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0050/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0050/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0051/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0051/mlr Miller DSL script: @logging[NR] = $*; end { for (k1, v in @logging[2]) { @output[k1] = v; if (k1 == "i") { break; } } emit @output, "NR", "name" } actualStdout [29]: NR output a eks b pan i 2 expectedStdout [29]: NR output a eks b pan i 2 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0051/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0051/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0052/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0052/mlr Miller DSL script: @logging[NR] = $*; end { for (k1, v in @logging[2]) { if (k1 == "i") { continue; } @output[k1] = v } emit @output, "NR", "name" } actualStdout [52]: NR output a eks b pan x 0.75867996 y 0.52215111 expectedStdout [52]: NR output a eks b pan x 0.75867996 y 0.52215111 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0052/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0052/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0053/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0053/mlr Miller DSL script: @logging[NR] = $*; end { for (k1, v in @logging[2]) { @output[k1] = v; if (k1 == "i") { continue; } @output[k1] = "reached"; } emit @output, "NR", "name" } actualStdout [59]: NR output a reached b reached i 2 x reached y reached expectedStdout [59]: NR output a reached b reached i 2 x reached y reached actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0053/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0053/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0054/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0054/mlr Miller DSL script: @logging[NR] = $*; end { for ((k1, k2), v in @logging) { break; @output[k1][k2] = v; } emit @output, "NR", "name" } actualStdout [0]: expectedStdout [0]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0054/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0054/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0055/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0055/mlr Miller DSL script: @logging[NR] = $*; end { for ((k1, k2), v in @logging) { @output[k1][k2] = v; break; @output[k1][k2] = "ERROR" } emit @output, "NR", "name" } actualStdout [27]: NR name output 1 a pan expectedStdout [27]: NR name output 1 a pan actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0055/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0055/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0056/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0056/mlr Miller DSL script: @logging[NR] = $*; end { for ((k1, k2), v in @logging) { continue; @output[k1][k2] = v } emit @output, "NR", "name" } actualStdout [0]: expectedStdout [0]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0056/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0056/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0057/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0057/mlr Miller DSL script: @logging[NR] = $*; end { for ((k1, k2), v in @logging) { @output[k1][k2] = v; continue; @output[k1][k2] = "ERROR"; } emit @output, "NR", "name" } actualStdout [736]: NR name output 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b pan 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b pan 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 x 0.50262601 10 y 0.95261836 expectedStdout [736]: NR name output 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b pan 5 i 5 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b pan 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 x 0.50262601 10 y 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0057/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0057/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0058/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0058/mlr Miller DSL script: @logging[NR] = $*; end { for ((k1, k2), v in @logging) { if (k1 == 5) { break; } @output[k1][k2] = v; } emit @output, "NR", "name" } actualStdout [303]: NR name output 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 expectedStdout [303]: NR name output 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0058/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0058/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0059/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0059/mlr Miller DSL script: @logging[NR] = $*; end { for ((k1, k2), v in @logging) { if (k2 == "i") { break; } @output[k1][k2] = v; } emit @output, "NR", "name" } actualStdout [39]: NR name output 1 a pan 1 b pan expectedStdout [39]: NR name output 1 a pan 1 b pan actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0059/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0059/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0060/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0060/mlr Miller DSL script: @logging[NR] = $*; end { for ((k1, k2), v in @logging) { @output[k1][k2] = v; if (k1 == 5) { break; } } emit @output, "NR", "name" } actualStdout [315]: NR name output 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye expectedStdout [315]: NR name output 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a wye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0060/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0060/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0061/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0061/mlr Miller DSL script: @logging[NR] = $*; end { for ((k1, k2), v in @logging) { @output[k1][k2] = v; if (k2 == "i") { break; } } emit @output, "NR", "name" } actualStdout [49]: NR name output 1 a pan 1 b pan 1 i 1 expectedStdout [49]: NR name output 1 a pan 1 b pan 1 i 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0061/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0061/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0062/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0062/mlr Miller DSL script: @logging[NR] = $*; end { for ((k1, k2), v in @logging) { if (k1 == 5) { continue; } @output[k1][k2] = v } emit @output, "NR", "name" } actualStdout [664]: NR name output 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 6 a zee 6 b pan 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 x 0.50262601 10 y 0.95261836 expectedStdout [664]: NR name output 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 6 a zee 6 b pan 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 x 0.50262601 10 y 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0062/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0062/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0063/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0063/mlr Miller DSL script: @logging[NR] = $*; end { for ((k1, k2), v in @logging) { if (k2 == "i") { continue; } @output[k1][k2] = v } emit @output, "NR", "name" } actualStdout [635]: NR name output 1 a pan 1 b pan 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b pan 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b pan 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 x 0.50262601 10 y 0.95261836 expectedStdout [635]: NR name output 1 a pan 1 b pan 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b pan 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b pan 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 x 0.50262601 10 y 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0063/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0063/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0064/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0064/mlr Miller DSL script: @logging[NR] = $*; end { for ((k1, k2), v in @logging) { @output[k1][k2] = "before"; if (k1 == 5) { continue; } @output[k1][k2] = v; } emit @output, "NR", "name" } actualStdout [739]: NR name output 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a before 5 b before 5 i before 5 x before 5 y before 6 a zee 6 b pan 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 x 0.50262601 10 y 0.95261836 expectedStdout [739]: NR name output 1 a pan 1 b pan 1 i 1 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i 2 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i 3 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i 4 4 x 0.38139939 4 y 0.13418874 5 a before 5 b before 5 i before 5 x before 5 y before 6 a zee 6 b pan 6 i 6 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i 7 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i 8 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i 9 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i 10 10 x 0.50262601 10 y 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0064/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0064/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0065/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0065/mlr Miller DSL script: @logging[NR] = $*; end { for ((k1, k2), v in @logging) { @output[k1][k2] = "before"; if (k2 == "i") { continue; } @output[k1][k2] = v; } emit @output, "NR", "name" } actualStdout [785]: NR name output 1 a pan 1 b pan 1 i before 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i before 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i before 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i before 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b pan 5 i before 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b pan 6 i before 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i before 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i before 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i before 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i before 10 x 0.50262601 10 y 0.95261836 expectedStdout [785]: NR name output 1 a pan 1 b pan 1 i before 1 x 0.34679014 1 y 0.72680286 2 a eks 2 b pan 2 i before 2 x 0.75867996 2 y 0.52215111 3 a wye 3 b wye 3 i before 3 x 0.20460331 3 y 0.33831853 4 a eks 4 b wye 4 i before 4 x 0.38139939 4 y 0.13418874 5 a wye 5 b pan 5 i before 5 x 0.57328892 5 y 0.86362447 6 a zee 6 b pan 6 i before 6 x 0.52712616 6 y 0.49322129 7 a eks 7 b zee 7 i before 7 x 0.61178406 7 y 0.18788492 8 a zee 8 b wye 8 i before 8 x 0.59855401 8 y 0.97618139 9 a hat 9 b wye 9 i before 9 x 0.03144188 9 y 0.74955076 10 a pan 10 b wye 10 i before 10 x 0.50262601 10 y 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0065/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0065/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-break-continue/0066/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-break-continue/0066/mlr Miller DSL script: @logging[NR] = $*; end { for ((k1, k2), v in @logging) { if (k1 != 2) { continue } for ((k3, k4), v in @logging) { if (k3 != 4) { continue } @output[k1][k2][k3][k4] = v; } } emit @output, "NR1", "name1", "NR2", "name2" } actualStdout [687]: NR1 name1 NR2 name2 output 2 a 4 a eks 2 a 4 b wye 2 a 4 i 4 2 a 4 x 0.38139939 2 a 4 y 0.13418874 2 b 4 a eks 2 b 4 b wye 2 b 4 i 4 2 b 4 x 0.38139939 2 b 4 y 0.13418874 2 i 4 a eks 2 i 4 b wye 2 i 4 i 4 2 i 4 x 0.38139939 2 i 4 y 0.13418874 2 x 4 a eks 2 x 4 b wye 2 x 4 i 4 2 x 4 x 0.38139939 2 x 4 y 0.13418874 2 y 4 a eks 2 y 4 b wye 2 y 4 i 4 2 y 4 x 0.38139939 2 y 4 y 0.13418874 expectedStdout [687]: NR1 name1 NR2 name2 output 2 a 4 a eks 2 a 4 b wye 2 a 4 i 4 2 a 4 x 0.38139939 2 a 4 y 0.13418874 2 b 4 a eks 2 b 4 b wye 2 b 4 i 4 2 b 4 x 0.38139939 2 b 4 y 0.13418874 2 i 4 a eks 2 i 4 b wye 2 i 4 i 4 2 i 4 x 0.38139939 2 i 4 y 0.13418874 2 x 4 a eks 2 x 4 b wye 2 x 4 i 4 2 x 4 x 0.38139939 2 x 4 y 0.13418874 2 y 4 a eks 2 y 4 b wye 2 y 4 i 4 2 y 4 x 0.38139939 2 y 4 y 0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-break-continue/0066/cmd ---------------------------------------------------------------- end ./test/cases/dsl-break-continue/0066/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-clean-whitespace/0001/cmd Command: mlr --icsv --ojson cat test/input/clean-whitespace.csv actualStdout [854]: [ { "n": 1, "a": "xy", "b ": 2, " c": 3 }, { "n": 2, "a": "xy ", "b ": 2, " c": 3 }, { "n": 3, "a": "xy ", "b ": 2, " c": 3 }, { "n": 4, "a": "xy ", "b ": 2, " c": 3 }, { "n": 5, "a": "xy", "b ": 2, " c": 3 }, { "n": 6, "a": " xy", "b ": 2, " c": 3 }, { "n": 7, "a": " xy", "b ": 2, " c": 3 }, { "n": 8, "a": " xy", "b ": 2, " c": 3 }, { "n": 9, "a": "xy", "b ": 2, " c": 3 }, { "n": 10, "a": " xy ", "b ": 2, " c": 3 }, { "n": 11, "a": " xy ", "b ": 2, " c": 3 }, { "n": 12, "a": " xy ", "b ": 2, " c": 3 }, { "n": 13, "a": "", "b ": 2, " c": 3 }, { "n": 14, "a": " ", "b ": 2, " c": 3 }, { "n": 15, "a": " ", "b ": 2, " c": 3 }, { "n": 16, "a": " ", "b ": 2, " c": 3 } ] expectedStdout [854]: [ { "n": 1, "a": "xy", "b ": 2, " c": 3 }, { "n": 2, "a": "xy ", "b ": 2, " c": 3 }, { "n": 3, "a": "xy ", "b ": 2, " c": 3 }, { "n": 4, "a": "xy ", "b ": 2, " c": 3 }, { "n": 5, "a": "xy", "b ": 2, " c": 3 }, { "n": 6, "a": " xy", "b ": 2, " c": 3 }, { "n": 7, "a": " xy", "b ": 2, " c": 3 }, { "n": 8, "a": " xy", "b ": 2, " c": 3 }, { "n": 9, "a": "xy", "b ": 2, " c": 3 }, { "n": 10, "a": " xy ", "b ": 2, " c": 3 }, { "n": 11, "a": " xy ", "b ": 2, " c": 3 }, { "n": 12, "a": " xy ", "b ": 2, " c": 3 }, { "n": 13, "a": "", "b ": 2, " c": 3 }, { "n": 14, "a": " ", "b ": 2, " c": 3 }, { "n": 15, "a": " ", "b ": 2, " c": 3 }, { "n": 16, "a": " ", "b ": 2, " c": 3 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-clean-whitespace/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-clean-whitespace/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-clean-whitespace/0002/cmd Command: mlr --icsv --ojson put '$a = lstrip($a)' test/input/clean-whitespace.csv actualStdout [830]: [ { "n": 1, "a": "xy", "b ": 2, " c": 3 }, { "n": 2, "a": "xy ", "b ": 2, " c": 3 }, { "n": 3, "a": "xy ", "b ": 2, " c": 3 }, { "n": 4, "a": "xy ", "b ": 2, " c": 3 }, { "n": 5, "a": "xy", "b ": 2, " c": 3 }, { "n": 6, "a": "xy", "b ": 2, " c": 3 }, { "n": 7, "a": "xy", "b ": 2, " c": 3 }, { "n": 8, "a": "xy", "b ": 2, " c": 3 }, { "n": 9, "a": "xy", "b ": 2, " c": 3 }, { "n": 10, "a": "xy ", "b ": 2, " c": 3 }, { "n": 11, "a": "xy ", "b ": 2, " c": 3 }, { "n": 12, "a": "xy ", "b ": 2, " c": 3 }, { "n": 13, "a": "", "b ": 2, " c": 3 }, { "n": 14, "a": "", "b ": 2, " c": 3 }, { "n": 15, "a": "", "b ": 2, " c": 3 }, { "n": 16, "a": "", "b ": 2, " c": 3 } ] expectedStdout [830]: [ { "n": 1, "a": "xy", "b ": 2, " c": 3 }, { "n": 2, "a": "xy ", "b ": 2, " c": 3 }, { "n": 3, "a": "xy ", "b ": 2, " c": 3 }, { "n": 4, "a": "xy ", "b ": 2, " c": 3 }, { "n": 5, "a": "xy", "b ": 2, " c": 3 }, { "n": 6, "a": "xy", "b ": 2, " c": 3 }, { "n": 7, "a": "xy", "b ": 2, " c": 3 }, { "n": 8, "a": "xy", "b ": 2, " c": 3 }, { "n": 9, "a": "xy", "b ": 2, " c": 3 }, { "n": 10, "a": "xy ", "b ": 2, " c": 3 }, { "n": 11, "a": "xy ", "b ": 2, " c": 3 }, { "n": 12, "a": "xy ", "b ": 2, " c": 3 }, { "n": 13, "a": "", "b ": 2, " c": 3 }, { "n": 14, "a": "", "b ": 2, " c": 3 }, { "n": 15, "a": "", "b ": 2, " c": 3 }, { "n": 16, "a": "", "b ": 2, " c": 3 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-clean-whitespace/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-clean-whitespace/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-clean-whitespace/0003/cmd Command: mlr --icsv --ojson put '$a = rstrip($a)' test/input/clean-whitespace.csv actualStdout [830]: [ { "n": 1, "a": "xy", "b ": 2, " c": 3 }, { "n": 2, "a": "xy", "b ": 2, " c": 3 }, { "n": 3, "a": "xy", "b ": 2, " c": 3 }, { "n": 4, "a": "xy", "b ": 2, " c": 3 }, { "n": 5, "a": "xy", "b ": 2, " c": 3 }, { "n": 6, "a": " xy", "b ": 2, " c": 3 }, { "n": 7, "a": " xy", "b ": 2, " c": 3 }, { "n": 8, "a": " xy", "b ": 2, " c": 3 }, { "n": 9, "a": "xy", "b ": 2, " c": 3 }, { "n": 10, "a": " xy", "b ": 2, " c": 3 }, { "n": 11, "a": " xy", "b ": 2, " c": 3 }, { "n": 12, "a": " xy", "b ": 2, " c": 3 }, { "n": 13, "a": "", "b ": 2, " c": 3 }, { "n": 14, "a": "", "b ": 2, " c": 3 }, { "n": 15, "a": "", "b ": 2, " c": 3 }, { "n": 16, "a": "", "b ": 2, " c": 3 } ] expectedStdout [830]: [ { "n": 1, "a": "xy", "b ": 2, " c": 3 }, { "n": 2, "a": "xy", "b ": 2, " c": 3 }, { "n": 3, "a": "xy", "b ": 2, " c": 3 }, { "n": 4, "a": "xy", "b ": 2, " c": 3 }, { "n": 5, "a": "xy", "b ": 2, " c": 3 }, { "n": 6, "a": " xy", "b ": 2, " c": 3 }, { "n": 7, "a": " xy", "b ": 2, " c": 3 }, { "n": 8, "a": " xy", "b ": 2, " c": 3 }, { "n": 9, "a": "xy", "b ": 2, " c": 3 }, { "n": 10, "a": " xy", "b ": 2, " c": 3 }, { "n": 11, "a": " xy", "b ": 2, " c": 3 }, { "n": 12, "a": " xy", "b ": 2, " c": 3 }, { "n": 13, "a": "", "b ": 2, " c": 3 }, { "n": 14, "a": "", "b ": 2, " c": 3 }, { "n": 15, "a": "", "b ": 2, " c": 3 }, { "n": 16, "a": "", "b ": 2, " c": 3 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-clean-whitespace/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-clean-whitespace/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-clean-whitespace/0004/cmd Command: mlr --icsv --ojson put '$a = strip($a)' test/input/clean-whitespace.csv actualStdout [818]: [ { "n": 1, "a": "xy", "b ": 2, " c": 3 }, { "n": 2, "a": "xy", "b ": 2, " c": 3 }, { "n": 3, "a": "xy", "b ": 2, " c": 3 }, { "n": 4, "a": "xy", "b ": 2, " c": 3 }, { "n": 5, "a": "xy", "b ": 2, " c": 3 }, { "n": 6, "a": "xy", "b ": 2, " c": 3 }, { "n": 7, "a": "xy", "b ": 2, " c": 3 }, { "n": 8, "a": "xy", "b ": 2, " c": 3 }, { "n": 9, "a": "xy", "b ": 2, " c": 3 }, { "n": 10, "a": "xy", "b ": 2, " c": 3 }, { "n": 11, "a": "xy", "b ": 2, " c": 3 }, { "n": 12, "a": "xy", "b ": 2, " c": 3 }, { "n": 13, "a": "", "b ": 2, " c": 3 }, { "n": 14, "a": "", "b ": 2, " c": 3 }, { "n": 15, "a": "", "b ": 2, " c": 3 }, { "n": 16, "a": "", "b ": 2, " c": 3 } ] expectedStdout [818]: [ { "n": 1, "a": "xy", "b ": 2, " c": 3 }, { "n": 2, "a": "xy", "b ": 2, " c": 3 }, { "n": 3, "a": "xy", "b ": 2, " c": 3 }, { "n": 4, "a": "xy", "b ": 2, " c": 3 }, { "n": 5, "a": "xy", "b ": 2, " c": 3 }, { "n": 6, "a": "xy", "b ": 2, " c": 3 }, { "n": 7, "a": "xy", "b ": 2, " c": 3 }, { "n": 8, "a": "xy", "b ": 2, " c": 3 }, { "n": 9, "a": "xy", "b ": 2, " c": 3 }, { "n": 10, "a": "xy", "b ": 2, " c": 3 }, { "n": 11, "a": "xy", "b ": 2, " c": 3 }, { "n": 12, "a": "xy", "b ": 2, " c": 3 }, { "n": 13, "a": "", "b ": 2, " c": 3 }, { "n": 14, "a": "", "b ": 2, " c": 3 }, { "n": 15, "a": "", "b ": 2, " c": 3 }, { "n": 16, "a": "", "b ": 2, " c": 3 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-clean-whitespace/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-clean-whitespace/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-clean-whitespace/0005/cmd Command: mlr --icsv --ojson put '$a = collapse_whitespace($a)' test/input/clean-whitespace.csv actualStdout [833]: [ { "n": 1, "a": "xy", "b ": 2, " c": 3 }, { "n": 2, "a": "xy ", "b ": 2, " c": 3 }, { "n": 3, "a": "xy ", "b ": 2, " c": 3 }, { "n": 4, "a": "xy ", "b ": 2, " c": 3 }, { "n": 5, "a": "xy", "b ": 2, " c": 3 }, { "n": 6, "a": " xy", "b ": 2, " c": 3 }, { "n": 7, "a": " xy", "b ": 2, " c": 3 }, { "n": 8, "a": " xy", "b ": 2, " c": 3 }, { "n": 9, "a": "xy", "b ": 2, " c": 3 }, { "n": 10, "a": " xy ", "b ": 2, " c": 3 }, { "n": 11, "a": " xy ", "b ": 2, " c": 3 }, { "n": 12, "a": " xy ", "b ": 2, " c": 3 }, { "n": 13, "a": "", "b ": 2, " c": 3 }, { "n": 14, "a": " ", "b ": 2, " c": 3 }, { "n": 15, "a": " ", "b ": 2, " c": 3 }, { "n": 16, "a": " ", "b ": 2, " c": 3 } ] expectedStdout [833]: [ { "n": 1, "a": "xy", "b ": 2, " c": 3 }, { "n": 2, "a": "xy ", "b ": 2, " c": 3 }, { "n": 3, "a": "xy ", "b ": 2, " c": 3 }, { "n": 4, "a": "xy ", "b ": 2, " c": 3 }, { "n": 5, "a": "xy", "b ": 2, " c": 3 }, { "n": 6, "a": " xy", "b ": 2, " c": 3 }, { "n": 7, "a": " xy", "b ": 2, " c": 3 }, { "n": 8, "a": " xy", "b ": 2, " c": 3 }, { "n": 9, "a": "xy", "b ": 2, " c": 3 }, { "n": 10, "a": " xy ", "b ": 2, " c": 3 }, { "n": 11, "a": " xy ", "b ": 2, " c": 3 }, { "n": 12, "a": " xy ", "b ": 2, " c": 3 }, { "n": 13, "a": "", "b ": 2, " c": 3 }, { "n": 14, "a": " ", "b ": 2, " c": 3 }, { "n": 15, "a": " ", "b ": 2, " c": 3 }, { "n": 16, "a": " ", "b ": 2, " c": 3 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-clean-whitespace/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-clean-whitespace/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-clean-whitespace/0006/cmd Command: mlr --icsv --ojson put '$a = clean_whitespace($a)' test/input/clean-whitespace.csv actualStdout [818]: [ { "n": 1, "a": "xy", "b ": 2, " c": 3 }, { "n": 2, "a": "xy", "b ": 2, " c": 3 }, { "n": 3, "a": "xy", "b ": 2, " c": 3 }, { "n": 4, "a": "xy", "b ": 2, " c": 3 }, { "n": 5, "a": "xy", "b ": 2, " c": 3 }, { "n": 6, "a": "xy", "b ": 2, " c": 3 }, { "n": 7, "a": "xy", "b ": 2, " c": 3 }, { "n": 8, "a": "xy", "b ": 2, " c": 3 }, { "n": 9, "a": "xy", "b ": 2, " c": 3 }, { "n": 10, "a": "xy", "b ": 2, " c": 3 }, { "n": 11, "a": "xy", "b ": 2, " c": 3 }, { "n": 12, "a": "xy", "b ": 2, " c": 3 }, { "n": 13, "a": "", "b ": 2, " c": 3 }, { "n": 14, "a": "", "b ": 2, " c": 3 }, { "n": 15, "a": "", "b ": 2, " c": 3 }, { "n": 16, "a": "", "b ": 2, " c": 3 } ] expectedStdout [818]: [ { "n": 1, "a": "xy", "b ": 2, " c": 3 }, { "n": 2, "a": "xy", "b ": 2, " c": 3 }, { "n": 3, "a": "xy", "b ": 2, " c": 3 }, { "n": 4, "a": "xy", "b ": 2, " c": 3 }, { "n": 5, "a": "xy", "b ": 2, " c": 3 }, { "n": 6, "a": "xy", "b ": 2, " c": 3 }, { "n": 7, "a": "xy", "b ": 2, " c": 3 }, { "n": 8, "a": "xy", "b ": 2, " c": 3 }, { "n": 9, "a": "xy", "b ": 2, " c": 3 }, { "n": 10, "a": "xy", "b ": 2, " c": 3 }, { "n": 11, "a": "xy", "b ": 2, " c": 3 }, { "n": 12, "a": "xy", "b ": 2, " c": 3 }, { "n": 13, "a": "", "b ": 2, " c": 3 }, { "n": 14, "a": "", "b ": 2, " c": 3 }, { "n": 15, "a": "", "b ": 2, " c": 3 }, { "n": 16, "a": "", "b ": 2, " c": 3 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-clean-whitespace/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-clean-whitespace/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-clean-whitespace/0007/cmd Command: mlr --icsv --ojson clean-whitespace -k test/input/clean-whitespace.csv actualStdout [790]: [ { "n": 1, "a": "xy", "b": 2, "c": 3 }, { "n": 2, "a": "xy ", "b": 2, "c": 3 }, { "n": 3, "a": "xy ", "b": 2, "c": 3 }, { "n": 4, "a": "xy ", "b": 2, "c": 3 }, { "n": 5, "a": "xy", "b": 2, "c": 3 }, { "n": 6, "a": " xy", "b": 2, "c": 3 }, { "n": 7, "a": " xy", "b": 2, "c": 3 }, { "n": 8, "a": " xy", "b": 2, "c": 3 }, { "n": 9, "a": "xy", "b": 2, "c": 3 }, { "n": 10, "a": " xy ", "b": 2, "c": 3 }, { "n": 11, "a": " xy ", "b": 2, "c": 3 }, { "n": 12, "a": " xy ", "b": 2, "c": 3 }, { "n": 13, "a": "", "b": 2, "c": 3 }, { "n": 14, "a": " ", "b": 2, "c": 3 }, { "n": 15, "a": " ", "b": 2, "c": 3 }, { "n": 16, "a": " ", "b": 2, "c": 3 } ] expectedStdout [790]: [ { "n": 1, "a": "xy", "b": 2, "c": 3 }, { "n": 2, "a": "xy ", "b": 2, "c": 3 }, { "n": 3, "a": "xy ", "b": 2, "c": 3 }, { "n": 4, "a": "xy ", "b": 2, "c": 3 }, { "n": 5, "a": "xy", "b": 2, "c": 3 }, { "n": 6, "a": " xy", "b": 2, "c": 3 }, { "n": 7, "a": " xy", "b": 2, "c": 3 }, { "n": 8, "a": " xy", "b": 2, "c": 3 }, { "n": 9, "a": "xy", "b": 2, "c": 3 }, { "n": 10, "a": " xy ", "b": 2, "c": 3 }, { "n": 11, "a": " xy ", "b": 2, "c": 3 }, { "n": 12, "a": " xy ", "b": 2, "c": 3 }, { "n": 13, "a": "", "b": 2, "c": 3 }, { "n": 14, "a": " ", "b": 2, "c": 3 }, { "n": 15, "a": " ", "b": 2, "c": 3 }, { "n": 16, "a": " ", "b": 2, "c": 3 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-clean-whitespace/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-clean-whitespace/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-clean-whitespace/0008/cmd Command: mlr --icsv --ojson clean-whitespace -v test/input/clean-whitespace.csv actualStdout [818]: [ { "n": 1, "a": "xy", "b ": 2, " c": 3 }, { "n": 2, "a": "xy", "b ": 2, " c": 3 }, { "n": 3, "a": "xy", "b ": 2, " c": 3 }, { "n": 4, "a": "xy", "b ": 2, " c": 3 }, { "n": 5, "a": "xy", "b ": 2, " c": 3 }, { "n": 6, "a": "xy", "b ": 2, " c": 3 }, { "n": 7, "a": "xy", "b ": 2, " c": 3 }, { "n": 8, "a": "xy", "b ": 2, " c": 3 }, { "n": 9, "a": "xy", "b ": 2, " c": 3 }, { "n": 10, "a": "xy", "b ": 2, " c": 3 }, { "n": 11, "a": "xy", "b ": 2, " c": 3 }, { "n": 12, "a": "xy", "b ": 2, " c": 3 }, { "n": 13, "a": "", "b ": 2, " c": 3 }, { "n": 14, "a": "", "b ": 2, " c": 3 }, { "n": 15, "a": "", "b ": 2, " c": 3 }, { "n": 16, "a": "", "b ": 2, " c": 3 } ] expectedStdout [818]: [ { "n": 1, "a": "xy", "b ": 2, " c": 3 }, { "n": 2, "a": "xy", "b ": 2, " c": 3 }, { "n": 3, "a": "xy", "b ": 2, " c": 3 }, { "n": 4, "a": "xy", "b ": 2, " c": 3 }, { "n": 5, "a": "xy", "b ": 2, " c": 3 }, { "n": 6, "a": "xy", "b ": 2, " c": 3 }, { "n": 7, "a": "xy", "b ": 2, " c": 3 }, { "n": 8, "a": "xy", "b ": 2, " c": 3 }, { "n": 9, "a": "xy", "b ": 2, " c": 3 }, { "n": 10, "a": "xy", "b ": 2, " c": 3 }, { "n": 11, "a": "xy", "b ": 2, " c": 3 }, { "n": 12, "a": "xy", "b ": 2, " c": 3 }, { "n": 13, "a": "", "b ": 2, " c": 3 }, { "n": 14, "a": "", "b ": 2, " c": 3 }, { "n": 15, "a": "", "b ": 2, " c": 3 }, { "n": 16, "a": "", "b ": 2, " c": 3 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-clean-whitespace/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-clean-whitespace/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-clean-whitespace/0009/cmd Command: mlr --icsv --ojson clean-whitespace test/input/clean-whitespace.csv actualStdout [754]: [ { "n": 1, "a": "xy", "b": 2, "c": 3 }, { "n": 2, "a": "xy", "b": 2, "c": 3 }, { "n": 3, "a": "xy", "b": 2, "c": 3 }, { "n": 4, "a": "xy", "b": 2, "c": 3 }, { "n": 5, "a": "xy", "b": 2, "c": 3 }, { "n": 6, "a": "xy", "b": 2, "c": 3 }, { "n": 7, "a": "xy", "b": 2, "c": 3 }, { "n": 8, "a": "xy", "b": 2, "c": 3 }, { "n": 9, "a": "xy", "b": 2, "c": 3 }, { "n": 10, "a": "xy", "b": 2, "c": 3 }, { "n": 11, "a": "xy", "b": 2, "c": 3 }, { "n": 12, "a": "xy", "b": 2, "c": 3 }, { "n": 13, "a": "", "b": 2, "c": 3 }, { "n": 14, "a": "", "b": 2, "c": 3 }, { "n": 15, "a": "", "b": 2, "c": 3 }, { "n": 16, "a": "", "b": 2, "c": 3 } ] expectedStdout [754]: [ { "n": 1, "a": "xy", "b": 2, "c": 3 }, { "n": 2, "a": "xy", "b": 2, "c": 3 }, { "n": 3, "a": "xy", "b": 2, "c": 3 }, { "n": 4, "a": "xy", "b": 2, "c": 3 }, { "n": 5, "a": "xy", "b": 2, "c": 3 }, { "n": 6, "a": "xy", "b": 2, "c": 3 }, { "n": 7, "a": "xy", "b": 2, "c": 3 }, { "n": 8, "a": "xy", "b": 2, "c": 3 }, { "n": 9, "a": "xy", "b": 2, "c": 3 }, { "n": 10, "a": "xy", "b": 2, "c": 3 }, { "n": 11, "a": "xy", "b": 2, "c": 3 }, { "n": 12, "a": "xy", "b": 2, "c": 3 }, { "n": 13, "a": "", "b": 2, "c": 3 }, { "n": 14, "a": "", "b": 2, "c": 3 }, { "n": 15, "a": "", "b": 2, "c": 3 }, { "n": 16, "a": "", "b": 2, "c": 3 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-clean-whitespace/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-clean-whitespace/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-collection-equality/0001/cmd Command: mlr -n put -f test/cases/dsl-collection-equality/0001/mlr Miller DSL script: end { @eq = [1,2,3] == [1,2,3] ; print @eq} actualStdout [5]: true expectedStdout [5]: true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-collection-equality/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-collection-equality/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-collection-equality/0002/cmd Command: mlr -n put -f test/cases/dsl-collection-equality/0002/mlr Miller DSL script: end { @eq = [1,2,3] == [1,2,3,4] ; print @eq} actualStdout [6]: false expectedStdout [6]: false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-collection-equality/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-collection-equality/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-collection-equality/0003/cmd Command: mlr -n put -f test/cases/dsl-collection-equality/0003/mlr Miller DSL script: end { @eq = [1,2,3] == [1,3,3] ; print @eq} actualStdout [6]: false expectedStdout [6]: false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-collection-equality/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-collection-equality/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-collection-equality/0004/cmd Command: mlr -n put -f test/cases/dsl-collection-equality/0004/mlr Miller DSL script: end { @eq = ["a",2,3] == [1,2,3] ; print @eq} actualStdout [6]: false expectedStdout [6]: false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-collection-equality/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-collection-equality/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-collection-equality/0005/cmd Command: mlr -n put -f test/cases/dsl-collection-equality/0005/mlr Miller DSL script: end { @eq = [] == {} ; print @eq} actualStdout [6]: false expectedStdout [6]: false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-collection-equality/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-collection-equality/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-collection-equality/0006/cmd Command: mlr -n put -f test/cases/dsl-collection-equality/0006/mlr Miller DSL script: end { @eq = {} == {} ; print @eq} actualStdout [5]: true expectedStdout [5]: true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-collection-equality/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-collection-equality/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-collection-equality/0007/cmd Command: mlr -n put -f test/cases/dsl-collection-equality/0007/mlr Miller DSL script: end { @eq = {"a":1} == {"a":1} ; print @eq} actualStdout [5]: true expectedStdout [5]: true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-collection-equality/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-collection-equality/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-collection-equality/0008/cmd Command: mlr -n put -f test/cases/dsl-collection-equality/0008/mlr Miller DSL script: end { @eq = {"a":1} == {"a":2} ; print @eq} actualStdout [6]: false expectedStdout [6]: false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-collection-equality/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-collection-equality/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-collection-equality/0009/cmd Command: mlr -n put -f test/cases/dsl-collection-equality/0009/mlr Miller DSL script: end { @eq = {"a":1} == {"b":1} ; print @eq} actualStdout [6]: false expectedStdout [6]: false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-collection-equality/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-collection-equality/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-collection-equality/0010/cmd Command: mlr -n put -f test/cases/dsl-collection-equality/0010/mlr Miller DSL script: end { @eq = {"a":1,"b":2} == {"b":2} ; print @eq} actualStdout [6]: false expectedStdout [6]: false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-collection-equality/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-collection-equality/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-collection-equality/0011/cmd Command: mlr -n put -f test/cases/dsl-collection-equality/0011/mlr Miller DSL script: end { @eq = {"a":1,"b":2} == {"a":1,"b":2} ; print @eq} actualStdout [5]: true expectedStdout [5]: true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-collection-equality/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-collection-equality/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-collection-equality/0012/cmd Command: mlr -n put -f test/cases/dsl-collection-equality/0012/mlr Miller DSL script: end { @eq = {"b":2,"a":1} == {"a":1,"b":2} ; print @eq} actualStdout [5]: true expectedStdout [5]: true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-collection-equality/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-collection-equality/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-comments/0001/cmd Command: mlr --from test/input/abixy put -f ./test/cases/dsl-comments/0001/mlr Miller DSL script: $s = 1; #$t = 2; $u = 3; actualStdout [501]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,s=1,u=3 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,s=1,u=3 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,s=1,u=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,s=1,u=3 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,s=1,u=3 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,s=1,u=3 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,s=1,u=3 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,s=1,u=3 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,s=1,u=3 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,s=1,u=3 expectedStdout [501]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,s=1,u=3 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,s=1,u=3 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,s=1,u=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,s=1,u=3 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,s=1,u=3 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,s=1,u=3 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,s=1,u=3 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,s=1,u=3 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,s=1,u=3 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,s=1,u=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-comments/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-comments/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-comments/0002/cmd Command: mlr --from test/input/abixy filter -f ./test/cases/dsl-comments/0002/mlr Miller DSL script: NR == 1 || #NR == 2 || NR == 3 actualStdout [84]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 expectedStdout [84]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-comments/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-comments/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-comments/0003/cmd Command: mlr --from test/input/abixy put -f ./test/cases/dsl-comments/0003/mlr Miller DSL script: $s = "here is a pound#sign"; # but this is a comment #$t = 2; $u = 3; actualStdout [691]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,s=here is a pound#sign,u=3 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,s=here is a pound#sign,u=3 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,s=here is a pound#sign,u=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,s=here is a pound#sign,u=3 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,s=here is a pound#sign,u=3 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,s=here is a pound#sign,u=3 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,s=here is a pound#sign,u=3 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,s=here is a pound#sign,u=3 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,s=here is a pound#sign,u=3 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,s=here is a pound#sign,u=3 expectedStdout [691]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,s=here is a pound#sign,u=3 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,s=here is a pound#sign,u=3 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,s=here is a pound#sign,u=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,s=here is a pound#sign,u=3 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,s=here is a pound#sign,u=3 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,s=here is a pound#sign,u=3 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,s=here is a pound#sign,u=3 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,s=here is a pound#sign,u=3 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,s=here is a pound#sign,u=3 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,s=here is a pound#sign,u=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-comments/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-comments/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-concat/0001/cmd Command: mlr -n put -f test/cases/dsl-concat/0001/mlr Miller DSL script: end { print concat() } actualStdout [3]: [] expectedStdout [3]: [] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-concat/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-concat/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-concat/0002/cmd Command: mlr -n put -f test/cases/dsl-concat/0002/mlr Miller DSL script: end { print concat(1) } actualStdout [4]: [1] expectedStdout [4]: [1] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-concat/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-concat/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-concat/0003/cmd Command: mlr -n put -f test/cases/dsl-concat/0003/mlr Miller DSL script: end { print concat([]) } actualStdout [3]: [] expectedStdout [3]: [] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-concat/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-concat/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-concat/0004/cmd Command: mlr -n put -f test/cases/dsl-concat/0004/mlr Miller DSL script: end { print concat([1,2]) } actualStdout [7]: [1, 2] expectedStdout [7]: [1, 2] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-concat/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-concat/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-concat/0005/cmd Command: mlr -n put -f test/cases/dsl-concat/0005/mlr Miller DSL script: end { print concat(1,2,3) } actualStdout [10]: [1, 2, 3] expectedStdout [10]: [1, 2, 3] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-concat/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-concat/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-concat/0006/cmd Command: mlr -n put -f test/cases/dsl-concat/0006/mlr Miller DSL script: end { print concat([1,2],3) } actualStdout [10]: [1, 2, 3] expectedStdout [10]: [1, 2, 3] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-concat/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-concat/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-concat/0007/cmd Command: mlr -n put -f test/cases/dsl-concat/0007/mlr Miller DSL script: end { print concat([1,2],[3]) } actualStdout [10]: [1, 2, 3] expectedStdout [10]: [1, 2, 3] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-concat/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-concat/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-concat/0008/cmd Command: mlr -n put -f test/cases/dsl-concat/0008/mlr Miller DSL script: end { print concat([1,2], [ [3,4] ], {"a":5, "b":6}) } actualStdout [55]: [ 1, 2, [3, 4], { "a": 5, "b": 6 } ] expectedStdout [55]: [ 1, 2, [3, 4], { "a": 5, "b": 6 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-concat/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-concat/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0001/cmd Command: mlr put -v 'begin{begin{@x=1}}' actualStdout [293]: DSL EXPRESSION: begin{begin{@x=1}} AST: * statement block * begin block * statement block * begin block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" expectedStdout [293]: DSL EXPRESSION: begin{begin{@x=1}} AST: * statement block * begin block * statement block * begin block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" actualStderr [44]: mlr: begin blocks can only be at top level. expectedStderr [44]: mlr: begin blocks can only be at top level. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0002/cmd Command: mlr put -v 'true{begin{@x=1}}' actualStdout [321]: DSL EXPRESSION: true{begin{@x=1}} AST: * statement block * cond block * bool literal "true" * statement block * begin block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" expectedStdout [321]: DSL EXPRESSION: true{begin{@x=1}} AST: * statement block * cond block * bool literal "true" * statement block * begin block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" actualStderr [44]: mlr: begin blocks can only be at top level. expectedStderr [44]: mlr: begin blocks can only be at top level. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0003/cmd Command: mlr put -v 'end{end{@x=1}}' actualStdout [285]: DSL EXPRESSION: end{end{@x=1}} AST: * statement block * end block * statement block * end block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" expectedStdout [285]: DSL EXPRESSION: end{end{@x=1}} AST: * statement block * end block * statement block * end block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" actualStderr [42]: mlr: end blocks can only be at top level. expectedStderr [42]: mlr: end blocks can only be at top level. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0004/cmd Command: mlr put -v 'true{end{@x=1}}' actualStdout [317]: DSL EXPRESSION: true{end{@x=1}} AST: * statement block * cond block * bool literal "true" * statement block * end block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" expectedStdout [317]: DSL EXPRESSION: true{end{@x=1}} AST: * statement block * cond block * bool literal "true" * statement block * end block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" actualStderr [42]: mlr: end blocks can only be at top level. expectedStderr [42]: mlr: end blocks can only be at top level. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0005/cmd Command: mlr put -v 'begin{$x=1}' actualStdout [201]: DSL EXPRESSION: begin{$x=1} AST: * statement block * begin block * statement block * assignment "=" * direct field value "x" * int literal "1" expectedStdout [201]: DSL EXPRESSION: begin{$x=1} AST: * statement block * begin block * statement block * assignment "=" * direct field value "x" * int literal "1" actualStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. expectedStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0006/cmd Command: mlr put -v 'begin{@x=$y}' actualStdout [210]: DSL EXPRESSION: begin{@x=$y} AST: * statement block * begin block * statement block * assignment "=" * direct oosvar value "x" * direct field value "y" expectedStdout [210]: DSL EXPRESSION: begin{@x=$y} AST: * statement block * begin block * statement block * assignment "=" * direct oosvar value "x" * direct field value "y" actualStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. expectedStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0007/cmd Command: mlr put -v 'end{$x=1}' actualStdout [197]: DSL EXPRESSION: end{$x=1} AST: * statement block * end block * statement block * assignment "=" * direct field value "x" * int literal "1" expectedStdout [197]: DSL EXPRESSION: end{$x=1} AST: * statement block * end block * statement block * assignment "=" * direct field value "x" * int literal "1" actualStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. expectedStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0008/cmd Command: mlr put -v 'end{@x=$y}' actualStdout [206]: DSL EXPRESSION: end{@x=$y} AST: * statement block * end block * statement block * assignment "=" * direct oosvar value "x" * direct field value "y" expectedStdout [206]: DSL EXPRESSION: end{@x=$y} AST: * statement block * end block * statement block * assignment "=" * direct oosvar value "x" * direct field value "y" actualStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. expectedStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0009/cmd Command: mlr put -v 'begin{@v=$*}' actualStdout [204]: DSL EXPRESSION: begin{@v=$*} AST: * statement block * begin block * statement block * assignment "=" * direct oosvar value "v" * full record "$*" expectedStdout [204]: DSL EXPRESSION: begin{@v=$*} AST: * statement block * begin block * statement block * assignment "=" * direct oosvar value "v" * full record "$*" actualStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. expectedStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0010/cmd Command: mlr put -v 'end{$*=@v}' actualStdout [200]: DSL EXPRESSION: end{$*=@v} AST: * statement block * end block * statement block * assignment "=" * full record "$*" * direct oosvar value "v" expectedStdout [200]: DSL EXPRESSION: end{$*=@v} AST: * statement block * end block * statement block * assignment "=" * full record "$*" * direct oosvar value "v" actualStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. expectedStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0011/cmd Command: mlr put -v 'begin{unset $x}' actualStdout [170]: DSL EXPRESSION: begin{unset $x} AST: * statement block * begin block * statement block * unset "unset" * direct field value "x" expectedStdout [170]: DSL EXPRESSION: begin{unset $x} AST: * statement block * begin block * statement block * unset "unset" * direct field value "x" actualStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. expectedStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0012/cmd Command: mlr put -v 'end{unset $x}' actualStdout [166]: DSL EXPRESSION: end{unset $x} AST: * statement block * end block * statement block * unset "unset" * direct field value "x" expectedStdout [166]: DSL EXPRESSION: end{unset $x} AST: * statement block * end block * statement block * unset "unset" * direct field value "x" actualStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. expectedStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0013/cmd Command: mlr put -v 'begin{unset $*}' actualStdout [164]: DSL EXPRESSION: begin{unset $*} AST: * statement block * begin block * statement block * unset "unset" * full record "$*" expectedStdout [164]: DSL EXPRESSION: begin{unset $*} AST: * statement block * begin block * statement block * unset "unset" * full record "$*" actualStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. expectedStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0014/cmd Command: mlr put -v 'end{unset $*}' actualStdout [160]: DSL EXPRESSION: end{unset $*} AST: * statement block * end block * statement block * unset "unset" * full record "$*" expectedStdout [160]: DSL EXPRESSION: end{unset $*} AST: * statement block * end block * statement block * unset "unset" * full record "$*" actualStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. expectedStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0015/cmd Command: mlr put -v 'break' actualStdout [67]: DSL EXPRESSION: break AST: * statement block * break "break" expectedStdout [67]: DSL EXPRESSION: break AST: * statement block * break "break" actualStderr [64]: mlr: break statements are only valid within for/do/while loops. expectedStderr [64]: mlr: break statements are only valid within for/do/while loops. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0015/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0015/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0016/cmd Command: mlr put -v 'continue' actualStdout [76]: DSL EXPRESSION: continue AST: * statement block * continue "continue" expectedStdout [76]: DSL EXPRESSION: continue AST: * statement block * continue "continue" actualStderr [64]: mlr: break statements are only valid within for/do/while loops. expectedStderr [64]: mlr: break statements are only valid within for/do/while loops. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0016/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0016/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0017/cmd Command: mlr filter -v 'break' actualStdout [67]: DSL EXPRESSION: break AST: * statement block * break "break" expectedStdout [67]: DSL EXPRESSION: break AST: * statement block * break "break" actualStderr [64]: mlr: break statements are only valid within for/do/while loops. expectedStderr [64]: mlr: break statements are only valid within for/do/while loops. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0017/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0017/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0018/cmd Command: mlr filter -v 'continue' actualStdout [76]: DSL EXPRESSION: continue AST: * statement block * continue "continue" expectedStdout [76]: DSL EXPRESSION: continue AST: * statement block * continue "continue" actualStderr [64]: mlr: break statements are only valid within for/do/while loops. expectedStderr [64]: mlr: break statements are only valid within for/do/while loops. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0018/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0018/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0019/cmd Command: mlr --from test/input/abixy filter -f ./test/cases/dsl-context-specific-validation/0019/mlr Miller DSL script: begin { @avoid = 3 } NR != @avoid actualStdout [379]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [379]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-context-specific-validation/0019/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0019/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0020/cmd Command: mlr --from test/input/abixy filter -x -f ./test/cases/dsl-context-specific-validation/0020/mlr Miller DSL script: begin { @avoid = 3 } NR != @avoid actualStdout [42]: a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 expectedStdout [42]: a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-context-specific-validation/0020/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0020/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0021/cmd Command: mlr --from test/input/abixy filter -f ./test/cases/dsl-context-specific-validation/0021/mlr Miller DSL script: func f(n) { return n - 1 } f(NR) == 5 actualStdout [42]: a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 expectedStdout [42]: a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-context-specific-validation/0021/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0021/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0022/cmd Command: mlr --from test/input/abixy filter -f ./test/cases/dsl-context-specific-validation/0022/mlr Miller DSL script: subr s(n) { print "NR is ".n } call s(NR); false actualStdout [81]: NR is 1 NR is 2 NR is 3 NR is 4 NR is 5 NR is 6 NR is 7 NR is 8 NR is 9 NR is 10 expectedStdout [81]: NR is 1 NR is 2 NR is 3 NR is 4 NR is 5 NR is 6 NR is 7 NR is 8 NR is 9 NR is 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-context-specific-validation/0022/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0022/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0023/cmd Command: mlr --from test/input/abixy filter -f ./test/cases/dsl-context-specific-validation/0023/mlr Miller DSL script: int a = 5; int b = 7; a <= NR && NR <= b actualStdout [126]: a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 expectedStdout [126]: a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-context-specific-validation/0023/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0023/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0024/cmd Command: mlr --from test/input/abixy filter 'filter false' actualStdout [0]: expectedStdout [0]: actualStderr [68]: mlr: filter expressions must not also contain the "filter" keyword. expectedStderr [68]: mlr: filter expressions must not also contain the "filter" keyword. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0024/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0024/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-specific-validation/0025/cmd Command: mlr --from test/input/abixy filter 'filter false; true' actualStdout [0]: expectedStdout [0]: actualStderr [68]: mlr: filter expressions must not also contain the "filter" keyword. expectedStderr [68]: mlr: filter expressions must not also contain the "filter" keyword. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-specific-validation/0025/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-specific-validation/0025/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-validation/0001/cmd Command: mlr -n put 'begin{begin{}}' actualStdout [0]: expectedStdout [0]: actualStderr [44]: mlr: begin blocks can only be at top level. expectedStderr [44]: mlr: begin blocks can only be at top level. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-validation/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-validation/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-validation/0002/cmd Command: mlr -n put 'begin{end{}}' actualStdout [0]: expectedStdout [0]: actualStderr [42]: mlr: end blocks can only be at top level. expectedStderr [42]: mlr: end blocks can only be at top level. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-validation/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-validation/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-validation/0003/cmd Command: mlr -n put 'end{begin{}}' actualStdout [0]: expectedStdout [0]: actualStderr [44]: mlr: begin blocks can only be at top level. expectedStderr [44]: mlr: begin blocks can only be at top level. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-validation/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-validation/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-validation/0004/cmd Command: mlr -n put 'end{end{}}' actualStdout [0]: expectedStdout [0]: actualStderr [42]: mlr: end blocks can only be at top level. expectedStderr [42]: mlr: end blocks can only be at top level. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-validation/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-validation/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-validation/0005/cmd Command: mlr -n put 'begin { func f(x) { return 2*x} }' actualStdout [0]: expectedStdout [0]: actualStderr [43]: mlr: func blocks can only be at top level. expectedStderr [43]: mlr: func blocks can only be at top level. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-validation/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-validation/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-validation/0006/cmd Command: mlr -n put 'begin { subr f(x) { return 2*x} }' actualStdout [0]: expectedStdout [0]: actualStderr [43]: mlr: subr blocks can only be at top level. expectedStderr [43]: mlr: subr blocks can only be at top level. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-validation/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-validation/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-validation/0007/cmd Command: mlr -n put 'begin { emit $x }' actualStdout [0]: expectedStdout [0]: actualStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. expectedStderr [63]: mlr: begin/end blocks cannot refer to records via $x, $*, etc. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-validation/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-validation/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-validation/0008/cmd Command: mlr -n put 'return 3' actualStdout [0]: expectedStdout [0]: actualStderr [63]: mlr: return statements are only valid within func/subr blocks. expectedStderr [63]: mlr: return statements are only valid within func/subr blocks. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-validation/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-validation/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-validation/0009/cmd Command: mlr -n put 'break' actualStdout [0]: expectedStdout [0]: actualStderr [64]: mlr: break statements are only valid within for/do/while loops. expectedStderr [64]: mlr: break statements are only valid within for/do/while loops. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-validation/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-validation/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-validation/0010/cmd Command: mlr -n put 'continue' actualStdout [0]: expectedStdout [0]: actualStderr [64]: mlr: break statements are only valid within for/do/while loops. expectedStderr [64]: mlr: break statements are only valid within for/do/while loops. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-validation/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-validation/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-validation/0011/cmd Command: mlr -n put 'func f() { break }' actualStdout [0]: expectedStdout [0]: actualStderr [64]: mlr: break statements are only valid within for/do/while loops. expectedStderr [64]: mlr: break statements are only valid within for/do/while loops. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-validation/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-validation/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-validation/0012/cmd Command: mlr -n put 'func f() { continue }' actualStdout [0]: expectedStdout [0]: actualStderr [64]: mlr: break statements are only valid within for/do/while loops. expectedStderr [64]: mlr: break statements are only valid within for/do/while loops. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-context-validation/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-validation/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-validation/0013/cmd Command: mlr -n put -v 'true' actualStdout [95]: DSL EXPRESSION: true AST: * statement block * bare boolean * bool literal "true" expectedStdout [95]: DSL EXPRESSION: true AST: * statement block * bare boolean * bool literal "true" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-context-validation/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-validation/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-context-validation/0014/cmd Command: mlr -n put -v 'begin{true}' actualStdout [162]: DSL EXPRESSION: begin{true} AST: * statement block * begin block * statement block * bare boolean * bool literal "true" expectedStdout [162]: DSL EXPRESSION: begin{true} AST: * statement block * begin block * statement block * bare boolean * bool literal "true" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-context-validation/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-context-validation/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-depth/0001/cmd Command: mlr --opprint --from test/input/s.dkvp put -f ./test/cases/dsl-depth/0001/mlr Miller DSL script: $dx = depth($x); $dn = depth($nonesuch); $da1 = depth([1,2,3]); $da2 = depth([1,[4,5,6],3]); $da3 = depth([1,{"s":4,"t":[7,8,9],"u":6},3]); $dm1 = depth({"s":1,"t":2,"u":3}); $dm2 = depth({"s":1,"t":[4,5,6],"u":3}); $dm3 = depth({"s":1,"t":[4,$*,6],"u":3}); actualStdout [287]: a b i x y dx da1 da2 da3 dm1 dm2 dm3 pan pan 1 0.34679014 0.72680286 0 1 2 3 1 2 3 eks pan 2 0.75867996 0.52215111 0 1 2 3 1 2 3 wye wye 3 0.20460331 0.33831853 0 1 2 3 1 2 3 eks wye 4 0.38139939 0.13418874 0 1 2 3 1 2 3 expectedStdout [287]: a b i x y dx da1 da2 da3 dm1 dm2 dm3 pan pan 1 0.34679014 0.72680286 0 1 2 3 1 2 3 eks pan 2 0.75867996 0.52215111 0 1 2 3 1 2 3 wye wye 3 0.20460331 0.33831853 0 1 2 3 1 2 3 eks wye 4 0.38139939 0.13418874 0 1 2 3 1 2 3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-depth/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-depth/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-do-while/0001/cmd Command: mlr --from test/input/s.dkvp put -f test/cases/dsl-do-while/0001/mlr Miller DSL script: $z = 0; while ($z < $i) {$z += 1} actualStdout [184]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=2 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,z=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,z=4 expectedStdout [184]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=2 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,z=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,z=4 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-do-while/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-do-while/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-do-while/0002/cmd Command: mlr --from test/input/s.dkvp put -f test/cases/dsl-do-while/0002/mlr Miller DSL script: $z = 0; do {$z += 1} while ($z < $i) actualStdout [184]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=2 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,z=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,z=4 expectedStdout [184]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=2 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,z=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,z=4 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-do-while/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-do-while/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-do-while/0003/cmd Command: mlr --from test/input/s.dkvp put -f test/cases/dsl-do-while/0003/mlr Miller DSL script: $z = 10; while ($z < $i) {$z += 1} actualStdout [188]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=10 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=10 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,z=10 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,z=10 expectedStdout [188]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=10 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=10 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,z=10 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,z=10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-do-while/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-do-while/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-do-while/0004/cmd Command: mlr --from test/input/s.dkvp put -f test/cases/dsl-do-while/0004/mlr Miller DSL script: $z = 10; do {$z += 1} while ($z < $i) actualStdout [188]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=11 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=11 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,z=11 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,z=11 expectedStdout [188]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=11 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=11 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,z=11 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,z=11 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-do-while/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-do-while/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-do-while-loops/0001/cmd Command: mlr put -v -f test/cases/dsl-do-while-loops/0001/mlr test/input/abixy Miller DSL script: while($i < 5) { $i += 1} actualStdout [813]: DSL EXPRESSION: while($i < 5) { $i += 1} AST: * statement block * while loop "while" * operator "<" * direct field value "i" * int literal "5" * statement block * assignment "=" * direct field value "i" * operator "+" * direct field value "i" * int literal "1" a=pan,b=pan,i=5,x=0.34679014,y=0.72680286 a=eks,b=pan,i=5,x=0.75867996,y=0.52215111 a=wye,b=wye,i=5,x=0.20460331,y=0.33831853 a=eks,b=wye,i=5,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [813]: DSL EXPRESSION: while($i < 5) { $i += 1} AST: * statement block * while loop "while" * operator "<" * direct field value "i" * int literal "5" * statement block * assignment "=" * direct field value "i" * operator "+" * direct field value "i" * int literal "1" a=pan,b=pan,i=5,x=0.34679014,y=0.72680286 a=eks,b=pan,i=5,x=0.75867996,y=0.52215111 a=wye,b=wye,i=5,x=0.20460331,y=0.33831853 a=eks,b=wye,i=5,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-do-while-loops/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-do-while-loops/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-do-while-loops/0002/cmd Command: mlr put -v -f test/cases/dsl-do-while-loops/0002/mlr test/input/abixy Miller DSL script: do {$i += 1} while($i < 5) actualStdout [816]: DSL EXPRESSION: do {$i += 1} while($i < 5) AST: * statement block * do-while`loop "do" * statement block * assignment "=" * direct field value "i" * operator "+" * direct field value "i" * int literal "1" * operator "<" * direct field value "i" * int literal "5" a=pan,b=pan,i=5,x=0.34679014,y=0.72680286 a=eks,b=pan,i=5,x=0.75867996,y=0.52215111 a=wye,b=wye,i=5,x=0.20460331,y=0.33831853 a=eks,b=wye,i=5,x=0.38139939,y=0.13418874 a=wye,b=pan,i=6,x=0.57328892,y=0.86362447 a=zee,b=pan,i=7,x=0.52712616,y=0.49322129 a=eks,b=zee,i=8,x=0.61178406,y=0.18788492 a=zee,b=wye,i=9,x=0.59855401,y=0.97618139 a=hat,b=wye,i=10,x=0.03144188,y=0.74955076 a=pan,b=wye,i=11,x=0.50262601,y=0.95261836 expectedStdout [816]: DSL EXPRESSION: do {$i += 1} while($i < 5) AST: * statement block * do-while`loop "do" * statement block * assignment "=" * direct field value "i" * operator "+" * direct field value "i" * int literal "1" * operator "<" * direct field value "i" * int literal "5" a=pan,b=pan,i=5,x=0.34679014,y=0.72680286 a=eks,b=pan,i=5,x=0.75867996,y=0.52215111 a=wye,b=wye,i=5,x=0.20460331,y=0.33831853 a=eks,b=wye,i=5,x=0.38139939,y=0.13418874 a=wye,b=pan,i=6,x=0.57328892,y=0.86362447 a=zee,b=pan,i=7,x=0.52712616,y=0.49322129 a=eks,b=zee,i=8,x=0.61178406,y=0.18788492 a=zee,b=wye,i=9,x=0.59855401,y=0.97618139 a=hat,b=wye,i=10,x=0.03144188,y=0.74955076 a=pan,b=wye,i=11,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-do-while-loops/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-do-while-loops/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-dump-print/0001/cmd Command: mlr --from test/input/s.dkvp put -q '@sum += $x; @count += 1; dump' actualStdout [152]: { "sum": 0.34679014, "count": 1 } { "sum": 1.10547011, "count": 2 } { "sum": 1.31007341, "count": 3 } { "sum": 1.69147281, "count": 4 } expectedStdout [152]: { "sum": 0.34679014, "count": 1 } { "sum": 1.10547011, "count": 2 } { "sum": 1.31007341, "count": 3 } { "sum": 1.69147281, "count": 4 } actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-dump-print/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-dump-print/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-dump-print/0002/cmd Command: mlr --from test/input/s.dkvp put -q '@sum += $x; @count += 1; dump @sum' actualStdout [44]: 0.34679014 1.10547011 1.31007341 1.69147281 expectedStdout [44]: 0.34679014 1.10547011 1.31007341 1.69147281 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-dump-print/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-dump-print/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-dump-print/0003/cmd Command: mlr --from test/input/s.dkvp put -q '@sum += $x; @count += 1; dump @sum, @count' actualStdout [52]: 0.34679014 1 1.10547011 2 1.31007341 3 1.69147281 4 expectedStdout [52]: 0.34679014 1 1.10547011 2 1.31007341 3 1.69147281 4 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-dump-print/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-dump-print/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-dump-print/0004/cmd Command: mlr --from test/input/s.dkvp put -q '@sum += $x; @count += 1; print' actualStdout [4]: expectedStdout [4]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-dump-print/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-dump-print/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-dump-print/0005/cmd Command: mlr --from test/input/s.dkvp put -q '@sum += $x; @count += 1; print @sum' actualStdout [44]: 0.34679014 1.10547011 1.31007341 1.69147281 expectedStdout [44]: 0.34679014 1.10547011 1.31007341 1.69147281 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-dump-print/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-dump-print/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-dump-print/0006/cmd Command: mlr --from test/input/s.dkvp put -q '@sum += $x; @count += 1; print @sum, @count' actualStdout [52]: 0.34679014 1 1.10547011 2 1.31007341 3 1.69147281 4 expectedStdout [52]: 0.34679014 1 1.10547011 2 1.31007341 3 1.69147281 4 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-dump-print/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-dump-print/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-dump-print/0007/cmd Command: mlr --from test/input/s.dkvp put -q 'print' actualStdout [4]: expectedStdout [4]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-dump-print/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-dump-print/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-dump-print/0008/cmd Command: mlr --from test/input/s.dkvp put -q 'print $x' actualStdout [44]: 0.34679014 0.75867996 0.20460331 0.38139939 expectedStdout [44]: 0.34679014 0.75867996 0.20460331 0.38139939 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-dump-print/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-dump-print/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-dump-print/0009/cmd Command: mlr --from test/input/s.dkvp put -q 'print $x,$y' actualStdout [88]: 0.34679014 0.72680286 0.75867996 0.52215111 0.20460331 0.33831853 0.38139939 0.13418874 expectedStdout [88]: 0.34679014 0.72680286 0.75867996 0.52215111 0.20460331 0.33831853 0.38139939 0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-dump-print/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-dump-print/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-dump-print/0010/cmd Command: mlr --from test/input/s.dkvp put -q 'print $x,$y,$i' actualStdout [96]: 0.34679014 0.72680286 1 0.75867996 0.52215111 2 0.20460331 0.33831853 3 0.38139939 0.13418874 4 expectedStdout [96]: 0.34679014 0.72680286 1 0.75867996 0.52215111 2 0.20460331 0.33831853 3 0.38139939 0.13418874 4 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-dump-print/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-dump-print/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0001/cmd Command: mlr --from test/input/s.dkvp --oxtab put -q -f test/cases/dsl-emit/0001/mlr Miller DSL script: @sum += $i; emit {"sum": @sum} actualStdout [28]: sum 1 sum 3 sum 6 sum 10 expectedStdout [28]: sum 1 sum 3 sum 6 sum 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0002/cmd Command: mlr --from test/input/s.dkvp --oxtab put -q -f test/cases/dsl-emit/0002/mlr Miller DSL script: @sum[$a] += $i; emit {"sum": @sum} actualStdout [57]: pan 1 pan 1 eks 2 pan 1 eks 2 wye 3 pan 1 eks 6 wye 3 expectedStdout [57]: pan 1 pan 1 eks 2 pan 1 eks 2 wye 3 pan 1 eks 6 wye 3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0003/cmd Command: mlr --oxtab --from test/input/abixy put -q -f ./test/cases/dsl-emit/0003/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emitp @sumx; } actualStdout [16]: sumx 4.53629384 expectedStdout [16]: sumx 4.53629384 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0004/cmd Command: mlr --oxtab --from test/input/abixy put -q -f ./test/cases/dsl-emit/0004/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emitp @sums; } actualStdout [240]: sums.pan.pan 0.34679014 sums.pan.wye 0.50262601 sums.eks.pan 0.75867996 sums.eks.wye 0.38139939 sums.eks.zee 0.61178406 sums.wye.wye 0.20460331 sums.wye.pan 0.57328892 sums.zee.pan 0.52712616 sums.zee.wye 0.59855401 sums.hat.wye 0.03144188 expectedStdout [240]: sums.pan.pan 0.34679014 sums.pan.wye 0.50262601 sums.eks.pan 0.75867996 sums.eks.wye 0.38139939 sums.eks.zee 0.61178406 sums.wye.wye 0.20460331 sums.wye.pan 0.57328892 sums.zee.pan 0.52712616 sums.zee.wye 0.59855401 sums.hat.wye 0.03144188 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0005/cmd Command: mlr --oxtab --from test/input/abixy put -q -f ./test/cases/dsl-emit/0005/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emit @sumx; } actualStdout [16]: sumx 4.53629384 expectedStdout [16]: sumx 4.53629384 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0006/cmd Command: mlr --oxtab --from test/input/abixy put -q -f ./test/cases/dsl-emit/0006/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emit @sums; } actualStdout [154]: pan 0.34679014 wye 0.50262601 pan 0.75867996 wye 0.38139939 zee 0.61178406 wye 0.20460331 pan 0.57328892 pan 0.52712616 wye 0.59855401 wye 0.03144188 expectedStdout [154]: pan 0.34679014 wye 0.50262601 pan 0.75867996 wye 0.38139939 zee 0.61178406 wye 0.20460331 pan 0.57328892 pan 0.52712616 wye 0.59855401 wye 0.03144188 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0007/cmd Command: mlr --oxtab --from test/input/abixy put -q -f ./test/cases/dsl-emit/0007/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emitp (@sumx, @countx); } actualStdout [28]: sumx 4.53629384 countx 10 expectedStdout [28]: sumx 4.53629384 countx 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0008/cmd Command: mlr --oxtab --from test/input/abixy put -q -f ./test/cases/dsl-emit/0008/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emitp (@sums, @counts); } actualStdout [430]: sums.pan.pan 0.34679014 sums.pan.wye 0.50262601 sums.eks.pan 0.75867996 sums.eks.wye 0.38139939 sums.eks.zee 0.61178406 sums.wye.wye 0.20460331 sums.wye.pan 0.57328892 sums.zee.pan 0.52712616 sums.zee.wye 0.59855401 sums.hat.wye 0.03144188 counts.pan.pan 1 counts.pan.wye 1 counts.eks.pan 1 counts.eks.wye 1 counts.eks.zee 1 counts.wye.wye 1 counts.wye.pan 1 counts.zee.pan 1 counts.zee.wye 1 counts.hat.wye 1 expectedStdout [430]: sums.pan.pan 0.34679014 sums.pan.wye 0.50262601 sums.eks.pan 0.75867996 sums.eks.wye 0.38139939 sums.eks.zee 0.61178406 sums.wye.wye 0.20460331 sums.wye.pan 0.57328892 sums.zee.pan 0.52712616 sums.zee.wye 0.59855401 sums.hat.wye 0.03144188 counts.pan.pan 1 counts.pan.wye 1 counts.eks.pan 1 counts.eks.wye 1 counts.eks.zee 1 counts.wye.wye 1 counts.wye.pan 1 counts.zee.pan 1 counts.zee.wye 1 counts.hat.wye 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0009/cmd Command: mlr --oxtab --from test/input/abixy put -q -f ./test/cases/dsl-emit/0009/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emit (@sumx, @countx); } actualStdout [28]: sumx 4.53629384 countx 10 expectedStdout [28]: sumx 4.53629384 countx 10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0010/cmd Command: mlr --oxtab --from test/input/abixy put -q -f ./test/cases/dsl-emit/0010/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emit (@sums, @counts); } actualStdout [219]: pan 0.34679014 wye 0.50262601 pan 0.75867996 wye 0.38139939 zee 0.61178406 wye 0.20460331 pan 0.57328892 pan 0.52712616 wye 0.59855401 wye 0.03144188 pan 1 wye 1 pan 1 wye 1 zee 1 wye 1 pan 1 pan 1 wye 1 wye 1 expectedStdout [219]: pan 0.34679014 wye 0.50262601 pan 0.75867996 wye 0.38139939 zee 0.61178406 wye 0.20460331 pan 0.57328892 pan 0.52712616 wye 0.59855401 wye 0.03144188 pan 1 wye 1 pan 1 wye 1 zee 1 wye 1 pan 1 pan 1 wye 1 wye 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0011/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-emit/0011/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a] += $x; @counts[$a] += 1; end { emitp @sums, "a"; } actualStdout [84]: a sums pan 0.84941615 eks 1.75186342 wye 0.77789223 zee 1.12568017 hat 0.03144188 expectedStdout [84]: a sums pan 0.84941615 eks 1.75186342 wye 0.77789223 zee 1.12568017 hat 0.03144188 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0012/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-emit/0012/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a] += $x; @counts[$a] += 1; end { emit @sums, "a"; } actualStdout [84]: a sums pan 0.84941615 eks 1.75186342 wye 0.77789223 zee 1.12568017 hat 0.03144188 expectedStdout [84]: a sums pan 0.84941615 eks 1.75186342 wye 0.77789223 zee 1.12568017 hat 0.03144188 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0013/cmd Command: mlr --oxtab --from test/input/abixy put -q -f ./test/cases/dsl-emit/0013/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emitp @sums, "a"; } actualStdout [269]: a pan sums.pan 0.34679014 sums.wye 0.50262601 a eks sums.pan 0.75867996 sums.wye 0.38139939 sums.zee 0.61178406 a wye sums.wye 0.20460331 sums.pan 0.57328892 a zee sums.pan 0.52712616 sums.wye 0.59855401 a hat sums.wye 0.03144188 expectedStdout [269]: a pan sums.pan 0.34679014 sums.wye 0.50262601 a eks sums.pan 0.75867996 sums.wye 0.38139939 sums.zee 0.61178406 a wye sums.wye 0.20460331 sums.pan 0.57328892 a zee sums.pan 0.52712616 sums.wye 0.59855401 a hat sums.wye 0.03144188 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0014/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-emit/0014/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emitp @sums, "a", "b"; } actualStdout [203]: a b sums pan pan 0.34679014 pan wye 0.50262601 eks pan 0.75867996 eks wye 0.38139939 eks zee 0.61178406 wye wye 0.20460331 wye pan 0.57328892 zee pan 0.52712616 zee wye 0.59855401 hat wye 0.03144188 expectedStdout [203]: a b sums pan pan 0.34679014 pan wye 0.50262601 eks pan 0.75867996 eks wye 0.38139939 eks zee 0.61178406 wye wye 0.20460331 wye pan 0.57328892 zee pan 0.52712616 zee wye 0.59855401 hat wye 0.03144188 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0015/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-emit/0015/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emitp @sums, "a", "b", "c"; } actualStdout [203]: a b sums pan pan 0.34679014 pan wye 0.50262601 eks pan 0.75867996 eks wye 0.38139939 eks zee 0.61178406 wye wye 0.20460331 wye pan 0.57328892 zee pan 0.52712616 zee wye 0.59855401 hat wye 0.03144188 expectedStdout [203]: a b sums pan pan 0.34679014 pan wye 0.50262601 eks pan 0.75867996 eks wye 0.38139939 eks zee 0.61178406 wye wye 0.20460331 wye pan 0.57328892 zee pan 0.52712616 zee wye 0.59855401 hat wye 0.03144188 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0015/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0015/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0016/cmd Command: mlr --oxtab --from test/input/abixy put -q -f ./test/cases/dsl-emit/0016/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emit @sums, "a"; } actualStdout [194]: a pan pan 0.34679014 wye 0.50262601 a eks pan 0.75867996 wye 0.38139939 zee 0.61178406 a wye wye 0.20460331 pan 0.57328892 a zee pan 0.52712616 wye 0.59855401 a hat wye 0.03144188 expectedStdout [194]: a pan pan 0.34679014 wye 0.50262601 a eks pan 0.75867996 wye 0.38139939 zee 0.61178406 a wye wye 0.20460331 pan 0.57328892 a zee pan 0.52712616 wye 0.59855401 a hat wye 0.03144188 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0016/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0016/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0017/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-emit/0017/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emit @sums, "a", "b"; } actualStdout [203]: a b sums pan pan 0.34679014 pan wye 0.50262601 eks pan 0.75867996 eks wye 0.38139939 eks zee 0.61178406 wye wye 0.20460331 wye pan 0.57328892 zee pan 0.52712616 zee wye 0.59855401 hat wye 0.03144188 expectedStdout [203]: a b sums pan pan 0.34679014 pan wye 0.50262601 eks pan 0.75867996 eks wye 0.38139939 eks zee 0.61178406 wye wye 0.20460331 wye pan 0.57328892 zee pan 0.52712616 zee wye 0.59855401 hat wye 0.03144188 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0017/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0017/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0018/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-emit/0018/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emit @sums, "a", "b", "c"; } actualStdout [203]: a b sums pan pan 0.34679014 pan wye 0.50262601 eks pan 0.75867996 eks wye 0.38139939 eks zee 0.61178406 wye wye 0.20460331 wye pan 0.57328892 zee pan 0.52712616 zee wye 0.59855401 hat wye 0.03144188 expectedStdout [203]: a b sums pan pan 0.34679014 pan wye 0.50262601 eks pan 0.75867996 eks wye 0.38139939 eks zee 0.61178406 wye wye 0.20460331 wye pan 0.57328892 zee pan 0.52712616 zee wye 0.59855401 hat wye 0.03144188 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0018/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0018/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0019/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-emit/0019/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a] += $x; @counts[$a] += 1; end { emitp (@sums, @counts), "a"; } actualStdout [107]: a sums counts pan 0.84941615 2 eks 1.75186342 3 wye 0.77789223 2 zee 1.12568017 2 hat 0.03144188 1 expectedStdout [107]: a sums counts pan 0.84941615 2 eks 1.75186342 3 wye 0.77789223 2 zee 1.12568017 2 hat 0.03144188 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0019/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0019/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0020/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-emit/0020/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a] += $x; @counts[$a] += 1; end { emit (@sums, @counts), "a"; } actualStdout [107]: a sums counts pan 0.84941615 2 eks 1.75186342 3 wye 0.77789223 2 zee 1.12568017 2 hat 0.03144188 1 expectedStdout [107]: a sums counts pan 0.84941615 2 eks 1.75186342 3 wye 0.77789223 2 zee 1.12568017 2 hat 0.03144188 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0020/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0020/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0021/cmd Command: mlr --oxtab --from test/input/abixy put -q -f ./test/cases/dsl-emit/0021/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emitp (@sums, @counts), "a"; } actualStdout [429]: a pan sums.pan 0.34679014 sums.wye 0.50262601 counts.pan 1 counts.wye 1 a eks sums.pan 0.75867996 sums.wye 0.38139939 sums.zee 0.61178406 counts.pan 1 counts.wye 1 counts.zee 1 a wye sums.wye 0.20460331 sums.pan 0.57328892 counts.wye 1 counts.pan 1 a zee sums.pan 0.52712616 sums.wye 0.59855401 counts.pan 1 counts.wye 1 a hat sums.wye 0.03144188 counts.wye 1 expectedStdout [429]: a pan sums.pan 0.34679014 sums.wye 0.50262601 counts.pan 1 counts.wye 1 a eks sums.pan 0.75867996 sums.wye 0.38139939 sums.zee 0.61178406 counts.pan 1 counts.wye 1 counts.zee 1 a wye sums.wye 0.20460331 sums.pan 0.57328892 counts.wye 1 counts.pan 1 a zee sums.pan 0.52712616 sums.wye 0.59855401 counts.pan 1 counts.wye 1 a hat sums.wye 0.03144188 counts.wye 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0021/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0021/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0022/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-emit/0022/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emitp (@sums, @counts), "a", "b"; } actualStdout [236]: a b sums counts pan pan 0.34679014 1 pan wye 0.50262601 1 eks pan 0.75867996 1 eks wye 0.38139939 1 eks zee 0.61178406 1 wye wye 0.20460331 1 wye pan 0.57328892 1 zee pan 0.52712616 1 zee wye 0.59855401 1 hat wye 0.03144188 1 expectedStdout [236]: a b sums counts pan pan 0.34679014 1 pan wye 0.50262601 1 eks pan 0.75867996 1 eks wye 0.38139939 1 eks zee 0.61178406 1 wye wye 0.20460331 1 wye pan 0.57328892 1 zee pan 0.52712616 1 zee wye 0.59855401 1 hat wye 0.03144188 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0022/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0022/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0023/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-emit/0023/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emitp (@sums, @counts), "a", "b", "c"; } actualStdout [236]: a b sums counts pan pan 0.34679014 1 pan wye 0.50262601 1 eks pan 0.75867996 1 eks wye 0.38139939 1 eks zee 0.61178406 1 wye wye 0.20460331 1 wye pan 0.57328892 1 zee pan 0.52712616 1 zee wye 0.59855401 1 hat wye 0.03144188 1 expectedStdout [236]: a b sums counts pan pan 0.34679014 1 pan wye 0.50262601 1 eks pan 0.75867996 1 eks wye 0.38139939 1 eks zee 0.61178406 1 wye wye 0.20460331 1 wye pan 0.57328892 1 zee pan 0.52712616 1 zee wye 0.59855401 1 hat wye 0.03144188 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0023/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0023/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0024/cmd Command: mlr --oxtab --from test/input/abixy put -q -f ./test/cases/dsl-emit/0024/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emit (@sums, @counts), "a"; } actualStdout [104]: a pan pan 1 wye 1 a eks pan 1 wye 1 zee 1 a wye wye 1 pan 1 a zee pan 1 wye 1 a hat wye 1 expectedStdout [104]: a pan pan 1 wye 1 a eks pan 1 wye 1 zee 1 a wye wye 1 pan 1 a zee pan 1 wye 1 a hat wye 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0024/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0024/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0025/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-emit/0025/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emit (@sums, @counts), "a", "b"; } actualStdout [236]: a b sums counts pan pan 0.34679014 1 pan wye 0.50262601 1 eks pan 0.75867996 1 eks wye 0.38139939 1 eks zee 0.61178406 1 wye wye 0.20460331 1 wye pan 0.57328892 1 zee pan 0.52712616 1 zee wye 0.59855401 1 hat wye 0.03144188 1 expectedStdout [236]: a b sums counts pan pan 0.34679014 1 pan wye 0.50262601 1 eks pan 0.75867996 1 eks wye 0.38139939 1 eks zee 0.61178406 1 wye wye 0.20460331 1 wye pan 0.57328892 1 zee pan 0.52712616 1 zee wye 0.59855401 1 hat wye 0.03144188 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0025/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0025/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit/0026/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-emit/0026/mlr Miller DSL script: @sumx += $x; @countx += 1; @sums[$a][$b] += $x; @counts[$a][$b] += 1; end { emit (@sums, @counts), "a", "b", "c"; } actualStdout [236]: a b sums counts pan pan 0.34679014 1 pan wye 0.50262601 1 eks pan 0.75867996 1 eks wye 0.38139939 1 eks zee 0.61178406 1 wye wye 0.20460331 1 wye pan 0.57328892 1 zee pan 0.52712616 1 zee wye 0.59855401 1 hat wye 0.03144188 1 expectedStdout [236]: a b sums counts pan pan 0.34679014 1 pan wye 0.50262601 1 eks pan 0.75867996 1 eks wye 0.38139939 1 eks zee 0.61178406 1 wye wye 0.20460331 1 wye pan 0.57328892 1 zee pan 0.52712616 1 zee wye 0.59855401 1 hat wye 0.03144188 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit/0026/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit/0026/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0010-no-indexed-nonlashed-emit-scalar-single/cmd Command: mlr --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0010-no-indexed-nonlashed-emit-scalar-single/mlr Miller DSL script: @count += 1; @sum += $n; end { dump; emit @sum } actualStdout [37]: { "count": 4, "sum": 20 } sum=20 expectedStdout [37]: { "count": 4, "sum": 20 } sum=20 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0010-no-indexed-nonlashed-emit-scalar-single/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0010-no-indexed-nonlashed-emit-scalar-single/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0011-no-indexed-nonlashed-emit-scalar-all/cmd Command: mlr --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0011-no-indexed-nonlashed-emit-scalar-all/mlr Miller DSL script: @count += 1; @sum += $n; end { dump; emit @* } actualStdout [45]: { "count": 4, "sum": 20 } count=4 sum=20 expectedStdout [45]: { "count": 4, "sum": 20 } count=4 sum=20 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0011-no-indexed-nonlashed-emit-scalar-all/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0011-no-indexed-nonlashed-emit-scalar-all/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0012-no-indexed-nonlashed-emit-map-all/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0012-no-indexed-nonlashed-emit-map-all/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emit @* } actualStdout [354]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "wye": 1, "zee": 1 }, { "wye": 1, "zee": 1 }, { "wye": 2, "zee": 4 }, { "wye": 6, "zee": 8 } ] expectedStdout [354]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "wye": 1, "zee": 1 }, { "wye": 1, "zee": 1 }, { "wye": 2, "zee": 4 }, { "wye": 6, "zee": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0012-no-indexed-nonlashed-emit-map-all/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0012-no-indexed-nonlashed-emit-map-all/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0013-no-indexed-nonlashed-emit-map-single/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0013-no-indexed-nonlashed-emit-map-single/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emit @sum } actualStdout [298]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "wye": 2, "zee": 4 }, { "wye": 6, "zee": 8 } ] expectedStdout [298]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "wye": 2, "zee": 4 }, { "wye": 6, "zee": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0013-no-indexed-nonlashed-emit-map-single/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0013-no-indexed-nonlashed-emit-map-single/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0020-no-indexed-nonlashed-emitp-scalar-single/cmd Command: mlr --jflatsep : --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0020-no-indexed-nonlashed-emitp-scalar-single/mlr Miller DSL script: @count += 1; @sum += $n; end { dump; emitp @sum } actualStdout [37]: { "count": 4, "sum": 20 } sum=20 expectedStdout [37]: { "count": 4, "sum": 20 } sum=20 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0020-no-indexed-nonlashed-emitp-scalar-single/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0020-no-indexed-nonlashed-emitp-scalar-single/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0021-no-indexed-nonlashed-emitp-scalar-all/cmd Command: mlr --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0021-no-indexed-nonlashed-emitp-scalar-all/mlr Miller DSL script: @count += 1; @sum += $n; end { dump; emitp @* } actualStdout [45]: { "count": 4, "sum": 20 } count=4 sum=20 expectedStdout [45]: { "count": 4, "sum": 20 } count=4 sum=20 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0021-no-indexed-nonlashed-emitp-scalar-all/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0021-no-indexed-nonlashed-emitp-scalar-all/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0022-no-indexed-nonlashed-emitp-map-all/cmd Command: mlr --ojson --jvstack --jflatsep . --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0022-no-indexed-nonlashed-emitp-map-all/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emitp @* } actualStdout [486]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } } }, { "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } ] expectedStdout [486]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } } }, { "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0022-no-indexed-nonlashed-emitp-map-all/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0022-no-indexed-nonlashed-emitp-map-all/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0023-no-indexed-nonlashed-emitp-map-single/cmd Command: mlr --ojson --jvstack --jflatsep : --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0023-no-indexed-nonlashed-emitp-map-single/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emitp @sum } actualStdout [363]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } ] expectedStdout [363]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0023-no-indexed-nonlashed-emitp-map-single/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0023-no-indexed-nonlashed-emitp-map-single/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0030-no-indexed-lashed-emit-scalars/cmd Command: mlr --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0030-no-indexed-lashed-emit-scalars/mlr Miller DSL script: @count += 1; @sum += $n; end { dump; emit (@count, @sum) } actualStdout [45]: { "count": 4, "sum": 20 } count=4,sum=20 expectedStdout [45]: { "count": 4, "sum": 20 } count=4,sum=20 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0030-no-indexed-lashed-emit-scalars/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0030-no-indexed-lashed-emit-scalars/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0031-no-indexed-lashed-emit-maps/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0031-no-indexed-lashed-emit-maps/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emit (@count, @sum) } actualStdout [354]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "wye": 1, "zee": 1 }, { "wye": 1, "zee": 1 }, { "wye": 2, "zee": 4 }, { "wye": 6, "zee": 8 } ] expectedStdout [354]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "wye": 1, "zee": 1 }, { "wye": 1, "zee": 1 }, { "wye": 2, "zee": 4 }, { "wye": 6, "zee": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0031-no-indexed-lashed-emit-maps/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0031-no-indexed-lashed-emit-maps/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0040-no-indexed-lashed-emitp-scalars/cmd Command: mlr --jflatsep : --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0040-no-indexed-lashed-emitp-scalars/mlr Miller DSL script: @count += 1; @sum += $n; end { dump; emitp (@count, @sum) } actualStdout [45]: { "count": 4, "sum": 20 } count=4,sum=20 expectedStdout [45]: { "count": 4, "sum": 20 } count=4,sum=20 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0040-no-indexed-lashed-emitp-scalars/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0040-no-indexed-lashed-emitp-scalars/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0041-no-indexed-lashed-emitp-maps/cmd Command: mlr --ojson --jvstack --jflatsep : --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0041-no-indexed-lashed-emitp-maps/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emitp (@count, @sum) } actualStdout [482]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } ] expectedStdout [482]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0041-no-indexed-lashed-emitp-maps/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0041-no-indexed-lashed-emitp-maps/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0050-under-indexed-nonlashed-emit-single-map/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0050-under-indexed-nonlashed-emit-single-map/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emit @sum, "a" } actualStdout [326]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "wye": 2, "zee": 4 }, { "a": "eks", "wye": 6, "zee": 8 } ] expectedStdout [326]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "wye": 2, "zee": 4 }, { "a": "eks", "wye": 6, "zee": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0050-under-indexed-nonlashed-emit-single-map/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0050-under-indexed-nonlashed-emit-single-map/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0051-at-indexed-nonlashed-emit-single-map/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0051-at-indexed-nonlashed-emit-single-map/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emit @sum, "a", "b" } actualStdout [418]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "sum": 2 }, { "a": "vee", "b": "zee", "sum": 4 }, { "a": "eks", "b": "wye", "sum": 6 }, { "a": "eks", "b": "zee", "sum": 8 } ] expectedStdout [418]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "sum": 2 }, { "a": "vee", "b": "zee", "sum": 4 }, { "a": "eks", "b": "wye", "sum": 6 }, { "a": "eks", "b": "zee", "sum": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0051-at-indexed-nonlashed-emit-single-map/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0051-at-indexed-nonlashed-emit-single-map/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0052-over-indexed-nonlashed-emit-single-map/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0052-over-indexed-nonlashed-emit-single-map/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emit @sum, "a", "b", "c" } actualStdout [418]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "sum": 2 }, { "a": "vee", "b": "zee", "sum": 4 }, { "a": "eks", "b": "wye", "sum": 6 }, { "a": "eks", "b": "zee", "sum": 8 } ] expectedStdout [418]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "sum": 2 }, { "a": "vee", "b": "zee", "sum": 4 }, { "a": "eks", "b": "wye", "sum": 6 }, { "a": "eks", "b": "zee", "sum": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0052-over-indexed-nonlashed-emit-single-map/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0052-over-indexed-nonlashed-emit-single-map/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0053-under-indexed-nonlashed-emit-all-maps/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0053-under-indexed-nonlashed-emit-all-maps/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emit @*, "a"} actualStdout [410]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "wye": 1, "zee": 1 }, { "a": "eks", "wye": 1, "zee": 1 }, { "a": "vee", "wye": 2, "zee": 4 }, { "a": "eks", "wye": 6, "zee": 8 } ] expectedStdout [410]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "wye": 1, "zee": 1 }, { "a": "eks", "wye": 1, "zee": 1 }, { "a": "vee", "wye": 2, "zee": 4 }, { "a": "eks", "wye": 6, "zee": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0053-under-indexed-nonlashed-emit-all-maps/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0053-under-indexed-nonlashed-emit-all-maps/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0054-at-indexed-nonlashed-emit-all-maps/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0054-at-indexed-nonlashed-emit-all-maps/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emit @*, "a", "b" } actualStdout [602]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "count": 1 }, { "a": "vee", "b": "zee", "count": 1 }, { "a": "eks", "b": "wye", "count": 1 }, { "a": "eks", "b": "zee", "count": 1 }, { "a": "vee", "b": "wye", "sum": 2 }, { "a": "vee", "b": "zee", "sum": 4 }, { "a": "eks", "b": "wye", "sum": 6 }, { "a": "eks", "b": "zee", "sum": 8 } ] expectedStdout [602]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "count": 1 }, { "a": "vee", "b": "zee", "count": 1 }, { "a": "eks", "b": "wye", "count": 1 }, { "a": "eks", "b": "zee", "count": 1 }, { "a": "vee", "b": "wye", "sum": 2 }, { "a": "vee", "b": "zee", "sum": 4 }, { "a": "eks", "b": "wye", "sum": 6 }, { "a": "eks", "b": "zee", "sum": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0054-at-indexed-nonlashed-emit-all-maps/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0054-at-indexed-nonlashed-emit-all-maps/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0055-over-indexed-nonlashed-emit-all-maps/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0055-over-indexed-nonlashed-emit-all-maps/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emit @*, "a", "b", "c" } actualStdout [602]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "count": 1 }, { "a": "vee", "b": "zee", "count": 1 }, { "a": "eks", "b": "wye", "count": 1 }, { "a": "eks", "b": "zee", "count": 1 }, { "a": "vee", "b": "wye", "sum": 2 }, { "a": "vee", "b": "zee", "sum": 4 }, { "a": "eks", "b": "wye", "sum": 6 }, { "a": "eks", "b": "zee", "sum": 8 } ] expectedStdout [602]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "count": 1 }, { "a": "vee", "b": "zee", "count": 1 }, { "a": "eks", "b": "wye", "count": 1 }, { "a": "eks", "b": "zee", "count": 1 }, { "a": "vee", "b": "wye", "sum": 2 }, { "a": "vee", "b": "zee", "sum": 4 }, { "a": "eks", "b": "wye", "sum": 6 }, { "a": "eks", "b": "zee", "sum": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0055-over-indexed-nonlashed-emit-all-maps/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0055-over-indexed-nonlashed-emit-all-maps/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0060-under-indexed-lashed-emit-maps/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0060-under-indexed-lashed-emit-maps/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emit (@count, @sum), "a" } actualStdout [326]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "wye": 2, "zee": 4 }, { "a": "eks", "wye": 6, "zee": 8 } ] expectedStdout [326]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "wye": 2, "zee": 4 }, { "a": "eks", "wye": 6, "zee": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0060-under-indexed-lashed-emit-maps/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0060-under-indexed-lashed-emit-maps/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0061-at-indexed-lashed-emit-maps/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0061-at-indexed-lashed-emit-maps/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emit (@count, @sum), "a", "b" } actualStdout [474]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "count": 1, "sum": 2 }, { "a": "vee", "b": "zee", "count": 1, "sum": 4 }, { "a": "eks", "b": "wye", "count": 1, "sum": 6 }, { "a": "eks", "b": "zee", "count": 1, "sum": 8 } ] expectedStdout [474]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "count": 1, "sum": 2 }, { "a": "vee", "b": "zee", "count": 1, "sum": 4 }, { "a": "eks", "b": "wye", "count": 1, "sum": 6 }, { "a": "eks", "b": "zee", "count": 1, "sum": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0061-at-indexed-lashed-emit-maps/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0061-at-indexed-lashed-emit-maps/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0062-over-indexed-lashed-emit-maps/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0062-over-indexed-lashed-emit-maps/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emit (@count, @sum), "a", "b", "c" } actualStdout [474]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "count": 1, "sum": 2 }, { "a": "vee", "b": "zee", "count": 1, "sum": 4 }, { "a": "eks", "b": "wye", "count": 1, "sum": 6 }, { "a": "eks", "b": "zee", "count": 1, "sum": 8 } ] expectedStdout [474]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "count": 1, "sum": 2 }, { "a": "vee", "b": "zee", "count": 1, "sum": 4 }, { "a": "eks", "b": "wye", "count": 1, "sum": 6 }, { "a": "eks", "b": "zee", "count": 1, "sum": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0062-over-indexed-lashed-emit-maps/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0062-over-indexed-lashed-emit-maps/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0070-under-indexed-nonlashed-emitp-single-map/cmd Command: mlr --ojson --jvstack --jflatsep : --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0070-under-indexed-nonlashed-emitp-single-map/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emitp @sum, "a" } actualStdout [364]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "sum": { "wye": 2, "zee": 4 } }, { "a": "eks", "sum": { "wye": 6, "zee": 8 } } ] expectedStdout [364]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "sum": { "wye": 2, "zee": 4 } }, { "a": "eks", "sum": { "wye": 6, "zee": 8 } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0070-under-indexed-nonlashed-emitp-single-map/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0070-under-indexed-nonlashed-emitp-single-map/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0071-at-indexed-nonlashed-emitp-single-map/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0071-at-indexed-nonlashed-emitp-single-map/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emitp @sum, "a", "b" } actualStdout [418]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "sum": 2 }, { "a": "vee", "b": "zee", "sum": 4 }, { "a": "eks", "b": "wye", "sum": 6 }, { "a": "eks", "b": "zee", "sum": 8 } ] expectedStdout [418]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "sum": 2 }, { "a": "vee", "b": "zee", "sum": 4 }, { "a": "eks", "b": "wye", "sum": 6 }, { "a": "eks", "b": "zee", "sum": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0071-at-indexed-nonlashed-emitp-single-map/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0071-at-indexed-nonlashed-emitp-single-map/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0072-over-indexed-nonlashed-emitp-single-map/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0072-over-indexed-nonlashed-emitp-single-map/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emitp @sum, "a", "b", "c" } actualStdout [418]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "sum": 2 }, { "a": "vee", "b": "zee", "sum": 4 }, { "a": "eks", "b": "wye", "sum": 6 }, { "a": "eks", "b": "zee", "sum": 8 } ] expectedStdout [418]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "sum": 2 }, { "a": "vee", "b": "zee", "sum": 4 }, { "a": "eks", "b": "wye", "sum": 6 }, { "a": "eks", "b": "zee", "sum": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0072-over-indexed-nonlashed-emitp-single-map/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0072-over-indexed-nonlashed-emitp-single-map/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0073-under-indexed-nonlashed-emitp-all-maps/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0073-under-indexed-nonlashed-emitp-all-maps/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emitp @*, "a" } actualStdout [490]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "count": { "wye": 1, "zee": 1 } }, { "a": "eks", "count": { "wye": 1, "zee": 1 } }, { "a": "vee", "sum": { "wye": 2, "zee": 4 } }, { "a": "eks", "sum": { "wye": 6, "zee": 8 } } ] expectedStdout [490]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "count": { "wye": 1, "zee": 1 } }, { "a": "eks", "count": { "wye": 1, "zee": 1 } }, { "a": "vee", "sum": { "wye": 2, "zee": 4 } }, { "a": "eks", "sum": { "wye": 6, "zee": 8 } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0073-under-indexed-nonlashed-emitp-all-maps/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0073-under-indexed-nonlashed-emitp-all-maps/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0074-at-indexed-nonlashed-emitp-all-maps/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0074-at-indexed-nonlashed-emitp-all-maps/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emitp @*, "a", "b" } actualStdout [602]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "count": 1 }, { "a": "vee", "b": "zee", "count": 1 }, { "a": "eks", "b": "wye", "count": 1 }, { "a": "eks", "b": "zee", "count": 1 }, { "a": "vee", "b": "wye", "sum": 2 }, { "a": "vee", "b": "zee", "sum": 4 }, { "a": "eks", "b": "wye", "sum": 6 }, { "a": "eks", "b": "zee", "sum": 8 } ] expectedStdout [602]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "count": 1 }, { "a": "vee", "b": "zee", "count": 1 }, { "a": "eks", "b": "wye", "count": 1 }, { "a": "eks", "b": "zee", "count": 1 }, { "a": "vee", "b": "wye", "sum": 2 }, { "a": "vee", "b": "zee", "sum": 4 }, { "a": "eks", "b": "wye", "sum": 6 }, { "a": "eks", "b": "zee", "sum": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0074-at-indexed-nonlashed-emitp-all-maps/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0074-at-indexed-nonlashed-emitp-all-maps/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0075-over-indexed-nonlashed-emitp-all-maps/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0075-over-indexed-nonlashed-emitp-all-maps/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emitp @*, "a", "b", "c" } actualStdout [602]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "count": 1 }, { "a": "vee", "b": "zee", "count": 1 }, { "a": "eks", "b": "wye", "count": 1 }, { "a": "eks", "b": "zee", "count": 1 }, { "a": "vee", "b": "wye", "sum": 2 }, { "a": "vee", "b": "zee", "sum": 4 }, { "a": "eks", "b": "wye", "sum": 6 }, { "a": "eks", "b": "zee", "sum": 8 } ] expectedStdout [602]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "count": 1 }, { "a": "vee", "b": "zee", "count": 1 }, { "a": "eks", "b": "wye", "count": 1 }, { "a": "eks", "b": "zee", "count": 1 }, { "a": "vee", "b": "wye", "sum": 2 }, { "a": "vee", "b": "zee", "sum": 4 }, { "a": "eks", "b": "wye", "sum": 6 }, { "a": "eks", "b": "zee", "sum": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0075-over-indexed-nonlashed-emitp-all-maps/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0075-over-indexed-nonlashed-emitp-all-maps/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0080-under-indexed-lashed-emitp-maps/cmd Command: mlr --ojson --jvstack --jflatsep : --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0080-under-indexed-lashed-emitp-maps/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emitp (@count, @sum), "a" } actualStdout [454]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "count": { "wye": 1, "zee": 1 }, "sum": { "wye": 2, "zee": 4 } }, { "a": "eks", "count": { "wye": 1, "zee": 1 }, "sum": { "wye": 6, "zee": 8 } } ] expectedStdout [454]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "count": { "wye": 1, "zee": 1 }, "sum": { "wye": 2, "zee": 4 } }, { "a": "eks", "count": { "wye": 1, "zee": 1 }, "sum": { "wye": 6, "zee": 8 } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0080-under-indexed-lashed-emitp-maps/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0080-under-indexed-lashed-emitp-maps/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0081-at-indexed-lashed-emitp-maps/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0081-at-indexed-lashed-emitp-maps/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emitp (@count, @sum), "a", "b" } actualStdout [474]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "count": 1, "sum": 2 }, { "a": "vee", "b": "zee", "count": 1, "sum": 4 }, { "a": "eks", "b": "wye", "count": 1, "sum": 6 }, { "a": "eks", "b": "zee", "count": 1, "sum": 8 } ] expectedStdout [474]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "count": 1, "sum": 2 }, { "a": "vee", "b": "zee", "count": 1, "sum": 4 }, { "a": "eks", "b": "wye", "count": 1, "sum": 6 }, { "a": "eks", "b": "zee", "count": 1, "sum": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0081-at-indexed-lashed-emitp-maps/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0081-at-indexed-lashed-emitp-maps/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-basic-indexing/0082-over-indexed-lashed-emitp-maps/cmd Command: mlr --ojson --jvstack --from test/input/emit2.dkvp put -q -f test/cases/dsl-emit-basic-indexing/0082-over-indexed-lashed-emitp-maps/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $n; end { dump; emitp (@count, @sum), "a", "b", "c" } actualStdout [474]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "count": 1, "sum": 2 }, { "a": "vee", "b": "zee", "count": 1, "sum": 4 }, { "a": "eks", "b": "wye", "count": 1, "sum": 6 }, { "a": "eks", "b": "zee", "count": 1, "sum": 8 } ] expectedStdout [474]: { "count": { "vee": { "wye": 1, "zee": 1 }, "eks": { "wye": 1, "zee": 1 } }, "sum": { "vee": { "wye": 2, "zee": 4 }, "eks": { "wye": 6, "zee": 8 } } } [ { "a": "vee", "b": "wye", "count": 1, "sum": 2 }, { "a": "vee", "b": "zee", "count": 1, "sum": 4 }, { "a": "eks", "b": "wye", "count": 1, "sum": 6 }, { "a": "eks", "b": "zee", "count": 1, "sum": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-basic-indexing/0082-over-indexed-lashed-emitp-maps/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-basic-indexing/0082-over-indexed-lashed-emitp-maps/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-het/0001/cmd Command: mlr --from test/input/abixy put -q -f test/cases/dsl-emit-het/0001/mlr Miller DSL script: @x={"a":NR}; @y={"a":-NR}; emit (@x, @y), "k" actualStdout [132]: k=a,x=1,y=-1 k=a,x=2,y=-2 k=a,x=3,y=-3 k=a,x=4,y=-4 k=a,x=5,y=-5 k=a,x=6,y=-6 k=a,x=7,y=-7 k=a,x=8,y=-8 k=a,x=9,y=-9 k=a,x=10,y=-10 expectedStdout [132]: k=a,x=1,y=-1 k=a,x=2,y=-2 k=a,x=3,y=-3 k=a,x=4,y=-4 k=a,x=5,y=-5 k=a,x=6,y=-6 k=a,x=7,y=-7 k=a,x=8,y=-8 k=a,x=9,y=-9 k=a,x=10,y=-10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-het/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-het/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-het/0002/cmd Command: mlr --from test/input/abixy put -q -f test/cases/dsl-emit-het/0002/mlr Miller DSL script: @x={"a":NR}; @y={"b":-NR}; emit (@x, @y), "k" actualStdout [81]: k=a,x=1 k=a,x=2 k=a,x=3 k=a,x=4 k=a,x=5 k=a,x=6 k=a,x=7 k=a,x=8 k=a,x=9 k=a,x=10 expectedStdout [81]: k=a,x=1 k=a,x=2 k=a,x=3 k=a,x=4 k=a,x=5 k=a,x=6 k=a,x=7 k=a,x=8 k=a,x=9 k=a,x=10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-het/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-het/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-het/0003/cmd Command: mlr --from test/input/abixy put -q -f test/cases/dsl-emit-het/0003/mlr Miller DSL script: @x={"b":NR}; @y={"a":-NR}; emit (@x, @y), "k" actualStdout [81]: k=b,x=1 k=b,x=2 k=b,x=3 k=b,x=4 k=b,x=5 k=b,x=6 k=b,x=7 k=b,x=8 k=b,x=9 k=b,x=10 expectedStdout [81]: k=b,x=1 k=b,x=2 k=b,x=3 k=b,x=4 k=b,x=5 k=b,x=6 k=b,x=7 k=b,x=8 k=b,x=9 k=b,x=10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-het/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-het/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-het/0004/cmd Command: mlr --from test/input/abixy put -q -f test/cases/dsl-emit-het/0004/mlr Miller DSL script: @x={"b":NR}; @y={"b":-NR}; emit (@x, @y), "k" actualStdout [132]: k=b,x=1,y=-1 k=b,x=2,y=-2 k=b,x=3,y=-3 k=b,x=4,y=-4 k=b,x=5,y=-5 k=b,x=6,y=-6 k=b,x=7,y=-7 k=b,x=8,y=-8 k=b,x=9,y=-9 k=b,x=10,y=-10 expectedStdout [132]: k=b,x=1,y=-1 k=b,x=2,y=-2 k=b,x=3,y=-3 k=b,x=4,y=-4 k=b,x=5,y=-5 k=b,x=6,y=-6 k=b,x=7,y=-7 k=b,x=8,y=-8 k=b,x=9,y=-9 k=b,x=10,y=-10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-het/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-het/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-het/0005/cmd Command: mlr --from test/input/abixy-het put -q -f test/cases/dsl-emit-het/0005/mlr Miller DSL script: @x={"a":NR}; @y={"a":-NR}; emit (@x, @y), "k" actualStdout [132]: k=a,x=1,y=-1 k=a,x=2,y=-2 k=a,x=3,y=-3 k=a,x=4,y=-4 k=a,x=5,y=-5 k=a,x=6,y=-6 k=a,x=7,y=-7 k=a,x=8,y=-8 k=a,x=9,y=-9 k=a,x=10,y=-10 expectedStdout [132]: k=a,x=1,y=-1 k=a,x=2,y=-2 k=a,x=3,y=-3 k=a,x=4,y=-4 k=a,x=5,y=-5 k=a,x=6,y=-6 k=a,x=7,y=-7 k=a,x=8,y=-8 k=a,x=9,y=-9 k=a,x=10,y=-10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-het/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-het/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-het/0006/cmd Command: mlr --from test/input/abixy-het put -q -f test/cases/dsl-emit-het/0006/mlr Miller DSL script: @x={"a":NR}; @y={"b":-NR}; emit (@x, @y), "k" actualStdout [81]: k=a,x=1 k=a,x=2 k=a,x=3 k=a,x=4 k=a,x=5 k=a,x=6 k=a,x=7 k=a,x=8 k=a,x=9 k=a,x=10 expectedStdout [81]: k=a,x=1 k=a,x=2 k=a,x=3 k=a,x=4 k=a,x=5 k=a,x=6 k=a,x=7 k=a,x=8 k=a,x=9 k=a,x=10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-het/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-het/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-het/0007/cmd Command: mlr --from test/input/abixy-het put -q -f test/cases/dsl-emit-het/0007/mlr Miller DSL script: @x={"b":NR}; @y={"a":-NR}; emit (@x, @y), "k" actualStdout [81]: k=b,x=1 k=b,x=2 k=b,x=3 k=b,x=4 k=b,x=5 k=b,x=6 k=b,x=7 k=b,x=8 k=b,x=9 k=b,x=10 expectedStdout [81]: k=b,x=1 k=b,x=2 k=b,x=3 k=b,x=4 k=b,x=5 k=b,x=6 k=b,x=7 k=b,x=8 k=b,x=9 k=b,x=10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-het/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-het/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit-het/0008/cmd Command: mlr --from test/input/abixy-het put -q -f test/cases/dsl-emit-het/0008/mlr Miller DSL script: @x={"b":NR}; @y={"b":-NR}; emit (@x, @y), "k" actualStdout [132]: k=b,x=1,y=-1 k=b,x=2,y=-2 k=b,x=3,y=-3 k=b,x=4,y=-4 k=b,x=5,y=-5 k=b,x=6,y=-6 k=b,x=7,y=-7 k=b,x=8,y=-8 k=b,x=9,y=-9 k=b,x=10,y=-10 expectedStdout [132]: k=b,x=1,y=-1 k=b,x=2,y=-2 k=b,x=3,y=-3 k=b,x=4,y=-4 k=b,x=5,y=-5 k=b,x=6,y=-6 k=b,x=7,y=-7 k=b,x=8,y=-8 k=b,x=9,y=-9 k=b,x=10,y=-10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit-het/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit-het/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-emit1/0001/cmd Command: mlr put -f test/cases/dsl-emit1/0001/mlr test/input/abixy Miller DSL script: emit1 mapsum({"id": NR}, $*) actualStdout [893]: id=1,a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 id=2,a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 id=3,a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 id=4,a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 id=5,a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 id=6,a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 id=7,a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 id=8,a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 id=9,a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 id=10,a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [893]: id=1,a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 id=2,a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 id=3,a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 id=4,a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 id=5,a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 id=6,a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 id=7,a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 id=8,a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 id=9,a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 id=10,a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-emit1/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-emit1/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty/0001/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put '' actualStdout [151]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 expectedStdout [151]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0001/cmd Command: mlr -n put -v '' actualStdout [42]: DSL EXPRESSION: AST: * statement block expectedStdout [42]: DSL EXPRESSION: AST: * statement block actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0002/cmd Command: mlr -n filter -v '' actualStdout [42]: DSL EXPRESSION: AST: * statement block expectedStdout [42]: DSL EXPRESSION: AST: * statement block actualStderr [41]: mlr: filter statement must not be empty. expectedStderr [41]: mlr: filter statement must not be empty. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-empty-statements/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0003/cmd Command: mlr -n put -v 'begin {}' actualStdout [94]: DSL EXPRESSION: begin {} AST: * statement block * begin block * statement block expectedStdout [94]: DSL EXPRESSION: begin {} AST: * statement block * begin block * statement block actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0004/cmd Command: mlr -n put -v 'begin {;}' actualStdout [95]: DSL EXPRESSION: begin {;} AST: * statement block * begin block * statement block expectedStdout [95]: DSL EXPRESSION: begin {;} AST: * statement block * begin block * statement block actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0005/cmd Command: mlr -n put -v 'begin {;;}' actualStdout [96]: DSL EXPRESSION: begin {;;} AST: * statement block * begin block * statement block expectedStdout [96]: DSL EXPRESSION: begin {;;} AST: * statement block * begin block * statement block actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0006/cmd Command: mlr -n put -v 'begin {;;;}' actualStdout [97]: DSL EXPRESSION: begin {;;;} AST: * statement block * begin block * statement block expectedStdout [97]: DSL EXPRESSION: begin {;;;} AST: * statement block * begin block * statement block actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0007/cmd Command: mlr -n put -v 'begin {@x=1}' actualStdout [203]: DSL EXPRESSION: begin {@x=1} AST: * statement block * begin block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" expectedStdout [203]: DSL EXPRESSION: begin {@x=1} AST: * statement block * begin block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0008/cmd Command: mlr -n put -v 'begin {@x=1;}' actualStdout [204]: DSL EXPRESSION: begin {@x=1;} AST: * statement block * begin block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" expectedStdout [204]: DSL EXPRESSION: begin {@x=1;} AST: * statement block * begin block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0009/cmd Command: mlr -n put -v 'begin {;@x=1}' actualStdout [204]: DSL EXPRESSION: begin {;@x=1} AST: * statement block * begin block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" expectedStdout [204]: DSL EXPRESSION: begin {;@x=1} AST: * statement block * begin block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0010/cmd Command: mlr -n put -v 'begin {@x=1;@y=2}' actualStdout [313]: DSL EXPRESSION: begin {@x=1;@y=2} AST: * statement block * begin block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" * assignment "=" * direct oosvar value "y" * int literal "2" expectedStdout [313]: DSL EXPRESSION: begin {@x=1;@y=2} AST: * statement block * begin block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" * assignment "=" * direct oosvar value "y" * int literal "2" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0011/cmd Command: mlr -n put -v 'begin {@x=1;;@y=2}' actualStdout [314]: DSL EXPRESSION: begin {@x=1;;@y=2} AST: * statement block * begin block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" * assignment "=" * direct oosvar value "y" * int literal "2" expectedStdout [314]: DSL EXPRESSION: begin {@x=1;;@y=2} AST: * statement block * begin block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" * assignment "=" * direct oosvar value "y" * int literal "2" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0012/cmd Command: mlr -n put -v 'true {}' actualStdout [122]: DSL EXPRESSION: true {} AST: * statement block * cond block * bool literal "true" * statement block expectedStdout [122]: DSL EXPRESSION: true {} AST: * statement block * cond block * bool literal "true" * statement block actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0013/cmd Command: mlr -n put -v 'true {;}' actualStdout [123]: DSL EXPRESSION: true {;} AST: * statement block * cond block * bool literal "true" * statement block expectedStdout [123]: DSL EXPRESSION: true {;} AST: * statement block * cond block * bool literal "true" * statement block actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0014/cmd Command: mlr -n put -v 'true {;;}' actualStdout [124]: DSL EXPRESSION: true {;;} AST: * statement block * cond block * bool literal "true" * statement block expectedStdout [124]: DSL EXPRESSION: true {;;} AST: * statement block * cond block * bool literal "true" * statement block actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0015/cmd Command: mlr -n put -v 'true {;;;}' actualStdout [125]: DSL EXPRESSION: true {;;;} AST: * statement block * cond block * bool literal "true" * statement block expectedStdout [125]: DSL EXPRESSION: true {;;;} AST: * statement block * cond block * bool literal "true" * statement block actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0015/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0015/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0016/cmd Command: mlr -n put -v 'true {@x=1}' actualStdout [231]: DSL EXPRESSION: true {@x=1} AST: * statement block * cond block * bool literal "true" * statement block * assignment "=" * direct oosvar value "x" * int literal "1" expectedStdout [231]: DSL EXPRESSION: true {@x=1} AST: * statement block * cond block * bool literal "true" * statement block * assignment "=" * direct oosvar value "x" * int literal "1" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0016/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0016/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0017/cmd Command: mlr -n put -v 'true {@x=1;}' actualStdout [232]: DSL EXPRESSION: true {@x=1;} AST: * statement block * cond block * bool literal "true" * statement block * assignment "=" * direct oosvar value "x" * int literal "1" expectedStdout [232]: DSL EXPRESSION: true {@x=1;} AST: * statement block * cond block * bool literal "true" * statement block * assignment "=" * direct oosvar value "x" * int literal "1" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0017/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0017/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0018/cmd Command: mlr -n put -v 'true {;@x=1}' actualStdout [232]: DSL EXPRESSION: true {;@x=1} AST: * statement block * cond block * bool literal "true" * statement block * assignment "=" * direct oosvar value "x" * int literal "1" expectedStdout [232]: DSL EXPRESSION: true {;@x=1} AST: * statement block * cond block * bool literal "true" * statement block * assignment "=" * direct oosvar value "x" * int literal "1" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0018/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0018/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0019/cmd Command: mlr -n put -v 'true {@x=1;@y=2}' actualStdout [341]: DSL EXPRESSION: true {@x=1;@y=2} AST: * statement block * cond block * bool literal "true" * statement block * assignment "=" * direct oosvar value "x" * int literal "1" * assignment "=" * direct oosvar value "y" * int literal "2" expectedStdout [341]: DSL EXPRESSION: true {@x=1;@y=2} AST: * statement block * cond block * bool literal "true" * statement block * assignment "=" * direct oosvar value "x" * int literal "1" * assignment "=" * direct oosvar value "y" * int literal "2" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0019/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0019/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0020/cmd Command: mlr -n put -v 'true {@x=1;;@y=2}' actualStdout [342]: DSL EXPRESSION: true {@x=1;;@y=2} AST: * statement block * cond block * bool literal "true" * statement block * assignment "=" * direct oosvar value "x" * int literal "1" * assignment "=" * direct oosvar value "y" * int literal "2" expectedStdout [342]: DSL EXPRESSION: true {@x=1;;@y=2} AST: * statement block * cond block * bool literal "true" * statement block * assignment "=" * direct oosvar value "x" * int literal "1" * assignment "=" * direct oosvar value "y" * int literal "2" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0020/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0020/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0021/cmd Command: mlr -n put -v 'end {}' actualStdout [90]: DSL EXPRESSION: end {} AST: * statement block * end block * statement block expectedStdout [90]: DSL EXPRESSION: end {} AST: * statement block * end block * statement block actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0021/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0021/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0022/cmd Command: mlr -n put -v 'end {;}' actualStdout [91]: DSL EXPRESSION: end {;} AST: * statement block * end block * statement block expectedStdout [91]: DSL EXPRESSION: end {;} AST: * statement block * end block * statement block actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0022/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0022/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0023/cmd Command: mlr -n put -v 'end {;;}' actualStdout [92]: DSL EXPRESSION: end {;;} AST: * statement block * end block * statement block expectedStdout [92]: DSL EXPRESSION: end {;;} AST: * statement block * end block * statement block actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0023/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0023/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0024/cmd Command: mlr -n put -v 'end {;;;}' actualStdout [93]: DSL EXPRESSION: end {;;;} AST: * statement block * end block * statement block expectedStdout [93]: DSL EXPRESSION: end {;;;} AST: * statement block * end block * statement block actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0024/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0024/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0025/cmd Command: mlr -n put -v 'end {@x=1}' actualStdout [199]: DSL EXPRESSION: end {@x=1} AST: * statement block * end block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" expectedStdout [199]: DSL EXPRESSION: end {@x=1} AST: * statement block * end block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0025/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0025/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0026/cmd Command: mlr -n put -v 'end {@x=1;}' actualStdout [200]: DSL EXPRESSION: end {@x=1;} AST: * statement block * end block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" expectedStdout [200]: DSL EXPRESSION: end {@x=1;} AST: * statement block * end block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0026/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0026/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0027/cmd Command: mlr -n put -v 'end {;@x=1}' actualStdout [200]: DSL EXPRESSION: end {;@x=1} AST: * statement block * end block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" expectedStdout [200]: DSL EXPRESSION: end {;@x=1} AST: * statement block * end block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0027/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0027/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0028/cmd Command: mlr -n put -v 'end {@x=1;@y=2}' actualStdout [309]: DSL EXPRESSION: end {@x=1;@y=2} AST: * statement block * end block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" * assignment "=" * direct oosvar value "y" * int literal "2" expectedStdout [309]: DSL EXPRESSION: end {@x=1;@y=2} AST: * statement block * end block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" * assignment "=" * direct oosvar value "y" * int literal "2" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0028/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0028/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-empty-statements/0029/cmd Command: mlr -n put -v 'end {@x=1;;@y=2}' actualStdout [310]: DSL EXPRESSION: end {@x=1;;@y=2} AST: * statement block * end block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" * assignment "=" * direct oosvar value "y" * int literal "2" expectedStdout [310]: DSL EXPRESSION: end {@x=1;;@y=2} AST: * statement block * end block * statement block * assignment "=" * direct oosvar value "x" * int literal "1" * assignment "=" * direct oosvar value "y" * int literal "2" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-empty-statements/0029/cmd ---------------------------------------------------------------- end ./test/cases/dsl-empty-statements/0029/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-env/0001/cmd Command: mlr -n put -v -f test/cases/dsl-env/0001/mlr Miller DSL script: $z = ENV["HOME"] actualStdout [186]: DSL EXPRESSION: $z = ENV["HOME"] AST: * statement block * assignment "=" * direct field value "z" * environment variable "ENV" * string literal "HOME" expectedStdout [186]: DSL EXPRESSION: $z = ENV["HOME"] AST: * statement block * assignment "=" * direct field value "z" * environment variable "ENV" * string literal "HOME" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-env/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-env/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-env/0002/cmd Command: mlr -n put -v -f test/cases/dsl-env/0002/mlr Miller DSL script: $z = ENV["HOME"][1] actualStdout [268]: DSL EXPRESSION: $z = ENV["HOME"][1] AST: * statement block * assignment "=" * direct field value "z" * array or map index access "[]" * environment variable "ENV" * string literal "HOME" * int literal "1" expectedStdout [268]: DSL EXPRESSION: $z = ENV["HOME"][1] AST: * statement block * assignment "=" * direct field value "z" * array or map index access "[]" * environment variable "ENV" * string literal "HOME" * int literal "1" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-env/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-env/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-env/0003/cmd Command: mlr -n put -v -f test/cases/dsl-env/0003/mlr Miller DSL script: $ENV["FOO"] = "bar" actualStdout [229]: DSL EXPRESSION: $ENV["FOO"] = "bar" AST: * statement block * assignment "=" * array or map index access "[]" * direct field value "ENV" * string literal "FOO" * string literal "bar" expectedStdout [229]: DSL EXPRESSION: $ENV["FOO"] = "bar" AST: * statement block * assignment "=" * array or map index access "[]" * direct field value "ENV" * string literal "FOO" * string literal "bar" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-env/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-env/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-env/0004/cmd Command: mlr -n put -v -f test/cases/dsl-env/0004/mlr Miller DSL script: $ENV["FOO"][2] = "bar" actualStdout [315]: DSL EXPRESSION: $ENV["FOO"][2] = "bar" AST: * statement block * assignment "=" * array or map index access "[]" * array or map index access "[]" * direct field value "ENV" * string literal "FOO" * int literal "2" * string literal "bar" expectedStdout [315]: DSL EXPRESSION: $ENV["FOO"][2] = "bar" AST: * statement block * assignment "=" * array or map index access "[]" * array or map index access "[]" * direct field value "ENV" * string literal "FOO" * int literal "2" * string literal "bar" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-env/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-env/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-env/0005/cmd Command: mlr --from test/input/s.dkvp --opprint head -n 2 then put -f test/cases/dsl-env/0005/mlr Miller DSL script: $z = ENV["FOO"] SETENV FOO=BAR UNSETENV FOO actualStdout [106]: a b i x y z pan pan 1 0.34679014 0.72680286 BAR eks pan 2 0.75867996 0.52215111 BAR expectedStdout [106]: a b i x y z pan pan 1 0.34679014 0.72680286 BAR eks pan 2 0.75867996 0.52215111 BAR actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-env/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-env/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-env/0006/cmd Command: mlr --from test/input/s.dkvp --opprint head -n 2 then put -f test/cases/dsl-env/0006/mlr Miller DSL script: $z = ENV["FOO"][1] SETENV FOO=BAR UNSETENV FOO actualStdout [102]: a b i x y z pan pan 1 0.34679014 0.72680286 B eks pan 2 0.75867996 0.52215111 B expectedStdout [102]: a b i x y z pan pan 1 0.34679014 0.72680286 B eks pan 2 0.75867996 0.52215111 B actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-env/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-env/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-env/0007/cmd Command: mlr --from test/input/s.dkvp --opprint head -n 2 then put -f test/cases/dsl-env/0007/mlr Miller DSL script: ENV["FOO"] = "bar" SETENV FOO=BAR UNSETENV FOO actualStdout [87]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 expectedStdout [87]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-env/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-env/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-env/0008/cmd Command: mlr --from test/input/s.dkvp --opprint head -n 2 then put -f test/cases/dsl-env/0008/mlr Miller DSL script: ENV["FOO"][2] = "bar" SETENV FOO=BAR UNSETENV FOO actualStdout [0]: expectedStdout [0]: actualStderr [33]: mlr: ENV[...] cannot be indexed. expectedStderr [33]: mlr: ENV[...] cannot be indexed. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-env/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-env/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-env/0009/cmd Command: mlr --from test/input/s.dkvp --opprint head -n 2 then put -f test/cases/dsl-env/0009/mlr Miller DSL script: ENV.FOO = "bar" SETENV FOO=BAR UNSETENV FOO actualStdout [87]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 expectedStdout [87]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-env/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-env/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-extended-typeof/0001/cmd Command: mlr --from test/input/xyz2 --oxtab put -f ./test/cases/dsl-extended-typeof/0001/mlr Miller DSL script: a = {1:2, 3:4}; b = {1: {2:3, 4:5}}; @c = {1:2, 3:4}; @d = {1: {2:3, 4:5}}; $ta = typeof(a); $ta1 = typeof(a[1]); $ta7 = typeof(a[7]); $tb = typeof(b); $tb1 = typeof(b[1]); $tb7 = typeof(b[7]); $tc = typeof(@c); $tc1 = typeof(@c[1]); $tc7 = typeof(@c[7]); $td = typeof(@d); $td1 = typeof(@d[1]); $td7 = typeof(@d[7]); $te1 = typeof(6); $te2 = typeof({6:4}); $tsa = typeof($a); $tsx = typeof($x); $ts = typeof($*); actualStdout [339]: x 3 y 4 z 5 ta map ta1 int ta7 absent tb map tb1 map tb7 absent tc map tc1 int tc7 absent td map td1 map td7 absent te1 int te2 map tsa absent tsx int ts map x 6 y 7 u 8 ta map ta1 int ta7 absent tb map tb1 map tb7 absent tc map tc1 int tc7 absent td map td1 map td7 absent te1 int te2 map tsa absent tsx int ts map expectedStdout [339]: x 3 y 4 z 5 ta map ta1 int ta7 absent tb map tb1 map tb7 absent tc map tc1 int tc7 absent td map td1 map td7 absent te1 int te2 map tsa absent tsx int ts map x 6 y 7 u 8 ta map ta1 int ta7 absent tb map tb1 map tb7 absent tc map tc1 int tc7 absent td map td1 map td7 absent te1 int te2 map tsa absent tsx int ts map actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-extended-typeof/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-extended-typeof/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter/0001/cmd Command: mlr --from test/input/s.dkvp --opprint put -f test/cases/dsl-filter/0001/mlr Miller DSL script: filter NR > 2 actualStdout [87]: a b i x y wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 expectedStdout [87]: a b i x y wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter/0002/cmd Command: mlr --from test/input/s.dkvp --opprint put -x -f test/cases/dsl-filter/0002/mlr Miller DSL script: filter NR > 2 actualStdout [87]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 expectedStdout [87]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter/0003/cmd Command: mlr --from test/input/s.dkvp --opprint put -f test/cases/dsl-filter/0003/mlr Miller DSL script: NR > 2 actualStdout [151]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 expectedStdout [151]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter/0004/cmd Command: mlr --from test/input/s.dkvp --opprint filter -x -f test/cases/dsl-filter/0004/mlr Miller DSL script: NR > 2 actualStdout [87]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 expectedStdout [87]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter/0005/cmd Command: mlr --from test/input/s.dkvp --opprint filter -f test/cases/dsl-filter/0005/mlr Miller DSL script: NR > 2 actualStdout [87]: a b i x y wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 expectedStdout [87]: a b i x y wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter/0006/cmd Command: mlr --from test/input/s.dkvp --opprint filter -x -f test/cases/dsl-filter/0006/mlr Miller DSL script: NR > 2 actualStdout [87]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 expectedStdout [87]: a b i x y pan pan 1 0.34679014 0.72680286 eks pan 2 0.75867996 0.52215111 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter/0007/cmd Command: mlr --from test/input/abixy --opprint filter -f test/cases/dsl-filter/0007/mlr Miller DSL script: $u=1; NR > 3; $v=2 actualStdout [296]: a b i x y u v eks wye 4 0.38139939 0.13418874 1 2 wye pan 5 0.57328892 0.86362447 1 2 zee pan 6 0.52712616 0.49322129 1 2 eks zee 7 0.61178406 0.18788492 1 2 zee wye 8 0.59855401 0.97618139 1 2 hat wye 9 0.03144188 0.74955076 1 2 pan wye 10 0.50262601 0.95261836 1 2 expectedStdout [296]: a b i x y u v eks wye 4 0.38139939 0.13418874 1 2 wye pan 5 0.57328892 0.86362447 1 2 zee pan 6 0.52712616 0.49322129 1 2 eks zee 7 0.61178406 0.18788492 1 2 zee wye 8 0.59855401 0.97618139 1 2 hat wye 9 0.03144188 0.74955076 1 2 pan wye 10 0.50262601 0.95261836 1 2 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter/0008/cmd Command: mlr --from test/input/abixy --opprint put -f test/cases/dsl-filter/0008/mlr Miller DSL script: $u=1; NR > 3; $v=2 actualStdout [407]: a b i x y u v pan pan 1 0.34679014 0.72680286 1 2 eks pan 2 0.75867996 0.52215111 1 2 wye wye 3 0.20460331 0.33831853 1 2 eks wye 4 0.38139939 0.13418874 1 2 wye pan 5 0.57328892 0.86362447 1 2 zee pan 6 0.52712616 0.49322129 1 2 eks zee 7 0.61178406 0.18788492 1 2 zee wye 8 0.59855401 0.97618139 1 2 hat wye 9 0.03144188 0.74955076 1 2 pan wye 10 0.50262601 0.95261836 1 2 expectedStdout [407]: a b i x y u v pan pan 1 0.34679014 0.72680286 1 2 eks pan 2 0.75867996 0.52215111 1 2 wye wye 3 0.20460331 0.33831853 1 2 eks wye 4 0.38139939 0.13418874 1 2 wye pan 5 0.57328892 0.86362447 1 2 zee pan 6 0.52712616 0.49322129 1 2 eks zee 7 0.61178406 0.18788492 1 2 zee wye 8 0.59855401 0.97618139 1 2 hat wye 9 0.03144188 0.74955076 1 2 pan wye 10 0.50262601 0.95261836 1 2 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0001/cmd Command: mlr --from test/input/s.dkvp put -f test/cases/dsl-filter-pattern-action/0001/mlr Miller DSL script: NR == 2 { $z = 100 } actualStdout [174]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=100 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 expectedStdout [174]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=100 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0002/cmd Command: mlr --from test/input/s.dkvp put -f test/cases/dsl-filter-pattern-action/0002/mlr Miller DSL script: NR != 2 { $z = 100 } actualStdout [186]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=100 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,z=100 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,z=100 expectedStdout [186]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=100 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,z=100 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,z=100 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0003/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0003/mlr test/input/abixy Miller DSL script: $x > 0.5; $z = "flag" actualStdout [415]: a b i x y z pan pan 1 0.34679014 0.72680286 flag eks pan 2 0.75867996 0.52215111 flag wye wye 3 0.20460331 0.33831853 flag eks wye 4 0.38139939 0.13418874 flag wye pan 5 0.57328892 0.86362447 flag zee pan 6 0.52712616 0.49322129 flag eks zee 7 0.61178406 0.18788492 flag zee wye 8 0.59855401 0.97618139 flag hat wye 9 0.03144188 0.74955076 flag pan wye 10 0.50262601 0.95261836 flag expectedStdout [415]: a b i x y z pan pan 1 0.34679014 0.72680286 flag eks pan 2 0.75867996 0.52215111 flag wye wye 3 0.20460331 0.33831853 flag eks wye 4 0.38139939 0.13418874 flag wye pan 5 0.57328892 0.86362447 flag zee pan 6 0.52712616 0.49322129 flag eks zee 7 0.61178406 0.18788492 flag zee wye 8 0.59855401 0.97618139 flag hat wye 9 0.03144188 0.74955076 flag pan wye 10 0.50262601 0.95261836 flag actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0004/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0004/mlr test/input/abixy Miller DSL script: !($x > 0.5); $z = "flag" actualStdout [415]: a b i x y z pan pan 1 0.34679014 0.72680286 flag eks pan 2 0.75867996 0.52215111 flag wye wye 3 0.20460331 0.33831853 flag eks wye 4 0.38139939 0.13418874 flag wye pan 5 0.57328892 0.86362447 flag zee pan 6 0.52712616 0.49322129 flag eks zee 7 0.61178406 0.18788492 flag zee wye 8 0.59855401 0.97618139 flag hat wye 9 0.03144188 0.74955076 flag pan wye 10 0.50262601 0.95261836 flag expectedStdout [415]: a b i x y z pan pan 1 0.34679014 0.72680286 flag eks pan 2 0.75867996 0.52215111 flag wye wye 3 0.20460331 0.33831853 flag eks wye 4 0.38139939 0.13418874 flag wye pan 5 0.57328892 0.86362447 flag zee pan 6 0.52712616 0.49322129 flag eks zee 7 0.61178406 0.18788492 flag zee wye 8 0.59855401 0.97618139 flag hat wye 9 0.03144188 0.74955076 flag pan wye 10 0.50262601 0.95261836 flag actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0005/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0005/mlr test/input/abixy Miller DSL script: filter $x > 0.5; $z = "flag" actualStdout [263]: a b i x y z eks pan 2 0.75867996 0.52215111 flag wye pan 5 0.57328892 0.86362447 flag zee pan 6 0.52712616 0.49322129 flag eks zee 7 0.61178406 0.18788492 flag zee wye 8 0.59855401 0.97618139 flag pan wye 10 0.50262601 0.95261836 flag expectedStdout [263]: a b i x y z eks pan 2 0.75867996 0.52215111 flag wye pan 5 0.57328892 0.86362447 flag zee pan 6 0.52712616 0.49322129 flag eks zee 7 0.61178406 0.18788492 flag zee wye 8 0.59855401 0.97618139 flag pan wye 10 0.50262601 0.95261836 flag actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0006/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0006/mlr test/input/abixy Miller DSL script: $x > 0.5 {$z = "flag"} actualStdout [528]: a b i x y pan pan 1 0.34679014 0.72680286 a b i x y z eks pan 2 0.75867996 0.52215111 flag a b i x y wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 a b i x y z wye pan 5 0.57328892 0.86362447 flag zee pan 6 0.52712616 0.49322129 flag eks zee 7 0.61178406 0.18788492 flag zee wye 8 0.59855401 0.97618139 flag a b i x y hat wye 9 0.03144188 0.74955076 a b i x y z pan wye 10 0.50262601 0.95261836 flag expectedStdout [528]: a b i x y pan pan 1 0.34679014 0.72680286 a b i x y z eks pan 2 0.75867996 0.52215111 flag a b i x y wye wye 3 0.20460331 0.33831853 eks wye 4 0.38139939 0.13418874 a b i x y z wye pan 5 0.57328892 0.86362447 flag zee pan 6 0.52712616 0.49322129 flag eks zee 7 0.61178406 0.18788492 flag zee wye 8 0.59855401 0.97618139 flag a b i x y hat wye 9 0.03144188 0.74955076 a b i x y z pan wye 10 0.50262601 0.95261836 flag actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0007/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0007/mlr test/input/abixy Miller DSL script: filter !($x > 0.5); $z = "flag" actualStdout [182]: a b i x y z pan pan 1 0.34679014 0.72680286 flag wye wye 3 0.20460331 0.33831853 flag eks wye 4 0.38139939 0.13418874 flag hat wye 9 0.03144188 0.74955076 flag expectedStdout [182]: a b i x y z pan pan 1 0.34679014 0.72680286 flag wye wye 3 0.20460331 0.33831853 flag eks wye 4 0.38139939 0.13418874 flag hat wye 9 0.03144188 0.74955076 flag actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0008/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0008/mlr test/input/abixy Miller DSL script: !($x > 0.5) {$z = "flag"} actualStdout [518]: a b i x y z pan pan 1 0.34679014 0.72680286 flag a b i x y eks pan 2 0.75867996 0.52215111 a b i x y z wye wye 3 0.20460331 0.33831853 flag eks wye 4 0.38139939 0.13418874 flag a b i x y wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 a b i x y z hat wye 9 0.03144188 0.74955076 flag a b i x y pan wye 10 0.50262601 0.95261836 expectedStdout [518]: a b i x y z pan pan 1 0.34679014 0.72680286 flag a b i x y eks pan 2 0.75867996 0.52215111 a b i x y z wye wye 3 0.20460331 0.33831853 flag eks wye 4 0.38139939 0.13418874 flag a b i x y wye pan 5 0.57328892 0.86362447 zee pan 6 0.52712616 0.49322129 eks zee 7 0.61178406 0.18788492 zee wye 8 0.59855401 0.97618139 a b i x y z hat wye 9 0.03144188 0.74955076 flag a b i x y pan wye 10 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0009/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0009/mlr test/input/sub.dat Miller DSL script: $y = sub($x, "e.*l", "") actualStdout [53]: x y hello ho HELLO HELLO world world WORLD WORLD expectedStdout [53]: x y hello ho HELLO HELLO world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0010/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0010/mlr test/input/sub.dat Miller DSL script: $y = sub($x, "e.*l"i, "") actualStdout [50]: x y hello ho HELLO HO world world WORLD WORLD expectedStdout [50]: x y hello ho HELLO HO world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0011/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0011/mlr test/input/sub.dat Miller DSL script: $y = sub($x, "e.*"."l", "") actualStdout [53]: x y hello ho HELLO HELLO world world WORLD WORLD expectedStdout [53]: x y hello ho HELLO HELLO world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0012/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0012/mlr test/input/sub.dat Miller DSL script: $y = sub($x, "e.*l", "y123y") actualStdout [58]: x y hello hy123yo HELLO HELLO world world WORLD WORLD expectedStdout [58]: x y hello hy123yo HELLO HELLO world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0013/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0013/mlr test/input/sub.dat Miller DSL script: $y = sub($x, "e.*l"i, "y123y") actualStdout [60]: x y hello hy123yo HELLO Hy123yO world world WORLD WORLD expectedStdout [60]: x y hello hy123yo HELLO Hy123yO world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0014/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0014/mlr test/input/sub.dat Miller DSL script: $y = sub($x, "e.*"."l", "y123y") actualStdout [58]: x y hello hy123yo HELLO HELLO world world WORLD WORLD expectedStdout [58]: x y hello hy123yo HELLO HELLO world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0015/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0015/mlr test/input/sub.dat Miller DSL script: $y = sub($x, "([hg])e.*l(.)", "y\1y123\2y") actualStdout [59]: x y hello yhy123oy HELLO HELLO world world WORLD WORLD expectedStdout [59]: x y hello yhy123oy HELLO HELLO world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0015/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0015/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0016/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0016/mlr test/input/sub.dat Miller DSL script: $y = sub($x, "([hg])e.*l.", "y\1y123\2y") actualStdout [58]: x y hello yhy123y HELLO HELLO world world WORLD WORLD expectedStdout [58]: x y hello yhy123y HELLO HELLO world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0016/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0016/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0017/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0017/mlr test/input/sub.dat Miller DSL script: $y = sub($x, "([hg])e.*l(.)", "y\1y123.y") actualStdout [59]: x y hello yhy123.y HELLO HELLO world world WORLD WORLD expectedStdout [59]: x y hello yhy123.y HELLO HELLO world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0017/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0017/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0018/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0018/mlr test/input/gsub.dat Miller DSL script: $y = sub($x, "a", "aa") actualStdout [131]: x y lmnop lmnop abcdefg aabcdefg ababbabbba aababbabbba LMNOP LMNOP ABCDEFG ABCDEFG ABABBABBBA ABABBABBBA expectedStdout [131]: x y lmnop lmnop abcdefg aabcdefg ababbabbba aababbabbba LMNOP LMNOP ABCDEFG ABCDEFG ABABBABBBA ABABBABBBA actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0018/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0018/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0019/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0019/mlr test/input/gsub.dat Miller DSL script: $y = gsub($x, "a", "aa") actualStdout [134]: x y lmnop lmnop abcdefg aabcdefg ababbabbba aabaabbaabbbaa LMNOP LMNOP ABCDEFG ABCDEFG ABABBABBBA ABABBABBBA expectedStdout [134]: x y lmnop lmnop abcdefg aabcdefg ababbabbba aabaabbaabbbaa LMNOP LMNOP ABCDEFG ABCDEFG ABABBABBBA ABABBABBBA actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0019/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0019/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0020/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0020/mlr test/input/gsub.dat Miller DSL script: $y = gsub($x, "A", "Aa") actualStdout [134]: x y lmnop lmnop abcdefg abcdefg ababbabbba ababbabbba LMNOP LMNOP ABCDEFG AaBCDEFG ABABBABBBA AaBAaBBAaBBBAa expectedStdout [134]: x y lmnop lmnop abcdefg abcdefg ababbabbba ababbabbba LMNOP LMNOP ABCDEFG AaBCDEFG ABABBABBBA AaBAaBBAaBBBAa actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0020/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0020/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0021/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0021/mlr test/input/gsub.dat Miller DSL script: $y = gsub($x, "a"i, "Aa") actualStdout [139]: x y lmnop lmnop abcdefg Aabcdefg ababbabbba AabAabbAabbbAa LMNOP LMNOP ABCDEFG AaBCDEFG ABABBABBBA AaBAaBBAaBBBAa expectedStdout [139]: x y lmnop lmnop abcdefg Aabcdefg ababbabbba AabAabbAabbbAa LMNOP LMNOP ABCDEFG AaBCDEFG ABABBABBBA AaBAaBBAaBBBAa actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0021/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0021/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0022/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0022/mlr test/input/gsub.dat Miller DSL script: $y = gsub($x, "A"i, "Aa") actualStdout [139]: x y lmnop lmnop abcdefg Aabcdefg ababbabbba AabAabbAabbbAa LMNOP LMNOP ABCDEFG AaBCDEFG ABABBABBBA AaBAaBBAaBBBAa expectedStdout [139]: x y lmnop lmnop abcdefg Aabcdefg ababbabbba AabAabbAabbbAa LMNOP LMNOP ABCDEFG AaBCDEFG ABABBABBBA AaBAaBBAaBBBAa actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0022/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0022/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0023/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0023/mlr test/input/gsub.dat Miller DSL script: $y = gsub($x, "a(.)", "aa\1\1\1") actualStdout [141]: x y lmnop lmnop abcdefg aabbbcdefg ababbabbba aabbbaabbbbaabbbbba LMNOP LMNOP ABCDEFG ABCDEFG ABABBABBBA ABABBABBBA expectedStdout [141]: x y lmnop lmnop abcdefg aabbbcdefg ababbabbba aabbbaabbbbaabbbbba LMNOP LMNOP ABCDEFG ABCDEFG ABABBABBBA ABABBABBBA actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0023/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0023/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0024/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0024/mlr test/input/gsub.dat Miller DSL script: $y = sub($x, "a", "") actualStdout [127]: x y lmnop lmnop abcdefg bcdefg ababbabbba babbabbba LMNOP LMNOP ABCDEFG ABCDEFG ABABBABBBA ABABBABBBA expectedStdout [127]: x y lmnop lmnop abcdefg bcdefg ababbabbba babbabbba LMNOP LMNOP ABCDEFG ABCDEFG ABABBABBBA ABABBABBBA actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0024/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0024/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0025/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0025/mlr test/input/gsub.dat Miller DSL script: $y = gsub($x, "a", "") actualStdout [124]: x y lmnop lmnop abcdefg bcdefg ababbabbba bbbbbb LMNOP LMNOP ABCDEFG ABCDEFG ABABBABBBA ABABBABBBA expectedStdout [124]: x y lmnop lmnop abcdefg bcdefg ababbabbba bbbbbb LMNOP LMNOP ABCDEFG ABCDEFG ABABBABBBA ABABBABBBA actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0025/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0025/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0026/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0026/mlr test/input/gsub.dat Miller DSL script: $y = gsub($x, "A", "") actualStdout [124]: x y lmnop lmnop abcdefg abcdefg ababbabbba ababbabbba LMNOP LMNOP ABCDEFG BCDEFG ABABBABBBA BBBBBB expectedStdout [124]: x y lmnop lmnop abcdefg abcdefg ababbabbba ababbabbba LMNOP LMNOP ABCDEFG BCDEFG ABABBABBBA BBBBBB actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0026/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0026/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0027/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0027/mlr test/input/gsub.dat Miller DSL script: $y = gsub($x, "a"i, "") actualStdout [119]: x y lmnop lmnop abcdefg bcdefg ababbabbba bbbbbb LMNOP LMNOP ABCDEFG BCDEFG ABABBABBBA BBBBBB expectedStdout [119]: x y lmnop lmnop abcdefg bcdefg ababbabbba bbbbbb LMNOP LMNOP ABCDEFG BCDEFG ABABBABBBA BBBBBB actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0027/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0027/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0028/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0028/mlr test/input/gsub.dat Miller DSL script: $y = gsub($x, "A"i, "") actualStdout [119]: x y lmnop lmnop abcdefg bcdefg ababbabbba bbbbbb LMNOP LMNOP ABCDEFG BCDEFG ABABBABBBA BBBBBB expectedStdout [119]: x y lmnop lmnop abcdefg bcdefg ababbabbba bbbbbb LMNOP LMNOP ABCDEFG BCDEFG ABABBABBBA BBBBBB actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0028/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0028/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0029/cmd Command: mlr --oxtab cat test/input/subtab.dkvp actualStdout [40]: x afoob x a\tb x a\\tb x a b z x expectedStdout [40]: x afoob x a\tb x a\\tb x a b z x actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0029/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0029/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0030/cmd Command: mlr --oxtab put -f test/input/subtab1.mlr test/input/subtab.dkvp actualStdout [74]: x afoob y afoob x a\tb y a\tb x a\\tb y a\\tb x a b y aTABb z x y expectedStdout [74]: x afoob y afoob x a\tb y a\tb x a\\tb y a\\tb x a b y aTABb z x y actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0030/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0030/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0031/cmd Command: mlr --oxtab put -f test/input/subtab2.mlr test/input/subtab.dkvp actualStdout [74]: x afoob y afoob x a\tb y aTABb x a\\tb y a\TABb x a b y a b z x y expectedStdout [74]: x afoob y afoob x a\tb y aTABb x a\\tb y a\TABb x a b y a b z x y actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0031/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0031/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0032/cmd Command: mlr --oxtab put -f test/input/subtab3.mlr test/input/subtab.dkvp actualStdout [72]: x afoob y afoob x a\tb y a\tb x a\\tb y a\\tb x a b y a b z x y expectedStdout [72]: x afoob y afoob x a\tb y a\tb x a\\tb y a\\tb x a b y a b z x y actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0032/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0032/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0033/cmd Command: mlr --oxtab put -f test/input/subtab4.mlr test/input/subtab.dkvp actualStdout [70]: x afoob y afoob x a\tb y a b x a\\tb y a\ b x a b y a b z x y expectedStdout [70]: x afoob y afoob x a\tb y a b x a\\tb y a\ b x a b y a b z x y actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0033/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0033/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0034/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0034/mlr test/input/sub.dat Miller DSL script: $y = ssub($x, "HE", "") actualStdout [54]: x y hello hello HELLO LLO world world WORLD WORLD expectedStdout [54]: x y hello hello HELLO LLO world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0034/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0034/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0035/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0035/mlr test/input/sub.dat Miller DSL script: $y = ssub($x, "HE", "HE") actualStdout [56]: x y hello hello HELLO HELLO world world WORLD WORLD expectedStdout [56]: x y hello hello HELLO HELLO world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0035/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0035/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0036/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0036/mlr test/input/sub.dat Miller DSL script: $y = ssub($x, "HE", "12345") actualStdout [59]: x y hello hello HELLO 12345LLO world world WORLD WORLD expectedStdout [59]: x y hello hello HELLO 12345LLO world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0036/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0036/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0037/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0037/mlr test/input/sub.dat Miller DSL script: $y = ssub($x, "LL", "1") actualStdout [55]: x y hello hello HELLO HE1O world world WORLD WORLD expectedStdout [55]: x y hello hello HELLO HE1O world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0037/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0037/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0038/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0038/mlr test/input/sub.dat Miller DSL script: $y = ssub($x, "LL", "12") actualStdout [56]: x y hello hello HELLO HE12O world world WORLD WORLD expectedStdout [56]: x y hello hello HELLO HE12O world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0038/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0038/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0039/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0039/mlr test/input/sub.dat Miller DSL script: $y = ssub($x, "LL", "12345") actualStdout [59]: x y hello hello HELLO HE12345O world world WORLD WORLD expectedStdout [59]: x y hello hello HELLO HE12345O world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0039/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0039/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0040/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0040/mlr test/input/sub.dat Miller DSL script: $y = ssub($x, "LLO", "") actualStdout [53]: x y hello hello HELLO HE world world WORLD WORLD expectedStdout [53]: x y hello hello HELLO HE world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0040/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0040/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0041/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0041/mlr test/input/sub.dat Miller DSL script: $y = ssub($x, "LLO", "12") actualStdout [55]: x y hello hello HELLO HE12 world world WORLD WORLD expectedStdout [55]: x y hello hello HELLO HE12 world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0041/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0041/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0042/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0042/mlr test/input/sub.dat Miller DSL script: $y = ssub($x, "LLO", "123") actualStdout [56]: x y hello hello HELLO HE123 world world WORLD WORLD expectedStdout [56]: x y hello hello HELLO HE123 world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0042/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0042/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0043/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0043/mlr test/input/sub.dat Miller DSL script: $y = ssub($x, "LLO", "123456") actualStdout [59]: x y hello hello HELLO HE123456 world world WORLD WORLD expectedStdout [59]: x y hello hello HELLO HE123456 world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0043/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0043/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0044/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0044/mlr test/input/sub.dat Miller DSL script: $y = ssub($x, "HELLO", "") actualStdout [52]: x y hello hello HELLO - world world WORLD WORLD expectedStdout [52]: x y hello hello HELLO - world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0044/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0044/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0045/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0045/mlr test/input/sub.dat Miller DSL script: $y = ssub($x, "HELLO", "1234") actualStdout [55]: x y hello hello HELLO 1234 world world WORLD WORLD expectedStdout [55]: x y hello hello HELLO 1234 world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0045/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0045/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0046/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0046/mlr test/input/sub.dat Miller DSL script: $y = ssub($x, "HELLO", "12345") actualStdout [56]: x y hello hello HELLO 12345 world world WORLD WORLD expectedStdout [56]: x y hello hello HELLO 12345 world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0046/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0046/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0047/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0047/mlr test/input/sub.dat Miller DSL script: $y = ssub($x, "HELLO", "1234678") actualStdout [58]: x y hello hello HELLO 1234678 world world WORLD WORLD expectedStdout [58]: x y hello hello HELLO 1234678 world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0047/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0047/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0048/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0048/mlr test/input/sub.dat Miller DSL script: $y = ssub($x, "nonesuch", "") actualStdout [56]: x y hello hello HELLO HELLO world world WORLD WORLD expectedStdout [56]: x y hello hello HELLO HELLO world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0048/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0048/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0049/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0049/mlr test/input/sub.dat Miller DSL script: $y = ssub($x, "nonesuch", "1234") actualStdout [56]: x y hello hello HELLO HELLO world world WORLD WORLD expectedStdout [56]: x y hello hello HELLO HELLO world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0049/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0049/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0050/cmd Command: mlr --opprint put -f test/cases/dsl-filter-pattern-action/0050/mlr test/input/sub.dat Miller DSL script: $y = ssub($x, "nonesuch", "1234567890") actualStdout [56]: x y hello hello HELLO HELLO world world WORLD WORLD expectedStdout [56]: x y hello hello HELLO HELLO world world WORLD WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0050/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0050/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0051/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0051/mlr test/input/sub.dat Miller DSL script: $y = regextract($x, "[A-Z]+") actualStdout [51]: x hello x HELLO y HELLO x world x WORLD y WORLD expectedStdout [51]: x hello x HELLO y HELLO x world x WORLD y WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0051/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0051/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0052/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0052/mlr test/input/sub.dat Miller DSL script: $y = regextract($x, "[A-Z]*") actualStdout [57]: x hello y x HELLO y HELLO x world y x WORLD y WORLD expectedStdout [57]: x hello y x HELLO y HELLO x world y x WORLD y WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0052/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0052/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0053/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0053/mlr test/input/sub.dat Miller DSL script: $y = regextract($x, "[a-z]+") actualStdout [51]: x hello y hello x HELLO x world y world x WORLD expectedStdout [51]: x hello y hello x HELLO x world y world x WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0053/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0053/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0054/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0054/mlr test/input/sub.dat Miller DSL script: $y = regextract($x, "[a-z]*") actualStdout [57]: x hello y hello x HELLO y x world y world x WORLD y expectedStdout [57]: x hello y hello x HELLO y x world y world x WORLD y actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0054/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0054/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0055/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0055/mlr test/input/sub.dat Miller DSL script: $y = regextract($x, "[0-9]+") actualStdout [35]: x hello x HELLO x world x WORLD expectedStdout [35]: x hello x HELLO x world x WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0055/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0055/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0056/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0056/mlr test/input/sub.dat Miller DSL script: $y = regextract($x, "[0-9]*") actualStdout [47]: x hello y x HELLO y x world y x WORLD y expectedStdout [47]: x hello y x HELLO y x world y x WORLD y actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0056/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0056/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0057/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0057/mlr test/input/sub.dat Miller DSL script: $y = regextract($x, "[ef]+") actualStdout [39]: x hello y e x HELLO x world x WORLD expectedStdout [39]: x hello y e x HELLO x world x WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0057/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0057/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0058/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0058/mlr test/input/sub.dat Miller DSL script: $y = regextract($x, "[ef]*") actualStdout [47]: x hello y x HELLO y x world y x WORLD y expectedStdout [47]: x hello y x HELLO y x world y x WORLD y actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0058/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0058/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0059/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0059/mlr test/input/sub.dat Miller DSL script: $y = regextract($x, "[hi]+") actualStdout [39]: x hello y h x HELLO x world x WORLD expectedStdout [39]: x hello y h x HELLO x world x WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0059/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0059/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0060/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0060/mlr test/input/sub.dat Miller DSL script: $y = regextract($x, "[hi]*") actualStdout [48]: x hello y h x HELLO y x world y x WORLD y expectedStdout [48]: x hello y h x HELLO y x world y x WORLD y actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0060/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0060/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0061/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0061/mlr test/input/sub.dat Miller DSL script: $y = regextract($x, "[op]+") actualStdout [43]: x hello y o x HELLO x world y o x WORLD expectedStdout [43]: x hello y o x HELLO x world y o x WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0061/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0061/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0062/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0062/mlr test/input/sub.dat Miller DSL script: $y = regextract($x, "[op]*") actualStdout [47]: x hello y x HELLO y x world y x WORLD y expectedStdout [47]: x hello y x HELLO y x world y x WORLD y actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0062/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0062/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0063/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0063/mlr test/input/sub.dat Miller DSL script: $y = regextract_or_else($x, "[A-Z]+", "DEFAULT") actualStdout [71]: x hello y DEFAULT x HELLO y HELLO x world y DEFAULT x WORLD y WORLD expectedStdout [71]: x hello y DEFAULT x HELLO y HELLO x world y DEFAULT x WORLD y WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0063/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0063/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0064/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0064/mlr test/input/sub.dat Miller DSL script: $y = regextract_or_else($x, "[A-Z]*", "DEFAULT") actualStdout [57]: x hello y x HELLO y HELLO x world y x WORLD y WORLD expectedStdout [57]: x hello y x HELLO y HELLO x world y x WORLD y WORLD actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0064/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0064/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0065/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0065/mlr test/input/sub.dat Miller DSL script: $y = regextract_or_else($x, "[a-z]+", "DEFAULT") actualStdout [71]: x hello y hello x HELLO y DEFAULT x world y world x WORLD y DEFAULT expectedStdout [71]: x hello y hello x HELLO y DEFAULT x world y world x WORLD y DEFAULT actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0065/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0065/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0066/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0066/mlr test/input/sub.dat Miller DSL script: $y = regextract_or_else($x, "[a-z]*", "DEFAULT") actualStdout [57]: x hello y hello x HELLO y x world y world x WORLD y expectedStdout [57]: x hello y hello x HELLO y x world y world x WORLD y actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0066/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0066/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0067/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0067/mlr test/input/sub.dat Miller DSL script: $y = regextract_or_else($x, "[0-9]+", "DEFAULT") actualStdout [75]: x hello y DEFAULT x HELLO y DEFAULT x world y DEFAULT x WORLD y DEFAULT expectedStdout [75]: x hello y DEFAULT x HELLO y DEFAULT x world y DEFAULT x WORLD y DEFAULT actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0067/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0067/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0068/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0068/mlr test/input/sub.dat Miller DSL script: $y = regextract_or_else($x, "[0-9]*", "DEFAULT") actualStdout [47]: x hello y x HELLO y x world y x WORLD y expectedStdout [47]: x hello y x HELLO y x world y x WORLD y actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0068/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0068/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0069/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0069/mlr test/input/sub.dat Miller DSL script: $y = regextract_or_else($x, "[ef]+", "DEFAULT") actualStdout [69]: x hello y e x HELLO y DEFAULT x world y DEFAULT x WORLD y DEFAULT expectedStdout [69]: x hello y e x HELLO y DEFAULT x world y DEFAULT x WORLD y DEFAULT actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0069/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0069/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0070/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0070/mlr test/input/sub.dat Miller DSL script: $y = regextract_or_else($x, "[ef]*", "DEFAULT") actualStdout [47]: x hello y x HELLO y x world y x WORLD y expectedStdout [47]: x hello y x HELLO y x world y x WORLD y actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0070/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0070/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0071/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0071/mlr test/input/sub.dat Miller DSL script: $y = regextract_or_else($x, "[hi]+", "DEFAULT") actualStdout [69]: x hello y h x HELLO y DEFAULT x world y DEFAULT x WORLD y DEFAULT expectedStdout [69]: x hello y h x HELLO y DEFAULT x world y DEFAULT x WORLD y DEFAULT actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0071/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0071/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0072/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0072/mlr test/input/sub.dat Miller DSL script: $y = regextract_or_else($x, "[hi]*", "DEFAULT") actualStdout [48]: x hello y h x HELLO y x world y x WORLD y expectedStdout [48]: x hello y h x HELLO y x world y x WORLD y actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0072/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0072/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0073/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0073/mlr test/input/sub.dat Miller DSL script: $y = regextract_or_else($x, "[op]+", "DEFAULT") actualStdout [63]: x hello y o x HELLO y DEFAULT x world y o x WORLD y DEFAULT expectedStdout [63]: x hello y o x HELLO y DEFAULT x world y o x WORLD y DEFAULT actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0073/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0073/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0074/cmd Command: mlr --oxtab put -f test/cases/dsl-filter-pattern-action/0074/mlr test/input/sub.dat Miller DSL script: $y = regextract_or_else($x, "[op]*", "DEFAULT") actualStdout [47]: x hello y x HELLO y x world y x WORLD y expectedStdout [47]: x hello y x HELLO y x world y x WORLD y actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0074/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0074/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0075/cmd Command: mlr --nidx put -f test/cases/dsl-filter-pattern-action/0075/mlr test/cases/dsl-filter-pattern-action/0075/input Miller DSL script: $1 = sub($1, "ab(.)d(..)g", "ab<<\1>>d<<\2>>g") actualStdout [16]: ab<>d<>g expectedStdout [16]: ab<>d<>g actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0075/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0075/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0076/cmd Command: mlr --nidx put -f test/cases/dsl-filter-pattern-action/0076/mlr test/cases/dsl-filter-pattern-action/0076/input Miller DSL script: $1 = sub($1, "ab(c)?d(..)g", "ab<<\1>>d<<\2>>g") actualStdout [16]: ab<>d<>g expectedStdout [16]: ab<>d<>g actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0076/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0076/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0077/cmd Command: mlr --nidx put -f test/cases/dsl-filter-pattern-action/0077/mlr test/cases/dsl-filter-pattern-action/0077/input Miller DSL script: $1 = sub($1, "ab(c)?d(..)g", "ab<<\1>>d<<\2>>g") actualStdout [8]: abXdefg expectedStdout [8]: abXdefg actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0077/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0077/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-filter-pattern-action/0078/cmd Command: mlr --nidx put -f test/cases/dsl-filter-pattern-action/0078/mlr test/cases/dsl-filter-pattern-action/0078/input Miller DSL script: $1 = sub($1, "ab(c)?d(..)g", "ab<<\1>>d<<\2>>g") actualStdout [15]: ab<<>>d<>g expectedStdout [15]: ab<<>>d<>g actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-filter-pattern-action/0078/cmd ---------------------------------------------------------------- end ./test/cases/dsl-filter-pattern-action/0078/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/aaa-setup-0001/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/aaa-setup-0001/mlr Miller DSL script: end { f = func (a,b) { return a * b }; print f(3, 4); } actualStdout [3]: 12 expectedStdout [3]: 12 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/aaa-setup-0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/aaa-setup-0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/aaa-setup-0002/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/aaa-setup-0002/mlr Miller DSL script: end { f = func (a,b) { return a * b }; print typeof(f); print f(3, 4); } actualStdout [9]: funct 12 expectedStdout [9]: funct 12 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/aaa-setup-0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/aaa-setup-0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/aaa-setup-0003/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/aaa-setup-0003/mlr Miller DSL script: func udf(a,b) { return a * b }; end { f = udf; print typeof(f); print f(3, 4); } actualStdout [9]: funct 12 expectedStdout [9]: funct 12 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/aaa-setup-0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/aaa-setup-0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/aaa-setup-0004/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/aaa-setup-0004/mlr Miller DSL script: func udf(a,b) { return a * b } end { funct f = udf; print typeof(f); print f(3, 4); } actualStdout [9]: funct 12 expectedStdout [9]: funct 12 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/aaa-setup-0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/aaa-setup-0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/aaa-setup-0005/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/aaa-setup-0005/mlr Miller DSL script: func udf(a,b) { return a * b } end { funct f = udf; print typeof(f); print f(3, 4); } actualStdout [9]: funct 12 expectedStdout [9]: funct 12 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/aaa-setup-0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/aaa-setup-0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/aaa-setup-0006/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/aaa-setup-0006/mlr Miller DSL script: end { # Test that function literals can access containing scope f = func(x) { return x < cap }; g = func(x) { return x >= cap }; cap = 10; print 5, f(5); print 15, f(15); print 5, g(5); print 15, g(15); h = func(a, y) { print y, a(y); }; h(f, 9); h(f, 10); h(f, 11); h(g, 9); h(g, 10); h(g, 11); } actualStdout [81]: 5 true 15 false 5 false 15 true 9 true 10 false 11 false 9 false 10 true 11 true expectedStdout [81]: 5 true 15 false 5 false 15 true 9 true 10 false 11 false 9 false 10 true 11 true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/aaa-setup-0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/aaa-setup-0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/any-array-0001/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/any-array-0001/mlr Miller DSL script: end { my_array = [2, 9, 10, 3, 1, 4, 5, 8, 7, 6]; print my_array; print any(my_array, func (e) { return e > 0 }); print any(my_array, func (e) { return e > 5 }); print any(my_array, func (e) { return e > 10 }); } actualStdout [48]: [2, 9, 10, 3, 1, 4, 5, 8, 7, 6] true true false expectedStdout [48]: [2, 9, 10, 3, 1, 4, 5, 8, 7, 6] true true false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/any-array-0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/any-array-0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/any-array-0002/cmd Command: mlr --from test/input/abixy filter -f test/cases/dsl-first-class-functions/any-array-0002/mlr Miller DSL script: any([3,4,5,6], func(e) {return $i == e}) actualStdout [168]: a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 expectedStdout [168]: a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/any-array-0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/any-array-0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/any-errors-01/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/any-errors-01/mlr Miller DSL script: end { print any("not array or map", func (k,v) { return v % 10 >= 5}); } actualStdout [8]: (error) expectedStdout [8]: (error) actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/any-errors-01/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/any-errors-01/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/any-errors-02/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/any-errors-02/mlr Miller DSL script: end { print any([]) } actualStdout [0]: expectedStdout [0]: actualStderr [54]: mlr: function any invoked with 1 argument; expected 2 expectedStderr [54]: mlr: function any invoked with 1 argument; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/any-errors-02/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/any-errors-02/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/any-errors-03/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/any-errors-03/mlr Miller DSL script: end { print any({}) } actualStdout [0]: expectedStdout [0]: actualStderr [54]: mlr: function any invoked with 1 argument; expected 2 expectedStderr [54]: mlr: function any invoked with 1 argument; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/any-errors-03/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/any-errors-03/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/any-errors-04/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/any-errors-04/mlr Miller DSL script: end { print any([], 2, 3, 4) } actualStdout [0]: expectedStdout [0]: actualStderr [55]: mlr: function any invoked with 4 arguments; expected 2 expectedStderr [55]: mlr: function any invoked with 4 arguments; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/any-errors-04/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/any-errors-04/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/any-errors-05/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/any-errors-05/mlr Miller DSL script: end { print any({}, 2, 3, 4) } actualStdout [0]: expectedStdout [0]: actualStderr [55]: mlr: function any invoked with 4 arguments; expected 2 expectedStderr [55]: mlr: function any invoked with 4 arguments; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/any-errors-05/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/any-errors-05/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/any-errors-06/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/any-errors-06/mlr Miller DSL script: end { print any([], func () { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [87]: mlr: any: argument function "function-literal-000001" has arity 0; needed 1 for array. expectedStderr [87]: mlr: any: argument function "function-literal-000001" has arity 0; needed 1 for array. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/any-errors-06/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/any-errors-06/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/any-errors-07/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/any-errors-07/mlr Miller DSL script: end { print any({}, func () { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: any: argument function "function-literal-000001" has arity 0; needed 2 for map. expectedStderr [85]: mlr: any: argument function "function-literal-000001" has arity 0; needed 2 for map. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/any-errors-07/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/any-errors-07/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/any-errors-08/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/any-errors-08/mlr Miller DSL script: end { print any([], func (a,b,c) { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [87]: mlr: any: argument function "function-literal-000001" has arity 3; needed 1 for array. expectedStderr [87]: mlr: any: argument function "function-literal-000001" has arity 3; needed 1 for array. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/any-errors-08/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/any-errors-08/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/any-errors-09/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/any-errors-09/mlr Miller DSL script: end { print any({}, func (a,b,c,d,e) { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: any: argument function "function-literal-000001" has arity 5; needed 2 for map. expectedStderr [85]: mlr: any: argument function "function-literal-000001" has arity 5; needed 2 for map. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/any-errors-09/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/any-errors-09/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/any-errors-10/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/any-errors-10/mlr Miller DSL script: end { print any([1,2,3], func (a,b) { }); } actualStdout [0]: expectedStdout [0]: actualStderr [87]: mlr: any: argument function "function-literal-000001" has arity 2; needed 1 for array. expectedStderr [87]: mlr: any: argument function "function-literal-000001" has arity 2; needed 1 for array. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/any-errors-10/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/any-errors-10/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/any-errors-11/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/any-errors-11/mlr Miller DSL script: end { print any({"a":1,"b":2,"c":3}, func (ak,av,bk,bv) { }); } actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: any: argument function "function-literal-000001" has arity 4; needed 2 for map. expectedStderr [85]: mlr: any: argument function "function-literal-000001" has arity 4; needed 2 for map. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/any-errors-11/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/any-errors-11/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/any-errors-12/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/any-errors-12/mlr Miller DSL script: end { print any({"a":1,"b":2,"c":3}, func (ak,av,bk,bv) { return {} }); } actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: any: argument function "function-literal-000001" has arity 4; needed 2 for map. expectedStderr [85]: mlr: any: argument function "function-literal-000001" has arity 4; needed 2 for map. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/any-errors-12/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/any-errors-12/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/any-map-0001/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/any-map-0001/mlr Miller DSL script: end { my_map = {"cubit": 823, "dale": 13, "apple": 199, "ember": 191, "bottle": 107}; print "Original:"; print my_map; print; print "Ascending by key:"; print any(my_map); print any(my_map, func(ak,av,bk,bv) { return ak <=> bk }); print; print "Descending by key:"; print any(my_map, "r"); print any(my_map, func(ak,av,bk,bv) { return bk <=> ak }); print; print "Ascending by value:"; print any(my_map, func(ak,av,bk,bv) { return av <=> bv }); print; print "Descending by value:"; print any(my_map, func(ak,av,bk,bv) { return bv <=> av }); } actualStdout [0]: expectedStdout [0]: actualStderr [54]: mlr: function any invoked with 1 argument; expected 2 expectedStderr [54]: mlr: function any invoked with 1 argument; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/any-map-0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/any-map-0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/any-map-0002/cmd Command: mlr --from test/input/abixy filter -f test/cases/dsl-first-class-functions/any-map-0002/mlr Miller DSL script: any({"a": "wye", "b": "wye"}, func(k, v) {return $[k] == v}) actualStdout [253]: a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [253]: a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/any-map-0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/any-map-0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/apply-array-0001/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/apply-array-0001/mlr Miller DSL script: end { my_array = [2, 9, 10, 3, 1, 4, 5, 8, 7, 6]; print "Original:"; print my_array; print; print "Squares:"; print apply(my_array, func(e) { return e**2 }); print; print "Cubes:"; print apply(my_array, func(e) { return e**3 }); print; print "Sorted cubes:"; print sort(apply(my_array, func(e) { return e**3 })); } actualStdout [206]: Original: [2, 9, 10, 3, 1, 4, 5, 8, 7, 6] Squares: [4, 81, 100, 9, 1, 16, 25, 64, 49, 36] Cubes: [8, 729, 1000, 27, 1, 64, 125, 512, 343, 216] Sorted cubes: [1, 8, 27, 64, 125, 216, 343, 512, 729, 1000] expectedStdout [206]: Original: [2, 9, 10, 3, 1, 4, 5, 8, 7, 6] Squares: [4, 81, 100, 9, 1, 16, 25, 64, 49, 36] Cubes: [8, 729, 1000, 27, 1, 64, 125, 512, 343, 216] Sorted cubes: [1, 8, 27, 64, 125, 216, 343, 512, 729, 1000] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/apply-array-0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/apply-array-0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/apply-errors-01/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/apply-errors-01/mlr Miller DSL script: end { print apply("not array or map", func (k,v) { return v % 10 >= 5}); } actualStdout [8]: (error) expectedStdout [8]: (error) actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/apply-errors-01/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/apply-errors-01/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/apply-errors-02/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/apply-errors-02/mlr Miller DSL script: end { print apply([]) } actualStdout [0]: expectedStdout [0]: actualStderr [56]: mlr: function apply invoked with 1 argument; expected 2 expectedStderr [56]: mlr: function apply invoked with 1 argument; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/apply-errors-02/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/apply-errors-02/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/apply-errors-03/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/apply-errors-03/mlr Miller DSL script: end { print apply({}) } actualStdout [0]: expectedStdout [0]: actualStderr [56]: mlr: function apply invoked with 1 argument; expected 2 expectedStderr [56]: mlr: function apply invoked with 1 argument; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/apply-errors-03/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/apply-errors-03/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/apply-errors-04/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/apply-errors-04/mlr Miller DSL script: end { print apply([], 2, 3, 4) } actualStdout [0]: expectedStdout [0]: actualStderr [57]: mlr: function apply invoked with 4 arguments; expected 2 expectedStderr [57]: mlr: function apply invoked with 4 arguments; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/apply-errors-04/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/apply-errors-04/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/apply-errors-05/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/apply-errors-05/mlr Miller DSL script: end { print apply({}, 2, 3, 4) } actualStdout [0]: expectedStdout [0]: actualStderr [57]: mlr: function apply invoked with 4 arguments; expected 2 expectedStderr [57]: mlr: function apply invoked with 4 arguments; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/apply-errors-05/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/apply-errors-05/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/apply-errors-06/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/apply-errors-06/mlr Miller DSL script: end { print apply([], "not a function") } actualStdout [0]: expectedStdout [0]: actualStderr [60]: mlr: apply: second argument must be a function; got string. expectedStderr [60]: mlr: apply: second argument must be a function; got string. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/apply-errors-06/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/apply-errors-06/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/apply-errors-07/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/apply-errors-07/mlr Miller DSL script: end { print apply({}, "not a function") } actualStdout [0]: expectedStdout [0]: actualStderr [60]: mlr: apply: second argument must be a function; got string. expectedStderr [60]: mlr: apply: second argument must be a function; got string. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/apply-errors-07/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/apply-errors-07/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/apply-errors-08/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/apply-errors-08/mlr Miller DSL script: end { print apply([], func () { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [89]: mlr: apply: argument function "function-literal-000001" has arity 0; needed 1 for array. expectedStderr [89]: mlr: apply: argument function "function-literal-000001" has arity 0; needed 1 for array. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/apply-errors-08/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/apply-errors-08/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/apply-errors-09/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/apply-errors-09/mlr Miller DSL script: end { print apply({}, func () { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [87]: mlr: apply: argument function "function-literal-000001" has arity 0; needed 2 for map. expectedStderr [87]: mlr: apply: argument function "function-literal-000001" has arity 0; needed 2 for map. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/apply-errors-09/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/apply-errors-09/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/apply-errors-10/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/apply-errors-10/mlr Miller DSL script: end { print apply([], func (a,b) { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [89]: mlr: apply: argument function "function-literal-000001" has arity 2; needed 1 for array. expectedStderr [89]: mlr: apply: argument function "function-literal-000001" has arity 2; needed 1 for array. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/apply-errors-10/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/apply-errors-10/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/apply-errors-11/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/apply-errors-11/mlr Miller DSL script: end { print apply({}, func (a,b,c) { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [87]: mlr: apply: argument function "function-literal-000001" has arity 3; needed 2 for map. expectedStderr [87]: mlr: apply: argument function "function-literal-000001" has arity 3; needed 2 for map. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/apply-errors-11/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/apply-errors-11/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/apply-errors-12/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/apply-errors-12/mlr Miller DSL script: end { print apply([1,2,3], func (e) { }); } actualStdout [0]: expectedStdout [0]: actualStderr [74]: mlr: apply: second-argument function must return a value; got "(absent)". expectedStderr [74]: mlr: apply: second-argument function must return a value; got "(absent)". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/apply-errors-12/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/apply-errors-12/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/apply-errors-13/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/apply-errors-13/mlr Miller DSL script: end { print apply({"a":1,"b":2,"c":3}, func (k,v) { }); } actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: apply: second-argument function must return single-element map; got "(absent)". expectedStderr [85]: mlr: apply: second-argument function must return single-element map; got "(absent)". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/apply-errors-13/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/apply-errors-13/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/apply-errors-14/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/apply-errors-14/mlr Miller DSL script: end { print apply({"a":1,"b":2,"c":3}, func (k,v) { return 999 }); } actualStdout [0]: expectedStdout [0]: actualStderr [80]: mlr: apply: second-argument function must return single-element map; got "999". expectedStderr [80]: mlr: apply: second-argument function must return single-element map; got "999". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/apply-errors-14/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/apply-errors-14/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/apply-errors-15/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/apply-errors-15/mlr Miller DSL script: end { print apply({"a":1,"b":2,"c":3}, func (k,v) { return {} }); } actualStdout [0]: expectedStdout [0]: actualStderr [79]: mlr: apply: second-argument function must return single-element map; got "{}". expectedStderr [79]: mlr: apply: second-argument function must return single-element map; got "{}". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/apply-errors-15/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/apply-errors-15/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/apply-errors-16/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/apply-errors-16/mlr Miller DSL script: end { print apply({"a":1,"b":2,"c":3}, func (k,v) { return {"x":7,"y":8} }); } actualStdout [0]: expectedStdout [0]: actualStderr [99]: mlr: apply: second-argument function must return single-element map; got "{ "x": 7, "y": 8 }". expectedStderr [99]: mlr: apply: second-argument function must return single-element map; got "{ "x": 7, "y": 8 }". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/apply-errors-16/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/apply-errors-16/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/apply-map-0001/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/apply-map-0001/mlr Miller DSL script: end { my_map = {"cubit": 823, "dale": 13, "apple": 199, "ember": 191, "bottle": 107}; print "Original:"; print my_map; print; print "Squared values:"; print apply(my_map, func(k,v) { return {k: v**2} }); print; print "Cubed values, sorted by key:"; print sort(apply(my_map, func(k,v) { return {k: v**3} })); print; print "Same, with upcased keys:"; print sort(apply(my_map, func(k,v) { return {toupper(k): v**3} })); } actualStdout [461]: Original: { "cubit": 823, "dale": 13, "apple": 199, "ember": 191, "bottle": 107 } Squared values: { "cubit": 677329, "dale": 169, "apple": 39601, "ember": 36481, "bottle": 11449 } Cubed values, sorted by key: { "apple": 7880599, "bottle": 1225043, "cubit": 557441767, "dale": 2197, "ember": 6967871 } Same, with upcased keys: { "APPLE": 7880599, "BOTTLE": 1225043, "CUBIT": 557441767, "DALE": 2197, "EMBER": 6967871 } expectedStdout [461]: Original: { "cubit": 823, "dale": 13, "apple": 199, "ember": 191, "bottle": 107 } Squared values: { "cubit": 677329, "dale": 169, "apple": 39601, "ember": 36481, "bottle": 11449 } Cubed values, sorted by key: { "apple": 7880599, "bottle": 1225043, "cubit": 557441767, "dale": 2197, "ember": 6967871 } Same, with upcased keys: { "APPLE": 7880599, "BOTTLE": 1225043, "CUBIT": 557441767, "DALE": 2197, "EMBER": 6967871 } actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/apply-map-0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/apply-map-0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/every-array-0001/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/every-array-0001/mlr Miller DSL script: end { my_array = [2, 9, 10, 3, 1, 4, 5, 8, 7, 6]; print my_array; print any(my_array, func (e) { return e > 0 }); print any(my_array, func (e) { return e > 5 }); print any(my_array, func (e) { return e > 10 }); } actualStdout [48]: [2, 9, 10, 3, 1, 4, 5, 8, 7, 6] true true false expectedStdout [48]: [2, 9, 10, 3, 1, 4, 5, 8, 7, 6] true true false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/every-array-0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/every-array-0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/every-array-0002/cmd Command: mlr --from test/input/abixy filter -f test/cases/dsl-first-class-functions/every-array-0002/mlr Miller DSL script: every([3,4,5,6], func(e) {return $i == e}) actualStdout [0]: expectedStdout [0]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/every-array-0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/every-array-0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/every-errors-01/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/every-errors-01/mlr Miller DSL script: end { print any("not array or map", func (k,v) { return v % 10 >= 5}); } actualStdout [8]: (error) expectedStdout [8]: (error) actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/every-errors-01/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/every-errors-01/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/every-errors-02/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/every-errors-02/mlr Miller DSL script: end { print any([]) } actualStdout [0]: expectedStdout [0]: actualStderr [54]: mlr: function any invoked with 1 argument; expected 2 expectedStderr [54]: mlr: function any invoked with 1 argument; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/every-errors-02/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/every-errors-02/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/every-errors-03/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/every-errors-03/mlr Miller DSL script: end { print any({}) } actualStdout [0]: expectedStdout [0]: actualStderr [54]: mlr: function any invoked with 1 argument; expected 2 expectedStderr [54]: mlr: function any invoked with 1 argument; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/every-errors-03/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/every-errors-03/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/every-errors-04/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/every-errors-04/mlr Miller DSL script: end { print any([], 2, 3, 4) } actualStdout [0]: expectedStdout [0]: actualStderr [55]: mlr: function any invoked with 4 arguments; expected 2 expectedStderr [55]: mlr: function any invoked with 4 arguments; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/every-errors-04/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/every-errors-04/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/every-errors-05/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/every-errors-05/mlr Miller DSL script: end { print any({}, 2, 3, 4) } actualStdout [0]: expectedStdout [0]: actualStderr [55]: mlr: function any invoked with 4 arguments; expected 2 expectedStderr [55]: mlr: function any invoked with 4 arguments; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/every-errors-05/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/every-errors-05/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/every-errors-06/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/every-errors-06/mlr Miller DSL script: end { print any([], func () { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [87]: mlr: any: argument function "function-literal-000001" has arity 0; needed 1 for array. expectedStderr [87]: mlr: any: argument function "function-literal-000001" has arity 0; needed 1 for array. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/every-errors-06/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/every-errors-06/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/every-errors-07/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/every-errors-07/mlr Miller DSL script: end { print any({}, func () { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: any: argument function "function-literal-000001" has arity 0; needed 2 for map. expectedStderr [85]: mlr: any: argument function "function-literal-000001" has arity 0; needed 2 for map. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/every-errors-07/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/every-errors-07/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/every-errors-08/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/every-errors-08/mlr Miller DSL script: end { print any([], func (a,b,c) { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [87]: mlr: any: argument function "function-literal-000001" has arity 3; needed 1 for array. expectedStderr [87]: mlr: any: argument function "function-literal-000001" has arity 3; needed 1 for array. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/every-errors-08/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/every-errors-08/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/every-errors-09/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/every-errors-09/mlr Miller DSL script: end { print any({}, func (a,b,c,d,e) { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: any: argument function "function-literal-000001" has arity 5; needed 2 for map. expectedStderr [85]: mlr: any: argument function "function-literal-000001" has arity 5; needed 2 for map. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/every-errors-09/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/every-errors-09/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/every-errors-10/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/every-errors-10/mlr Miller DSL script: end { print any([1,2,3], func (a,b) { }); } actualStdout [0]: expectedStdout [0]: actualStderr [87]: mlr: any: argument function "function-literal-000001" has arity 2; needed 1 for array. expectedStderr [87]: mlr: any: argument function "function-literal-000001" has arity 2; needed 1 for array. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/every-errors-10/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/every-errors-10/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/every-errors-11/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/every-errors-11/mlr Miller DSL script: end { print any({"a":1,"b":2,"c":3}, func (ak,av,bk,bv) { }); } actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: any: argument function "function-literal-000001" has arity 4; needed 2 for map. expectedStderr [85]: mlr: any: argument function "function-literal-000001" has arity 4; needed 2 for map. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/every-errors-11/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/every-errors-11/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/every-errors-12/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/every-errors-12/mlr Miller DSL script: end { print any({"a":1,"b":2,"c":3}, func (ak,av,bk,bv) { return {} }); } actualStdout [0]: expectedStdout [0]: actualStderr [85]: mlr: any: argument function "function-literal-000001" has arity 4; needed 2 for map. expectedStderr [85]: mlr: any: argument function "function-literal-000001" has arity 4; needed 2 for map. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/every-errors-12/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/every-errors-12/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/every-map-0001/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/every-map-0001/mlr Miller DSL script: end { my_map = {"cubit": 823, "dale": 13, "apple": 199, "ember": 191, "bottle": 107}; print "Original:"; print my_map; print; print "Ascending by key:"; print any(my_map); print any(my_map, func(ak,av,bk,bv) { return ak <=> bk }); print; print "Descending by key:"; print any(my_map, "r"); print any(my_map, func(ak,av,bk,bv) { return bk <=> ak }); print; print "Ascending by value:"; print any(my_map, func(ak,av,bk,bv) { return av <=> bv }); print; print "Descending by value:"; print any(my_map, func(ak,av,bk,bv) { return bv <=> av }); } actualStdout [0]: expectedStdout [0]: actualStderr [54]: mlr: function any invoked with 1 argument; expected 2 expectedStderr [54]: mlr: function any invoked with 1 argument; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/every-map-0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/every-map-0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/every-map-0002/cmd Command: mlr --from test/input/abixy filter -f test/cases/dsl-first-class-functions/every-map-0002/mlr Miller DSL script: every({"a": "wye", "b": "wye"}, func(k, v) {return $[k] == v}) actualStdout [42]: a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 expectedStdout [42]: a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/every-map-0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/every-map-0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-array-0001/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-array-0001/mlr Miller DSL script: end { my_array = [2, 9, 10, 3, 1, 4, 5, 8, 7, 6]; print "Original:"; print my_array; print; print "Sum with reduce:"; print reduce(my_array, func (acc,e) { return acc + e }); print; print "Sum with fold and 0 initial value:"; print fold(my_array, func (acc,e) { return acc + e }, 0); print; print "Sum with fold and 1000000 initial value:"; print fold(my_array, func (acc,e) { return acc + e }, 1000000); } actualStdout [152]: Original: [2, 9, 10, 3, 1, 4, 5, 8, 7, 6] Sum with reduce: 55 Sum with fold and 0 initial value: 55 Sum with fold and 1000000 initial value: 1000055 expectedStdout [152]: Original: [2, 9, 10, 3, 1, 4, 5, 8, 7, 6] Sum with reduce: 55 Sum with fold and 0 initial value: 55 Sum with fold and 1000000 initial value: 1000055 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/fold-array-0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-array-0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-errors-01/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-errors-01/mlr Miller DSL script: end { print fold("not array or map", func (k,v) { return v % 10 >= 5}); } actualStdout [0]: expectedStdout [0]: actualStderr [56]: mlr: function fold invoked with 2 arguments; expected 3 expectedStderr [56]: mlr: function fold invoked with 2 arguments; expected 3 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/fold-errors-01/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-errors-01/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-errors-02/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-errors-02/mlr Miller DSL script: end { print fold([]) } actualStdout [0]: expectedStdout [0]: actualStderr [55]: mlr: function fold invoked with 1 argument; expected 3 expectedStderr [55]: mlr: function fold invoked with 1 argument; expected 3 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/fold-errors-02/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-errors-02/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-errors-03/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-errors-03/mlr Miller DSL script: end { print fold({}) } actualStdout [0]: expectedStdout [0]: actualStderr [55]: mlr: function fold invoked with 1 argument; expected 3 expectedStderr [55]: mlr: function fold invoked with 1 argument; expected 3 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/fold-errors-03/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-errors-03/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-errors-04/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-errors-04/mlr Miller DSL script: end { print fold([], 2, 3, 4) } actualStdout [0]: expectedStdout [0]: actualStderr [56]: mlr: function fold invoked with 4 arguments; expected 3 expectedStderr [56]: mlr: function fold invoked with 4 arguments; expected 3 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/fold-errors-04/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-errors-04/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-errors-05/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-errors-05/mlr Miller DSL script: end { print fold({}, 2, 3, 4) } actualStdout [0]: expectedStdout [0]: actualStderr [56]: mlr: function fold invoked with 4 arguments; expected 3 expectedStderr [56]: mlr: function fold invoked with 4 arguments; expected 3 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/fold-errors-05/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-errors-05/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-errors-06/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-errors-06/mlr Miller DSL script: end { print fold([], "not a function", 9) } actualStdout [0]: expectedStdout [0]: actualStderr [59]: mlr: fold: second argument must be a function; got string. expectedStderr [59]: mlr: fold: second argument must be a function; got string. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/fold-errors-06/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-errors-06/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-errors-07/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-errors-07/mlr Miller DSL script: end { print fold({}, "not a function", {"x":7}) } actualStdout [0]: expectedStdout [0]: actualStderr [59]: mlr: fold: second argument must be a function; got string. expectedStderr [59]: mlr: fold: second argument must be a function; got string. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/fold-errors-07/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-errors-07/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-errors-08/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-errors-08/mlr Miller DSL script: end { print fold([], func () { return true}, 9); } actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: fold: argument function "function-literal-000001" has arity 0; needed 2 for array. expectedStderr [88]: mlr: fold: argument function "function-literal-000001" has arity 0; needed 2 for array. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/fold-errors-08/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-errors-08/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-errors-09/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-errors-09/mlr Miller DSL script: end { print fold({}, func () { return true}, {"x":7}); } actualStdout [0]: expectedStdout [0]: actualStderr [86]: mlr: fold: argument function "function-literal-000001" has arity 0; needed 4 for map. expectedStderr [86]: mlr: fold: argument function "function-literal-000001" has arity 0; needed 4 for map. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/fold-errors-09/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-errors-09/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-errors-10/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-errors-10/mlr Miller DSL script: end { print fold([], func (a,b,c) { return true}, 9); } actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: fold: argument function "function-literal-000001" has arity 3; needed 2 for array. expectedStderr [88]: mlr: fold: argument function "function-literal-000001" has arity 3; needed 2 for array. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/fold-errors-10/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-errors-10/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-errors-11/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-errors-11/mlr Miller DSL script: end { print fold({}, func (a,b,c,d,e) { return true}, {"x":7}); } actualStdout [0]: expectedStdout [0]: actualStderr [86]: mlr: fold: argument function "function-literal-000001" has arity 5; needed 4 for map. expectedStderr [86]: mlr: fold: argument function "function-literal-000001" has arity 5; needed 4 for map. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/fold-errors-11/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-errors-11/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-errors-12/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-errors-12/mlr Miller DSL script: end { print fold([1,2,3], func (acc,e) { }, 9); } actualStdout [0]: expectedStdout [0]: actualStderr [74]: mlr: apply: second-argument function must return a value; got "(absent)". expectedStderr [74]: mlr: apply: second-argument function must return a value; got "(absent)". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/fold-errors-12/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-errors-12/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-errors-13/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-errors-13/mlr Miller DSL script: end { print fold({"a":1,"b":2,"c":3}, func (acck,accv,ek,ev) { }, {"x":7}); } actualStdout [0]: expectedStdout [0]: actualStderr [86]: mlr: reduce: second-argument function must return single-element map; got "(absent)". expectedStderr [86]: mlr: reduce: second-argument function must return single-element map; got "(absent)". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/fold-errors-13/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-errors-13/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-errors-14/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-errors-14/mlr Miller DSL script: end { print fold({"a":1,"b":2,"c":3}, func (acck,accv,ek,ev) { return 999 }, {"x":7}); } actualStdout [0]: expectedStdout [0]: actualStderr [81]: mlr: reduce: second-argument function must return single-element map; got "999". expectedStderr [81]: mlr: reduce: second-argument function must return single-element map; got "999". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/fold-errors-14/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-errors-14/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-errors-15/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-errors-15/mlr Miller DSL script: end { print fold({"a":1,"b":2,"c":3}, func (acck,accv,ek,ev) { return {} }, {"x":7}); } actualStdout [0]: expectedStdout [0]: actualStderr [80]: mlr: reduce: second-argument function must return single-element map; got "{}". expectedStderr [80]: mlr: reduce: second-argument function must return single-element map; got "{}". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/fold-errors-15/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-errors-15/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-errors-16/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-errors-16/mlr Miller DSL script: end { print fold({"a":1,"b":2,"c":3}, func (acck,accv,ek,ev) { return {"x":7,"y":8} }, {"x":7}); } actualStdout [0]: expectedStdout [0]: actualStderr [100]: mlr: reduce: second-argument function must return single-element map; got "{ "x": 7, "y": 8 }". expectedStderr [100]: mlr: reduce: second-argument function must return single-element map; got "{ "x": 7, "y": 8 }". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/fold-errors-16/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-errors-16/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-errors-17/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-errors-17/mlr Miller DSL script: end { print fold({"a":1,"b":2,"c":3}, func (acck,accv,ek,ev) { return {"x":7} }, {"x":7, "y":8}); } actualStdout [0]: expectedStdout [0]: actualStderr [91]: mlr: reduce: accumulator value must be a single-element map; got "{ "x": 7, "y": 8 }". expectedStderr [91]: mlr: reduce: accumulator value must be a single-element map; got "{ "x": 7, "y": 8 }". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/fold-errors-17/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-errors-17/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/fold-map-0001/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/fold-map-0001/mlr Miller DSL script: end { my_map = {"cubit": 823, "dale": 13, "apple": 199, "ember": 191, "bottle": 107}; print "Original:"; print my_map; print; print "Sum of values with reduce:"; print reduce(my_map, func (acck,accv,ek,ev) { return {"sum": accv + ev} }); print; print "Sum of values with fold and 0 initial value:"; print fold(my_map, func (acck,accv,ek,ev) { return {"sum": accv + ev} }, {"sum": 0}); print; print "Sum of values with fold and 1000000 initial value:"; print fold(my_map, func (acck,accv,ek,ev) { return {"sum": accv + ev} }, {"sum": 1000000}); } actualStdout [275]: Original: { "cubit": 823, "dale": 13, "apple": 199, "ember": 191, "bottle": 107 } Sum of values with reduce: { "sum": 1333 } Sum of values with fold and 0 initial value: { "sum": 1333 } Sum of values with fold and 1000000 initial value: { "sum": 1001333 } expectedStdout [275]: Original: { "cubit": 823, "dale": 13, "apple": 199, "ember": 191, "bottle": 107 } Sum of values with reduce: { "sum": 1333 } Sum of values with fold and 0 initial value: { "sum": 1333 } Sum of values with fold and 1000000 initial value: { "sum": 1001333 } actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/fold-map-0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/fold-map-0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/reduce-array-0001/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/reduce-array-0001/mlr Miller DSL script: end { my_array = [2, 9, 10, 3, 1, 4, 5, 8, 7, 6]; print "Original:"; print my_array; print; print "First:"; print reduce(my_array, func (acc,e) { return acc }); print; print "Last:"; print reduce(my_array, func (acc,e) { return e }); print; print "Sum:"; print reduce(my_array, func (acc,e) { return acc + e }); print; print "Product:"; print reduce(my_array, func (acc,e) { return acc * e }); print; print "Concatenation:"; print reduce(my_array, func (acc,e) { return acc. "," . e }); } actualStdout [125]: Original: [2, 9, 10, 3, 1, 4, 5, 8, 7, 6] First: 2 Last: 6 Sum: 55 Product: 3628800 Concatenation: 2,9,10,3,1,4,5,8,7,6 expectedStdout [125]: Original: [2, 9, 10, 3, 1, 4, 5, 8, 7, 6] First: 2 Last: 6 Sum: 55 Product: 3628800 Concatenation: 2,9,10,3,1,4,5,8,7,6 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/reduce-array-0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/reduce-array-0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/reduce-errors-01/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/reduce-errors-01/mlr Miller DSL script: end { print reduce("not array or map", func (k,v) { return v % 10 >= 5}); } actualStdout [8]: (error) expectedStdout [8]: (error) actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/reduce-errors-01/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/reduce-errors-01/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/reduce-errors-02/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/reduce-errors-02/mlr Miller DSL script: end { print reduce([]) } actualStdout [0]: expectedStdout [0]: actualStderr [57]: mlr: function reduce invoked with 1 argument; expected 2 expectedStderr [57]: mlr: function reduce invoked with 1 argument; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/reduce-errors-02/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/reduce-errors-02/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/reduce-errors-03/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/reduce-errors-03/mlr Miller DSL script: end { print reduce({}) } actualStdout [0]: expectedStdout [0]: actualStderr [57]: mlr: function reduce invoked with 1 argument; expected 2 expectedStderr [57]: mlr: function reduce invoked with 1 argument; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/reduce-errors-03/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/reduce-errors-03/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/reduce-errors-04/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/reduce-errors-04/mlr Miller DSL script: end { print reduce([], 2, 3, 4) } actualStdout [0]: expectedStdout [0]: actualStderr [58]: mlr: function reduce invoked with 4 arguments; expected 2 expectedStderr [58]: mlr: function reduce invoked with 4 arguments; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/reduce-errors-04/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/reduce-errors-04/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/reduce-errors-05/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/reduce-errors-05/mlr Miller DSL script: end { print reduce({}, 2, 3, 4) } actualStdout [0]: expectedStdout [0]: actualStderr [58]: mlr: function reduce invoked with 4 arguments; expected 2 expectedStderr [58]: mlr: function reduce invoked with 4 arguments; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/reduce-errors-05/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/reduce-errors-05/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/reduce-errors-06/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/reduce-errors-06/mlr Miller DSL script: end { print reduce([], "not a function") } actualStdout [0]: expectedStdout [0]: actualStderr [61]: mlr: reduce: second argument must be a function; got string. expectedStderr [61]: mlr: reduce: second argument must be a function; got string. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/reduce-errors-06/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/reduce-errors-06/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/reduce-errors-07/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/reduce-errors-07/mlr Miller DSL script: end { print reduce({}, "not a function") } actualStdout [0]: expectedStdout [0]: actualStderr [61]: mlr: reduce: second argument must be a function; got string. expectedStderr [61]: mlr: reduce: second argument must be a function; got string. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/reduce-errors-07/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/reduce-errors-07/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/reduce-errors-08/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/reduce-errors-08/mlr Miller DSL script: end { print reduce([], func () { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [90]: mlr: reduce: argument function "function-literal-000001" has arity 0; needed 2 for array. expectedStderr [90]: mlr: reduce: argument function "function-literal-000001" has arity 0; needed 2 for array. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/reduce-errors-08/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/reduce-errors-08/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/reduce-errors-09/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/reduce-errors-09/mlr Miller DSL script: end { print reduce({}, func () { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: reduce: argument function "function-literal-000001" has arity 0; needed 4 for map. expectedStderr [88]: mlr: reduce: argument function "function-literal-000001" has arity 0; needed 4 for map. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/reduce-errors-09/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/reduce-errors-09/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/reduce-errors-10/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/reduce-errors-10/mlr Miller DSL script: end { print reduce([], func (a,b,c) { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [90]: mlr: reduce: argument function "function-literal-000001" has arity 3; needed 2 for array. expectedStderr [90]: mlr: reduce: argument function "function-literal-000001" has arity 3; needed 2 for array. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/reduce-errors-10/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/reduce-errors-10/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/reduce-errors-11/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/reduce-errors-11/mlr Miller DSL script: end { print reduce({}, func (a,b,c,d,e) { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: reduce: argument function "function-literal-000001" has arity 5; needed 4 for map. expectedStderr [88]: mlr: reduce: argument function "function-literal-000001" has arity 5; needed 4 for map. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/reduce-errors-11/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/reduce-errors-11/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/reduce-errors-12/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/reduce-errors-12/mlr Miller DSL script: end { print reduce([1,2,3], func (acc,e) { }); } actualStdout [0]: expectedStdout [0]: actualStderr [74]: mlr: apply: second-argument function must return a value; got "(absent)". expectedStderr [74]: mlr: apply: second-argument function must return a value; got "(absent)". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/reduce-errors-12/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/reduce-errors-12/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/reduce-errors-13/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/reduce-errors-13/mlr Miller DSL script: end { print reduce({"a":1,"b":2,"c":3}, func (acck,accv,ek,ev) { }); } actualStdout [0]: expectedStdout [0]: actualStderr [86]: mlr: reduce: second-argument function must return single-element map; got "(absent)". expectedStderr [86]: mlr: reduce: second-argument function must return single-element map; got "(absent)". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/reduce-errors-13/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/reduce-errors-13/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/reduce-errors-14/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/reduce-errors-14/mlr Miller DSL script: end { print reduce({"a":1,"b":2,"c":3}, func (acck,accv,ek,ev) { return 999 }); } actualStdout [0]: expectedStdout [0]: actualStderr [81]: mlr: reduce: second-argument function must return single-element map; got "999". expectedStderr [81]: mlr: reduce: second-argument function must return single-element map; got "999". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/reduce-errors-14/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/reduce-errors-14/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/reduce-errors-15/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/reduce-errors-15/mlr Miller DSL script: end { print reduce({"a":1,"b":2,"c":3}, func (acck,accv,ek,ev) { return {} }); } actualStdout [0]: expectedStdout [0]: actualStderr [80]: mlr: reduce: second-argument function must return single-element map; got "{}". expectedStderr [80]: mlr: reduce: second-argument function must return single-element map; got "{}". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/reduce-errors-15/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/reduce-errors-15/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/reduce-errors-16/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/reduce-errors-16/mlr Miller DSL script: end { print reduce({"a":1,"b":2,"c":3}, func (acck,accv,ek,ev) { return {"x":7,"y":8} }); } actualStdout [0]: expectedStdout [0]: actualStderr [100]: mlr: reduce: second-argument function must return single-element map; got "{ "x": 7, "y": 8 }". expectedStderr [100]: mlr: reduce: second-argument function must return single-element map; got "{ "x": 7, "y": 8 }". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/reduce-errors-16/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/reduce-errors-16/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/reduce-map-0001/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/reduce-map-0001/mlr Miller DSL script: end { my_map = {"cubit": 823, "dale": 13, "apple": 199, "ember": 191, "bottle": 107}; print "Original:"; print my_map; print; print "First:"; print reduce(my_map, func (acck,accv,ek,ev) { return {acck: accv}}); print; print "Last:"; print reduce(my_map, func (acck,accv,ek,ev) { return {ek: ev}}); print; print "Concatenate keys and values:"; print reduce(my_map, func (acck,accv,ek,ev) { return {acck . "," . ek: accv . "," . ev}}); print; print "Sum of values:"; print reduce(my_map, func (acck,accv,ek,ev) { return {"sum": accv + ev }}); print; print "Product of values:"; print reduce(my_map, func (acck,accv,ek,ev) { return {"product": accv * ev }}); print; print "String-join of values:"; print reduce(my_map, func (acck,accv,ek,ev) { return {"joined": accv . "," . ev }}); } actualStdout [380]: Original: { "cubit": 823, "dale": 13, "apple": 199, "ember": 191, "bottle": 107 } First: { "cubit": 823 } Last: { "bottle": 107 } Concatenate keys and values: { "cubit,dale,apple,ember,bottle": "823,13,199,191,107" } Sum of values: { "sum": 1333 } Product of values: { "product": 43512437137 } String-join of values: { "joined": "823,13,199,191,107" } expectedStdout [380]: Original: { "cubit": 823, "dale": 13, "apple": 199, "ember": 191, "bottle": 107 } First: { "cubit": 823 } Last: { "bottle": 107 } Concatenate keys and values: { "cubit,dale,apple,ember,bottle": "823,13,199,191,107" } Sum of values: { "sum": 1333 } Product of values: { "product": 43512437137 } String-join of values: { "joined": "823,13,199,191,107" } actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/reduce-map-0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/reduce-map-0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/select-array-0001/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/select-array-0001/mlr Miller DSL script: end { my_array = [2, 9, 10, 3, 1, 4, 5, 8, 7, 6]; print "Original:"; print my_array; print; print "Evens:"; print select(my_array, func (e) { return e % 2 == 0}); print; print "Odds:"; print select(my_array, func (e) { return e % 2 == 1}); print; } actualStdout [91]: Original: [2, 9, 10, 3, 1, 4, 5, 8, 7, 6] Evens: [2, 10, 4, 8, 6] Odds: [9, 3, 1, 5, 7] expectedStdout [91]: Original: [2, 9, 10, 3, 1, 4, 5, 8, 7, 6] Evens: [2, 10, 4, 8, 6] Odds: [9, 3, 1, 5, 7] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/select-array-0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/select-array-0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/select-errors-01/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/select-errors-01/mlr Miller DSL script: end { print select("not array or map", func (k,v) { return v % 10 >= 5}); } actualStdout [8]: (error) expectedStdout [8]: (error) actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/select-errors-01/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/select-errors-01/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/select-errors-02/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/select-errors-02/mlr Miller DSL script: end { print select([]) } actualStdout [0]: expectedStdout [0]: actualStderr [57]: mlr: function select invoked with 1 argument; expected 2 expectedStderr [57]: mlr: function select invoked with 1 argument; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/select-errors-02/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/select-errors-02/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/select-errors-03/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/select-errors-03/mlr Miller DSL script: end { print select({}) } actualStdout [0]: expectedStdout [0]: actualStderr [57]: mlr: function select invoked with 1 argument; expected 2 expectedStderr [57]: mlr: function select invoked with 1 argument; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/select-errors-03/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/select-errors-03/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/select-errors-04/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/select-errors-04/mlr Miller DSL script: end { print select([], 2, 3, 4) } actualStdout [0]: expectedStdout [0]: actualStderr [58]: mlr: function select invoked with 4 arguments; expected 2 expectedStderr [58]: mlr: function select invoked with 4 arguments; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/select-errors-04/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/select-errors-04/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/select-errors-05/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/select-errors-05/mlr Miller DSL script: end { print select({}, 2, 3, 4) } actualStdout [0]: expectedStdout [0]: actualStderr [58]: mlr: function select invoked with 4 arguments; expected 2 expectedStderr [58]: mlr: function select invoked with 4 arguments; expected 2 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/select-errors-05/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/select-errors-05/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/select-errors-06/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/select-errors-06/mlr Miller DSL script: end { print select([], "not a function") } actualStdout [0]: expectedStdout [0]: actualStderr [61]: mlr: select: second argument must be a function; got string. expectedStderr [61]: mlr: select: second argument must be a function; got string. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/select-errors-06/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/select-errors-06/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/select-errors-07/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/select-errors-07/mlr Miller DSL script: end { print select({}, "not a function") } actualStdout [0]: expectedStdout [0]: actualStderr [61]: mlr: select: second argument must be a function; got string. expectedStderr [61]: mlr: select: second argument must be a function; got string. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/select-errors-07/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/select-errors-07/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/select-errors-08/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/select-errors-08/mlr Miller DSL script: end { print select([], func () { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [90]: mlr: select: argument function "function-literal-000001" has arity 0; needed 1 for array. expectedStderr [90]: mlr: select: argument function "function-literal-000001" has arity 0; needed 1 for array. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/select-errors-08/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/select-errors-08/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/select-errors-09/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/select-errors-09/mlr Miller DSL script: end { print select({}, func () { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: select: argument function "function-literal-000001" has arity 0; needed 2 for map. expectedStderr [88]: mlr: select: argument function "function-literal-000001" has arity 0; needed 2 for map. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/select-errors-09/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/select-errors-09/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/select-errors-10/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/select-errors-10/mlr Miller DSL script: end { print select([], func (a,b) { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [90]: mlr: select: argument function "function-literal-000001" has arity 2; needed 1 for array. expectedStderr [90]: mlr: select: argument function "function-literal-000001" has arity 2; needed 1 for array. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/select-errors-10/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/select-errors-10/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/select-errors-11/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/select-errors-11/mlr Miller DSL script: end { print select({}, func (a,b,c) { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: select: argument function "function-literal-000001" has arity 3; needed 2 for map. expectedStderr [88]: mlr: select: argument function "function-literal-000001" has arity 3; needed 2 for map. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/select-errors-11/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/select-errors-11/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/select-errors-12/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/select-errors-12/mlr Miller DSL script: end { print select([1,2,3], func (e) { }); } actualStdout [0]: expectedStdout [0]: actualStderr [55]: mlr: select: function returned non-boolean "(absent)". expectedStderr [55]: mlr: select: function returned non-boolean "(absent)". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/select-errors-12/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/select-errors-12/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/select-errors-13/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/select-errors-13/mlr Miller DSL script: end { print select({"a":1,"b":2,"c":3}, func (k,v) { }); } actualStdout [0]: expectedStdout [0]: actualStderr [55]: mlr: select: function returned non-boolean "(absent)". expectedStderr [55]: mlr: select: function returned non-boolean "(absent)". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/select-errors-13/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/select-errors-13/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/select-errors-14/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/select-errors-14/mlr Miller DSL script: end { print select([1,2,3], func (e) { return "not a boolean"}); } actualStdout [0]: expectedStdout [0]: actualStderr [60]: mlr: select: function returned non-boolean "not a boolean". expectedStderr [60]: mlr: select: function returned non-boolean "not a boolean". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/select-errors-14/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/select-errors-14/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/select-errors-15/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/select-errors-15/mlr Miller DSL script: end { print select({"a":1,"b":2,"c":3}, func (k,v) { return "not a boolean"}); } actualStdout [0]: expectedStdout [0]: actualStderr [60]: mlr: select: function returned non-boolean "not a boolean". expectedStderr [60]: mlr: select: function returned non-boolean "not a boolean". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/select-errors-15/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/select-errors-15/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/select-map-0001/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/select-map-0001/mlr Miller DSL script: end { my_map = {"cubit": 823, "dale": 13, "apple": 199, "ember": 191, "bottle": 107}; print "Original:"; print my_map; print; print "Keys with an 'o' in them:"; print select(my_map, func (k,v) { return k =~ "o"}); print; print "Values with last digit >= 5:"; print select(my_map, func (k,v) { return v % 10 >= 5}); } actualStdout [205]: Original: { "cubit": 823, "dale": 13, "apple": 199, "ember": 191, "bottle": 107 } Keys with an 'o' in them: { "bottle": 107 } Values with last digit >= 5: { "apple": 199, "bottle": 107 } expectedStdout [205]: Original: { "cubit": 823, "dale": 13, "apple": 199, "ember": 191, "bottle": 107 } Keys with an 'o' in them: { "bottle": 107 } Values with last digit >= 5: { "apple": 199, "bottle": 107 } actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/select-map-0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/select-map-0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/sort-array-0001/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/sort-array-0001/mlr Miller DSL script: end { my_array = [2, 9, 10, 3, 1, 4, 5, 8, 7, 6]; print "Original:"; print my_array; print; print "Ascending:"; print sort(my_array); print sort(my_array, func (a,b) { return a <=> b }); print; print "Descending:"; print sort(my_array, "r"); print sort(my_array, func (a,b) { return b <=> a }); } actualStdout [195]: Original: [2, 9, 10, 3, 1, 4, 5, 8, 7, 6] Ascending: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] Descending: [10, 9, 8, 7, 6, 5, 4, 3, 2, 1] [10, 9, 8, 7, 6, 5, 4, 3, 2, 1] expectedStdout [195]: Original: [2, 9, 10, 3, 1, 4, 5, 8, 7, 6] Ascending: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] Descending: [10, 9, 8, 7, 6, 5, 4, 3, 2, 1] [10, 9, 8, 7, 6, 5, 4, 3, 2, 1] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/sort-array-0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/sort-array-0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/sort-errors-01/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/sort-errors-01/mlr Miller DSL script: end { print sort("not array or map", func (k,v) { return v % 10 >= 5}); } actualStdout [8]: (error) expectedStdout [8]: (error) actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/sort-errors-01/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/sort-errors-01/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/sort-errors-02/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/sort-errors-02/mlr Miller DSL script: end { print sort([]) } actualStdout [3]: [] expectedStdout [3]: [] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/sort-errors-02/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/sort-errors-02/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/sort-errors-03/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/sort-errors-03/mlr Miller DSL script: end { print sort({}) } actualStdout [3]: {} expectedStdout [3]: {} actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/sort-errors-03/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/sort-errors-03/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/sort-errors-04/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/sort-errors-04/mlr Miller DSL script: end { print sort([], 2, 3, 4) } actualStdout [0]: expectedStdout [0]: actualStderr [59]: mlr: function sort takes maximum argument count 2; got 4. expectedStderr [59]: mlr: function sort takes maximum argument count 2; got 4. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/sort-errors-04/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/sort-errors-04/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/sort-errors-05/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/sort-errors-05/mlr Miller DSL script: end { print sort({}, 2, 3, 4) } actualStdout [0]: expectedStdout [0]: actualStderr [59]: mlr: function sort takes maximum argument count 2; got 4. expectedStderr [59]: mlr: function sort takes maximum argument count 2; got 4. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/sort-errors-05/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/sort-errors-05/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/sort-errors-06/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/sort-errors-06/mlr Miller DSL script: end { print sort([], func () { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: sort: argument function "function-literal-000001" has arity 0; needed 2 for array. expectedStderr [88]: mlr: sort: argument function "function-literal-000001" has arity 0; needed 2 for array. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/sort-errors-06/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/sort-errors-06/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/sort-errors-07/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/sort-errors-07/mlr Miller DSL script: end { print sort({}, func () { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [86]: mlr: sort: argument function "function-literal-000001" has arity 0; needed 4 for map. expectedStderr [86]: mlr: sort: argument function "function-literal-000001" has arity 0; needed 4 for map. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/sort-errors-07/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/sort-errors-07/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/sort-errors-08/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/sort-errors-08/mlr Miller DSL script: end { print sort([], func (a,b,c) { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [88]: mlr: sort: argument function "function-literal-000001" has arity 3; needed 2 for array. expectedStderr [88]: mlr: sort: argument function "function-literal-000001" has arity 3; needed 2 for array. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/sort-errors-08/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/sort-errors-08/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/sort-errors-09/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/sort-errors-09/mlr Miller DSL script: end { print sort({}, func (a,b,c,d,e) { return true}); } actualStdout [0]: expectedStdout [0]: actualStderr [86]: mlr: sort: argument function "function-literal-000001" has arity 5; needed 4 for map. expectedStderr [86]: mlr: sort: argument function "function-literal-000001" has arity 5; needed 4 for map. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/sort-errors-09/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/sort-errors-09/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/sort-errors-10/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/sort-errors-10/mlr Miller DSL script: end { print sort([1,2,3], func (a,b) { }); } actualStdout [0]: expectedStdout [0]: actualStderr [89]: mlr: sort: comparator function "function-literal-000001" returned non-number "(absent)". expectedStderr [89]: mlr: sort: comparator function "function-literal-000001" returned non-number "(absent)". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/sort-errors-10/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/sort-errors-10/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/sort-errors-11/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/sort-errors-11/mlr Miller DSL script: end { print sort({"a":1,"b":2,"c":3}, func (ak,av,bk,bv) { }); } actualStdout [0]: expectedStdout [0]: actualStderr [89]: mlr: sort: comparator function "function-literal-000001" returned non-number "(absent)". expectedStderr [89]: mlr: sort: comparator function "function-literal-000001" returned non-number "(absent)". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/sort-errors-11/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/sort-errors-11/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/sort-errors-12/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/sort-errors-12/mlr Miller DSL script: end { print sort({"a":1,"b":2,"c":3}, func (ak,av,bk,bv) { return {} }); } actualStdout [0]: expectedStdout [0]: actualStderr [83]: mlr: sort: comparator function "function-literal-000001" returned non-number "{}". expectedStderr [83]: mlr: sort: comparator function "function-literal-000001" returned non-number "{}". actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-first-class-functions/sort-errors-12/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/sort-errors-12/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-first-class-functions/sort-map-0001/cmd Command: mlr -n put -f test/cases/dsl-first-class-functions/sort-map-0001/mlr Miller DSL script: end { my_map = {"cubit": 823, "dale": 13, "apple": 199, "ember": 191, "bottle": 107}; print "Original:"; print my_map; print; print "Ascending by key:"; print sort(my_map); print sort(my_map, func(ak,av,bk,bv) { return ak <=> bk }); print; print "Descending by key:"; print sort(my_map, "r"); print sort(my_map, func(ak,av,bk,bv) { return bk <=> ak }); print; print "Ascending by value:"; print sort(my_map, func(ak,av,bk,bv) { return av <=> bv }); print; print "Descending by value:"; print sort(my_map, func(ak,av,bk,bv) { return bv <=> av }); } actualStdout [666]: Original: { "cubit": 823, "dale": 13, "apple": 199, "ember": 191, "bottle": 107 } Ascending by key: { "apple": 199, "bottle": 107, "cubit": 823, "dale": 13, "ember": 191 } { "apple": 199, "bottle": 107, "cubit": 823, "dale": 13, "ember": 191 } Descending by key: { "ember": 191, "dale": 13, "cubit": 823, "bottle": 107, "apple": 199 } { "ember": 191, "dale": 13, "cubit": 823, "bottle": 107, "apple": 199 } Ascending by value: { "dale": 13, "bottle": 107, "ember": 191, "apple": 199, "cubit": 823 } Descending by value: { "cubit": 823, "apple": 199, "ember": 191, "bottle": 107, "dale": 13 } expectedStdout [666]: Original: { "cubit": 823, "dale": 13, "apple": 199, "ember": 191, "bottle": 107 } Ascending by key: { "apple": 199, "bottle": 107, "cubit": 823, "dale": 13, "ember": 191 } { "apple": 199, "bottle": 107, "cubit": 823, "dale": 13, "ember": 191 } Descending by key: { "ember": 191, "dale": 13, "cubit": 823, "bottle": 107, "apple": 199 } { "ember": 191, "dale": 13, "cubit": 823, "bottle": 107, "apple": 199 } Ascending by value: { "dale": 13, "bottle": 107, "ember": 191, "apple": 199, "cubit": 823 } Descending by value: { "cubit": 823, "apple": 199, "ember": 191, "bottle": 107, "dale": 13 } actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-first-class-functions/sort-map-0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-first-class-functions/sort-map-0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-flatten-unflatten/0001/cmd Command: mlr --ijson --oxtab --from test/input/flatten-input-1.json put -f ./test/cases/dsl-flatten-unflatten/0001/mlr Miller DSL script: map o = {}; for (k, v in $*) { for (k2, v2 in flatten(k, ".", v)) { o[k2] = v2 } } $* = o; actualStdout [95]: b.c 2 b.d 3 b.c.x 2 b.c.y 3 b.d.x 4 b.d.y 5 b.c.1 2 b.c.2 3 b.1.x 2 b.1.y 3 b.2.x 4 b.2.y 5 expectedStdout [95]: b.c 2 b.d 3 b.c.x 2 b.c.y 3 b.d.x 4 b.d.y 5 b.c.1 2 b.c.2 3 b.1.x 2 b.1.y 3 b.2.x 4 b.2.y 5 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-flatten-unflatten/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-flatten-unflatten/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-flatten-unflatten/0002/cmd Command: mlr --ijson --oxtab --from test/input/flatten-input-1.json put -f test/cases/dsl-flatten-unflatten/0002/mlr Miller DSL script: $* = flatten("", ".", $*) actualStdout [125]: a 1 b.c 2 b.d 3 a 1 b.c.x 2 b.c.y 3 b.d.x 4 b.d.y 5 a 1 b.c.1 2 b.c.2 3 a 1 b.1.x 2 b.1.y 3 b.2.x 4 b.2.y 5 expectedStdout [125]: a 1 b.c 2 b.d 3 a 1 b.c.x 2 b.c.y 3 b.d.x 4 b.d.y 5 a 1 b.c.1 2 b.c.2 3 a 1 b.1.x 2 b.1.y 3 b.2.x 4 b.2.y 5 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-flatten-unflatten/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-flatten-unflatten/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-flatten-unflatten/0003/cmd Command: mlr --ijson --oxtab --from test/input/flatten-input-1.json put -f test/cases/dsl-flatten-unflatten/0003/mlr Miller DSL script: $* = flatten($*, ".") actualStdout [125]: a 1 b.c 2 b.d 3 a 1 b.c.x 2 b.c.y 3 b.d.x 4 b.d.y 5 a 1 b.c.1 2 b.c.2 3 a 1 b.1.x 2 b.1.y 3 b.2.x 4 b.2.y 5 expectedStdout [125]: a 1 b.c 2 b.d 3 a 1 b.c.x 2 b.c.y 3 b.d.x 4 b.d.y 5 a 1 b.c.1 2 b.c.2 3 a 1 b.1.x 2 b.1.y 3 b.2.x 4 b.2.y 5 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-flatten-unflatten/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-flatten-unflatten/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-flatten-unflatten/0004/cmd Command: mlr --ijson --ojson --no-auto-unflatten --from test/input/flatten-input-1.json put -f test/cases/dsl-flatten-unflatten/0004/mlr Miller DSL script: $a = flatten("a", ".", $a) actualStdout [322]: [ { "a": 1, "b": { "c": 2, "d": 3 } }, { "a": 1, "b": { "c": { "x": 2, "y": 3 }, "d": { "x": 4, "y": 5 } } }, { "a": 1, "b": { "c": [2, 3] } }, { "a": 1, "b": [ { "x": 2, "y": 3 }, { "x": 4, "y": 5 } ] } ] expectedStdout [322]: [ { "a": 1, "b": { "c": 2, "d": 3 } }, { "a": 1, "b": { "c": { "x": 2, "y": 3 }, "d": { "x": 4, "y": 5 } } }, { "a": 1, "b": { "c": [2, 3] } }, { "a": 1, "b": [ { "x": 2, "y": 3 }, { "x": 4, "y": 5 } ] } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-flatten-unflatten/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-flatten-unflatten/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-flatten-unflatten/0005/cmd Command: mlr --ijson --ojson --no-auto-unflatten --from test/input/flatten-input-1.json put -f test/cases/dsl-flatten-unflatten/0005/mlr Miller DSL script: $b = flatten("b", ".", $b) actualStdout [299]: [ { "a": 1, "b": { "b.c": 2, "b.d": 3 } }, { "a": 1, "b": { "b.c.x": 2, "b.c.y": 3, "b.d.x": 4, "b.d.y": 5 } }, { "a": 1, "b": { "b.c.1": 2, "b.c.2": 3 } }, { "a": 1, "b": { "b.1.x": 2, "b.1.y": 3, "b.2.x": 4, "b.2.y": 5 } } ] expectedStdout [299]: [ { "a": 1, "b": { "b.c": 2, "b.d": 3 } }, { "a": 1, "b": { "b.c.x": 2, "b.c.y": 3, "b.d.x": 4, "b.d.y": 5 } }, { "a": 1, "b": { "b.c.1": 2, "b.c.2": 3 } }, { "a": 1, "b": { "b.1.x": 2, "b.1.y": 3, "b.2.x": 4, "b.2.y": 5 } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-flatten-unflatten/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-flatten-unflatten/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-flatten-unflatten/0006/cmd Command: mlr --ijson --oxtab --from test/input/flatten-input-2.json put -f test/cases/dsl-flatten-unflatten/0006/mlr Miller DSL script: $* = flatten("", ".", $*) actualStdout [506]: hostname localhost pid 12345 req.id 6789 req.method GET req.path api/check req.host foo.bar req.headers.host bar.baz req.headers.user-agent browser res.status_code 200 res.header.content-type text res.header.content-encoding plain empty1 {} empty2 [] wrapper.empty3 {} wrapper.emtpy4 [] expectedStdout [506]: hostname localhost pid 12345 req.id 6789 req.method GET req.path api/check req.host foo.bar req.headers.host bar.baz req.headers.user-agent browser res.status_code 200 res.header.content-type text res.header.content-encoding plain empty1 {} empty2 [] wrapper.empty3 {} wrapper.emtpy4 [] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-flatten-unflatten/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-flatten-unflatten/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-flatten-unflatten/0007/cmd Command: mlr --ixtab --ojson --no-auto-unflatten --from test/input/unflatten-input.xtab put -f test/cases/dsl-flatten-unflatten/0007/mlr Miller DSL script: $* = unflatten($*, ".") actualStdout [442]: [ { "hostname": "localhost", "pid": 12345, "req": { "id": 6789, "method": "GET", "path": "api/check", "host": "foo.bar", "headers": { "host": "bar.baz", "user-agent": "browser" } }, "res": { "status_code": 200, "header": { "content-type": "text", "content-encoding": "plain" } }, "empty1": {}, "empty2": [], "wrapper": { "empty3": {}, "emtpy4": [] } } ] expectedStdout [442]: [ { "hostname": "localhost", "pid": 12345, "req": { "id": 6789, "method": "GET", "path": "api/check", "host": "foo.bar", "headers": { "host": "bar.baz", "user-agent": "browser" } }, "res": { "status_code": 200, "header": { "content-type": "text", "content-encoding": "plain" } }, "empty1": {}, "empty2": [], "wrapper": { "empty3": {}, "emtpy4": [] } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-flatten-unflatten/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-flatten-unflatten/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-flatten-unflatten/0008/cmd Command: mlr --icsv --ojson --from test/cases/dsl-flatten-unflatten/0008/input cat actualStdout [45]: [ { "a": 5, "b": [6, 7, 8], "c": 9 } ] expectedStdout [45]: [ { "a": 5, "b": [6, 7, 8], "c": 9 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-flatten-unflatten/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-flatten-unflatten/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-flatten-unflatten/0009/cmd Command: mlr --icsv --ojson --from test/cases/dsl-flatten-unflatten/0009/input cat actualStdout [64]: [ { "a": 5, "b": { "1": 6, "3": 8 }, "c": 9 } ] expectedStdout [64]: [ { "a": 5, "b": { "1": 6, "3": 8 }, "c": 9 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-flatten-unflatten/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-flatten-unflatten/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-bind-loops-for-valgrind/0001/cmd Command: mlr --from test/input/abixy-het put -q -f ./test/cases/dsl-for-bind-loops-for-valgrind/0001/mlr Miller DSL script: ab = $a . "_" . $b; xy = $x . "_" . $y; map o = {}; o[ab] = xy; for (k in o) { print "k is " . k; } actualStdout [118]: k is pan_pan k is eks_pan k is _wye k is eks_ k is wye_pan k is zee_pan k is eks_zee k is zee_wye k is _ k is pan_wye expectedStdout [118]: k is pan_pan k is eks_pan k is _wye k is eks_ k is wye_pan k is zee_pan k is eks_zee k is zee_wye k is _ k is pan_wye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-bind-loops-for-valgrind/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-bind-loops-for-valgrind/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-bind-loops-for-valgrind/0002/cmd Command: mlr --from test/input/abixy-het put -q -f ./test/cases/dsl-for-bind-loops-for-valgrind/0002/mlr Miller DSL script: ab = $a . "_" . $b; xy = $x . "_" . $y; unset @o; @o[ab] = xy; for (k in @o) { print "k is " . k; } actualStdout [118]: k is pan_pan k is eks_pan k is _wye k is eks_ k is wye_pan k is zee_pan k is eks_zee k is zee_wye k is _ k is pan_wye expectedStdout [118]: k is pan_pan k is eks_pan k is _wye k is eks_ k is wye_pan k is zee_pan k is eks_zee k is zee_wye k is _ k is pan_wye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-bind-loops-for-valgrind/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-bind-loops-for-valgrind/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-bind-loops-for-valgrind/0003/cmd Command: mlr --from test/input/abixy-het put -q -f ./test/cases/dsl-for-bind-loops-for-valgrind/0003/mlr Miller DSL script: ab = $a . "_" . $b; xy = $x . "_" . $y; for (k in {ab : xy}) { print "k is " . k; } actualStdout [118]: k is pan_pan k is eks_pan k is _wye k is eks_ k is wye_pan k is zee_pan k is eks_zee k is zee_wye k is _ k is pan_wye expectedStdout [118]: k is pan_pan k is eks_pan k is _wye k is eks_ k is wye_pan k is zee_pan k is eks_zee k is zee_wye k is _ k is pan_wye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-bind-loops-for-valgrind/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-bind-loops-for-valgrind/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-bind-loops-for-valgrind/0004/cmd Command: mlr --from test/input/abixy-het put -q -f ./test/cases/dsl-for-bind-loops-for-valgrind/0004/mlr Miller DSL script: func f(a, b, x, y): map { ab = $a . "_" . $b; xy = $x . "_" . $y; return {ab : xy}; } for (k in f($a, $b, $x, $y)) { print "k is " . k; } actualStdout [118]: k is pan_pan k is eks_pan k is _wye k is eks_ k is wye_pan k is zee_pan k is eks_zee k is zee_wye k is _ k is pan_wye expectedStdout [118]: k is pan_pan k is eks_pan k is _wye k is eks_ k is wye_pan k is zee_pan k is eks_zee k is zee_wye k is _ k is pan_wye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-bind-loops-for-valgrind/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-bind-loops-for-valgrind/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-bind-loops-for-valgrind/0005/cmd Command: mlr --from test/input/abixy-het put -q -f ./test/cases/dsl-for-bind-loops-for-valgrind/0005/mlr Miller DSL script: ab = $a . "_" . $b; xy = $x . "_" . $y; map o = {}; o[ab] = xy; for (k, v in o) { print "k is " . k . " v is " . v; } actualStdout [378]: k is pan_pan v is 0.34679014_0.72680286 k is eks_pan v is 0.75867996_0.52215111 k is _wye v is 0.20460331_0.33831853 k is eks_ v is 0.38139939_0.13418874 k is wye_pan v is _0.86362447 k is zee_pan v is 0.52712616_0.49322129 k is eks_zee v is 0.61178406_0.18788492 k is zee_wye v is 0.59855401_ k is _ v is 0.03144188_0.74955076 k is pan_wye v is 0.50262601_0.95261836 expectedStdout [378]: k is pan_pan v is 0.34679014_0.72680286 k is eks_pan v is 0.75867996_0.52215111 k is _wye v is 0.20460331_0.33831853 k is eks_ v is 0.38139939_0.13418874 k is wye_pan v is _0.86362447 k is zee_pan v is 0.52712616_0.49322129 k is eks_zee v is 0.61178406_0.18788492 k is zee_wye v is 0.59855401_ k is _ v is 0.03144188_0.74955076 k is pan_wye v is 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-bind-loops-for-valgrind/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-bind-loops-for-valgrind/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-bind-loops-for-valgrind/0006/cmd Command: mlr --from test/input/abixy-het put -q -f ./test/cases/dsl-for-bind-loops-for-valgrind/0006/mlr Miller DSL script: ab = $a . "_" . $b; xy = $x . "_" . $y; unset @o; @o[ab] = xy; for (k, v in @o) { print "k is " . k . " v is " . v; } actualStdout [378]: k is pan_pan v is 0.34679014_0.72680286 k is eks_pan v is 0.75867996_0.52215111 k is _wye v is 0.20460331_0.33831853 k is eks_ v is 0.38139939_0.13418874 k is wye_pan v is _0.86362447 k is zee_pan v is 0.52712616_0.49322129 k is eks_zee v is 0.61178406_0.18788492 k is zee_wye v is 0.59855401_ k is _ v is 0.03144188_0.74955076 k is pan_wye v is 0.50262601_0.95261836 expectedStdout [378]: k is pan_pan v is 0.34679014_0.72680286 k is eks_pan v is 0.75867996_0.52215111 k is _wye v is 0.20460331_0.33831853 k is eks_ v is 0.38139939_0.13418874 k is wye_pan v is _0.86362447 k is zee_pan v is 0.52712616_0.49322129 k is eks_zee v is 0.61178406_0.18788492 k is zee_wye v is 0.59855401_ k is _ v is 0.03144188_0.74955076 k is pan_wye v is 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-bind-loops-for-valgrind/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-bind-loops-for-valgrind/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-bind-loops-for-valgrind/0007/cmd Command: mlr --from test/input/abixy-het put -q -f ./test/cases/dsl-for-bind-loops-for-valgrind/0007/mlr Miller DSL script: ab = $a . "_" . $b; xy = $x . "_" . $y; for (k, v in {ab : xy}) { print "k is " . k . " v is " . v; } actualStdout [378]: k is pan_pan v is 0.34679014_0.72680286 k is eks_pan v is 0.75867996_0.52215111 k is _wye v is 0.20460331_0.33831853 k is eks_ v is 0.38139939_0.13418874 k is wye_pan v is _0.86362447 k is zee_pan v is 0.52712616_0.49322129 k is eks_zee v is 0.61178406_0.18788492 k is zee_wye v is 0.59855401_ k is _ v is 0.03144188_0.74955076 k is pan_wye v is 0.50262601_0.95261836 expectedStdout [378]: k is pan_pan v is 0.34679014_0.72680286 k is eks_pan v is 0.75867996_0.52215111 k is _wye v is 0.20460331_0.33831853 k is eks_ v is 0.38139939_0.13418874 k is wye_pan v is _0.86362447 k is zee_pan v is 0.52712616_0.49322129 k is eks_zee v is 0.61178406_0.18788492 k is zee_wye v is 0.59855401_ k is _ v is 0.03144188_0.74955076 k is pan_wye v is 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-bind-loops-for-valgrind/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-bind-loops-for-valgrind/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-bind-loops-for-valgrind/0008/cmd Command: mlr --from test/input/abixy-het put -q -f ./test/cases/dsl-for-bind-loops-for-valgrind/0008/mlr Miller DSL script: func f(a, b, x, y): map { ab = $a . "_" . $b; xy = $x . "_" . $y; return {ab : xy}; } for (k, v in f($a, $b, $x, $y)) { print "k is " . k . " v is " . v; } actualStdout [378]: k is pan_pan v is 0.34679014_0.72680286 k is eks_pan v is 0.75867996_0.52215111 k is _wye v is 0.20460331_0.33831853 k is eks_ v is 0.38139939_0.13418874 k is wye_pan v is _0.86362447 k is zee_pan v is 0.52712616_0.49322129 k is eks_zee v is 0.61178406_0.18788492 k is zee_wye v is 0.59855401_ k is _ v is 0.03144188_0.74955076 k is pan_wye v is 0.50262601_0.95261836 expectedStdout [378]: k is pan_pan v is 0.34679014_0.72680286 k is eks_pan v is 0.75867996_0.52215111 k is _wye v is 0.20460331_0.33831853 k is eks_ v is 0.38139939_0.13418874 k is wye_pan v is _0.86362447 k is zee_pan v is 0.52712616_0.49322129 k is eks_zee v is 0.61178406_0.18788492 k is zee_wye v is 0.59855401_ k is _ v is 0.03144188_0.74955076 k is pan_wye v is 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-bind-loops-for-valgrind/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-bind-loops-for-valgrind/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-bind-loops-for-valgrind/0009/cmd Command: mlr --from test/input/abixy-het put -q -f ./test/cases/dsl-for-bind-loops-for-valgrind/0009/mlr Miller DSL script: ab = $a . "_" . $b; xy = $x . "_" . $y; map o = {}; o[ab] = {"foo": xy}; for (k, v in o) { print "k is " . k . " v is "; dump v; } actualStdout [538]: k is pan_pan v is { "foo": "0.34679014_0.72680286" } k is eks_pan v is { "foo": "0.75867996_0.52215111" } k is _wye v is { "foo": "0.20460331_0.33831853" } k is eks_ v is { "foo": "0.38139939_0.13418874" } k is wye_pan v is { "foo": "_0.86362447" } k is zee_pan v is { "foo": "0.52712616_0.49322129" } k is eks_zee v is { "foo": "0.61178406_0.18788492" } k is zee_wye v is { "foo": "0.59855401_" } k is _ v is { "foo": "0.03144188_0.74955076" } k is pan_wye v is { "foo": "0.50262601_0.95261836" } expectedStdout [538]: k is pan_pan v is { "foo": "0.34679014_0.72680286" } k is eks_pan v is { "foo": "0.75867996_0.52215111" } k is _wye v is { "foo": "0.20460331_0.33831853" } k is eks_ v is { "foo": "0.38139939_0.13418874" } k is wye_pan v is { "foo": "_0.86362447" } k is zee_pan v is { "foo": "0.52712616_0.49322129" } k is eks_zee v is { "foo": "0.61178406_0.18788492" } k is zee_wye v is { "foo": "0.59855401_" } k is _ v is { "foo": "0.03144188_0.74955076" } k is pan_wye v is { "foo": "0.50262601_0.95261836" } actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-bind-loops-for-valgrind/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-bind-loops-for-valgrind/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-bind-loops-for-valgrind/0010/cmd Command: mlr --from test/input/abixy-het put -q -f ./test/cases/dsl-for-bind-loops-for-valgrind/0010/mlr Miller DSL script: ab = $a . "_" . $b; xy = $x . "_" . $y; unset @o; @o[ab]["foo"] = xy; for (k, v in @o) { print "k is " . k . " v is "; dump v; } actualStdout [538]: k is pan_pan v is { "foo": "0.34679014_0.72680286" } k is eks_pan v is { "foo": "0.75867996_0.52215111" } k is _wye v is { "foo": "0.20460331_0.33831853" } k is eks_ v is { "foo": "0.38139939_0.13418874" } k is wye_pan v is { "foo": "_0.86362447" } k is zee_pan v is { "foo": "0.52712616_0.49322129" } k is eks_zee v is { "foo": "0.61178406_0.18788492" } k is zee_wye v is { "foo": "0.59855401_" } k is _ v is { "foo": "0.03144188_0.74955076" } k is pan_wye v is { "foo": "0.50262601_0.95261836" } expectedStdout [538]: k is pan_pan v is { "foo": "0.34679014_0.72680286" } k is eks_pan v is { "foo": "0.75867996_0.52215111" } k is _wye v is { "foo": "0.20460331_0.33831853" } k is eks_ v is { "foo": "0.38139939_0.13418874" } k is wye_pan v is { "foo": "_0.86362447" } k is zee_pan v is { "foo": "0.52712616_0.49322129" } k is eks_zee v is { "foo": "0.61178406_0.18788492" } k is zee_wye v is { "foo": "0.59855401_" } k is _ v is { "foo": "0.03144188_0.74955076" } k is pan_wye v is { "foo": "0.50262601_0.95261836" } actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-bind-loops-for-valgrind/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-bind-loops-for-valgrind/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-bind-loops-for-valgrind/0011/cmd Command: mlr --from test/input/abixy-het put -q -f ./test/cases/dsl-for-bind-loops-for-valgrind/0011/mlr Miller DSL script: ab = $a . "_" . $b; xy = $x . "_" . $y; for (k, v in {ab : {"foo": xy}}) { print "k is " . k . " v is "; dump v; } actualStdout [538]: k is pan_pan v is { "foo": "0.34679014_0.72680286" } k is eks_pan v is { "foo": "0.75867996_0.52215111" } k is _wye v is { "foo": "0.20460331_0.33831853" } k is eks_ v is { "foo": "0.38139939_0.13418874" } k is wye_pan v is { "foo": "_0.86362447" } k is zee_pan v is { "foo": "0.52712616_0.49322129" } k is eks_zee v is { "foo": "0.61178406_0.18788492" } k is zee_wye v is { "foo": "0.59855401_" } k is _ v is { "foo": "0.03144188_0.74955076" } k is pan_wye v is { "foo": "0.50262601_0.95261836" } expectedStdout [538]: k is pan_pan v is { "foo": "0.34679014_0.72680286" } k is eks_pan v is { "foo": "0.75867996_0.52215111" } k is _wye v is { "foo": "0.20460331_0.33831853" } k is eks_ v is { "foo": "0.38139939_0.13418874" } k is wye_pan v is { "foo": "_0.86362447" } k is zee_pan v is { "foo": "0.52712616_0.49322129" } k is eks_zee v is { "foo": "0.61178406_0.18788492" } k is zee_wye v is { "foo": "0.59855401_" } k is _ v is { "foo": "0.03144188_0.74955076" } k is pan_wye v is { "foo": "0.50262601_0.95261836" } actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-bind-loops-for-valgrind/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-bind-loops-for-valgrind/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-bind-loops-for-valgrind/0012/cmd Command: mlr --from test/input/abixy-het put -q -f ./test/cases/dsl-for-bind-loops-for-valgrind/0012/mlr Miller DSL script: func f(a, b, x, y): map { ab = $a . "_" . $b; xy = $x . "_" . $y; return {ab : {"foo" : xy}}; } for (k, v in f($a, $b, $x, $y)) { print "k is " . k . " v is "; dump v; } actualStdout [538]: k is pan_pan v is { "foo": "0.34679014_0.72680286" } k is eks_pan v is { "foo": "0.75867996_0.52215111" } k is _wye v is { "foo": "0.20460331_0.33831853" } k is eks_ v is { "foo": "0.38139939_0.13418874" } k is wye_pan v is { "foo": "_0.86362447" } k is zee_pan v is { "foo": "0.52712616_0.49322129" } k is eks_zee v is { "foo": "0.61178406_0.18788492" } k is zee_wye v is { "foo": "0.59855401_" } k is _ v is { "foo": "0.03144188_0.74955076" } k is pan_wye v is { "foo": "0.50262601_0.95261836" } expectedStdout [538]: k is pan_pan v is { "foo": "0.34679014_0.72680286" } k is eks_pan v is { "foo": "0.75867996_0.52215111" } k is _wye v is { "foo": "0.20460331_0.33831853" } k is eks_ v is { "foo": "0.38139939_0.13418874" } k is wye_pan v is { "foo": "_0.86362447" } k is zee_pan v is { "foo": "0.52712616_0.49322129" } k is eks_zee v is { "foo": "0.61178406_0.18788492" } k is zee_wye v is { "foo": "0.59855401_" } k is _ v is { "foo": "0.03144188_0.74955076" } k is pan_wye v is { "foo": "0.50262601_0.95261836" } actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-bind-loops-for-valgrind/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-bind-loops-for-valgrind/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-map-depth/0001/cmd Command: mlr --from test/input/abixy put '@o[1][2] = 7; for(k1,v in @*) {$x+=10;$y+=100}' actualStdout [451]: a=pan,b=pan,i=1,x=10.34679014,y=100.72680286 a=eks,b=pan,i=2,x=10.75867996,y=100.52215111 a=wye,b=wye,i=3,x=10.20460331,y=100.33831853 a=eks,b=wye,i=4,x=10.38139939,y=100.13418874 a=wye,b=pan,i=5,x=10.57328892,y=100.86362447 a=zee,b=pan,i=6,x=10.52712616,y=100.49322129 a=eks,b=zee,i=7,x=10.61178406,y=100.18788492 a=zee,b=wye,i=8,x=10.59855401,y=100.97618139 a=hat,b=wye,i=9,x=10.03144188,y=100.74955076 a=pan,b=wye,i=10,x=10.50262601,y=100.95261836 expectedStdout [451]: a=pan,b=pan,i=1,x=10.34679014,y=100.72680286 a=eks,b=pan,i=2,x=10.75867996,y=100.52215111 a=wye,b=wye,i=3,x=10.20460331,y=100.33831853 a=eks,b=wye,i=4,x=10.38139939,y=100.13418874 a=wye,b=pan,i=5,x=10.57328892,y=100.86362447 a=zee,b=pan,i=6,x=10.52712616,y=100.49322129 a=eks,b=zee,i=7,x=10.61178406,y=100.18788492 a=zee,b=wye,i=8,x=10.59855401,y=100.97618139 a=hat,b=wye,i=9,x=10.03144188,y=100.74955076 a=pan,b=wye,i=10,x=10.50262601,y=100.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-map-depth/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-map-depth/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-map-depth/0002/cmd Command: mlr --from test/input/abixy put '@o[1][2] = 7; for((k1,k2),v in @*) {$x+=10;$y+=100}' actualStdout [451]: a=pan,b=pan,i=1,x=10.34679014,y=100.72680286 a=eks,b=pan,i=2,x=10.75867996,y=100.52215111 a=wye,b=wye,i=3,x=10.20460331,y=100.33831853 a=eks,b=wye,i=4,x=10.38139939,y=100.13418874 a=wye,b=pan,i=5,x=10.57328892,y=100.86362447 a=zee,b=pan,i=6,x=10.52712616,y=100.49322129 a=eks,b=zee,i=7,x=10.61178406,y=100.18788492 a=zee,b=wye,i=8,x=10.59855401,y=100.97618139 a=hat,b=wye,i=9,x=10.03144188,y=100.74955076 a=pan,b=wye,i=10,x=10.50262601,y=100.95261836 expectedStdout [451]: a=pan,b=pan,i=1,x=10.34679014,y=100.72680286 a=eks,b=pan,i=2,x=10.75867996,y=100.52215111 a=wye,b=wye,i=3,x=10.20460331,y=100.33831853 a=eks,b=wye,i=4,x=10.38139939,y=100.13418874 a=wye,b=pan,i=5,x=10.57328892,y=100.86362447 a=zee,b=pan,i=6,x=10.52712616,y=100.49322129 a=eks,b=zee,i=7,x=10.61178406,y=100.18788492 a=zee,b=wye,i=8,x=10.59855401,y=100.97618139 a=hat,b=wye,i=9,x=10.03144188,y=100.74955076 a=pan,b=wye,i=10,x=10.50262601,y=100.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-map-depth/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-map-depth/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-map-depth/0003/cmd Command: mlr --from test/input/abixy put '@o[1][2] = 7; for((k1,k2,k3),v in @*) {$x+=10;$y+=100}' actualStdout [451]: a=pan,b=pan,i=1,x=10.34679014,y=100.72680286 a=eks,b=pan,i=2,x=10.75867996,y=100.52215111 a=wye,b=wye,i=3,x=10.20460331,y=100.33831853 a=eks,b=wye,i=4,x=10.38139939,y=100.13418874 a=wye,b=pan,i=5,x=10.57328892,y=100.86362447 a=zee,b=pan,i=6,x=10.52712616,y=100.49322129 a=eks,b=zee,i=7,x=10.61178406,y=100.18788492 a=zee,b=wye,i=8,x=10.59855401,y=100.97618139 a=hat,b=wye,i=9,x=10.03144188,y=100.74955076 a=pan,b=wye,i=10,x=10.50262601,y=100.95261836 expectedStdout [451]: a=pan,b=pan,i=1,x=10.34679014,y=100.72680286 a=eks,b=pan,i=2,x=10.75867996,y=100.52215111 a=wye,b=wye,i=3,x=10.20460331,y=100.33831853 a=eks,b=wye,i=4,x=10.38139939,y=100.13418874 a=wye,b=pan,i=5,x=10.57328892,y=100.86362447 a=zee,b=pan,i=6,x=10.52712616,y=100.49322129 a=eks,b=zee,i=7,x=10.61178406,y=100.18788492 a=zee,b=wye,i=8,x=10.59855401,y=100.97618139 a=hat,b=wye,i=9,x=10.03144188,y=100.74955076 a=pan,b=wye,i=10,x=10.50262601,y=100.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-map-depth/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-map-depth/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-map-depth/0004/cmd Command: mlr --from test/input/abixy put '@o[1][2][3] = 7; for(k1,v in @o[1][2]) {$x+=10;$y+=100}' actualStdout [451]: a=pan,b=pan,i=1,x=10.34679014,y=100.72680286 a=eks,b=pan,i=2,x=10.75867996,y=100.52215111 a=wye,b=wye,i=3,x=10.20460331,y=100.33831853 a=eks,b=wye,i=4,x=10.38139939,y=100.13418874 a=wye,b=pan,i=5,x=10.57328892,y=100.86362447 a=zee,b=pan,i=6,x=10.52712616,y=100.49322129 a=eks,b=zee,i=7,x=10.61178406,y=100.18788492 a=zee,b=wye,i=8,x=10.59855401,y=100.97618139 a=hat,b=wye,i=9,x=10.03144188,y=100.74955076 a=pan,b=wye,i=10,x=10.50262601,y=100.95261836 expectedStdout [451]: a=pan,b=pan,i=1,x=10.34679014,y=100.72680286 a=eks,b=pan,i=2,x=10.75867996,y=100.52215111 a=wye,b=wye,i=3,x=10.20460331,y=100.33831853 a=eks,b=wye,i=4,x=10.38139939,y=100.13418874 a=wye,b=pan,i=5,x=10.57328892,y=100.86362447 a=zee,b=pan,i=6,x=10.52712616,y=100.49322129 a=eks,b=zee,i=7,x=10.61178406,y=100.18788492 a=zee,b=wye,i=8,x=10.59855401,y=100.97618139 a=hat,b=wye,i=9,x=10.03144188,y=100.74955076 a=pan,b=wye,i=10,x=10.50262601,y=100.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-map-depth/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-map-depth/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-map-depth/0005/cmd Command: mlr --from test/input/abixy put '@o[1][2][3] = 7; for((k1,k2),v in @o[1][2]) {$x+=10;$y+=100}' actualStdout [421]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [421]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-map-depth/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-map-depth/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-map-depth/0006/cmd Command: mlr --from test/input/abixy put '@o[1][2][3] = 7; for((k1,k2,k3),v in @o[1][2]) {$x+=10;$y+=100}' actualStdout [421]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [421]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-map-depth/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-map-depth/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-map-depth/0007/cmd Command: mlr --from test/input/abixy put 'o[1][2] = 7; for(k1,v in o) {$x+=10;$y+=100}' actualStdout [451]: a=pan,b=pan,i=1,x=10.34679014,y=100.72680286 a=eks,b=pan,i=2,x=10.75867996,y=100.52215111 a=wye,b=wye,i=3,x=10.20460331,y=100.33831853 a=eks,b=wye,i=4,x=10.38139939,y=100.13418874 a=wye,b=pan,i=5,x=10.57328892,y=100.86362447 a=zee,b=pan,i=6,x=10.52712616,y=100.49322129 a=eks,b=zee,i=7,x=10.61178406,y=100.18788492 a=zee,b=wye,i=8,x=10.59855401,y=100.97618139 a=hat,b=wye,i=9,x=10.03144188,y=100.74955076 a=pan,b=wye,i=10,x=10.50262601,y=100.95261836 expectedStdout [451]: a=pan,b=pan,i=1,x=10.34679014,y=100.72680286 a=eks,b=pan,i=2,x=10.75867996,y=100.52215111 a=wye,b=wye,i=3,x=10.20460331,y=100.33831853 a=eks,b=wye,i=4,x=10.38139939,y=100.13418874 a=wye,b=pan,i=5,x=10.57328892,y=100.86362447 a=zee,b=pan,i=6,x=10.52712616,y=100.49322129 a=eks,b=zee,i=7,x=10.61178406,y=100.18788492 a=zee,b=wye,i=8,x=10.59855401,y=100.97618139 a=hat,b=wye,i=9,x=10.03144188,y=100.74955076 a=pan,b=wye,i=10,x=10.50262601,y=100.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-map-depth/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-map-depth/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-map-depth/0008/cmd Command: mlr --from test/input/abixy put 'o[1][2] = 7; for((k1,k2),v in o) {$x+=10;$y+=100}' actualStdout [451]: a=pan,b=pan,i=1,x=10.34679014,y=100.72680286 a=eks,b=pan,i=2,x=10.75867996,y=100.52215111 a=wye,b=wye,i=3,x=10.20460331,y=100.33831853 a=eks,b=wye,i=4,x=10.38139939,y=100.13418874 a=wye,b=pan,i=5,x=10.57328892,y=100.86362447 a=zee,b=pan,i=6,x=10.52712616,y=100.49322129 a=eks,b=zee,i=7,x=10.61178406,y=100.18788492 a=zee,b=wye,i=8,x=10.59855401,y=100.97618139 a=hat,b=wye,i=9,x=10.03144188,y=100.74955076 a=pan,b=wye,i=10,x=10.50262601,y=100.95261836 expectedStdout [451]: a=pan,b=pan,i=1,x=10.34679014,y=100.72680286 a=eks,b=pan,i=2,x=10.75867996,y=100.52215111 a=wye,b=wye,i=3,x=10.20460331,y=100.33831853 a=eks,b=wye,i=4,x=10.38139939,y=100.13418874 a=wye,b=pan,i=5,x=10.57328892,y=100.86362447 a=zee,b=pan,i=6,x=10.52712616,y=100.49322129 a=eks,b=zee,i=7,x=10.61178406,y=100.18788492 a=zee,b=wye,i=8,x=10.59855401,y=100.97618139 a=hat,b=wye,i=9,x=10.03144188,y=100.74955076 a=pan,b=wye,i=10,x=10.50262601,y=100.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-map-depth/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-map-depth/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-map-depth/0009/cmd Command: mlr --from test/input/abixy put 'o[1][2] = 7; for((k1,k2,k3),v in o) {$x+=10;$y+=100}' actualStdout [421]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [421]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-map-depth/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-map-depth/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-map-depth/0010/cmd Command: mlr --from test/input/abixy put 'for(k1,v in {1:{2:7}}) {$x+=10;$y+=100}' actualStdout [451]: a=pan,b=pan,i=1,x=10.34679014,y=100.72680286 a=eks,b=pan,i=2,x=10.75867996,y=100.52215111 a=wye,b=wye,i=3,x=10.20460331,y=100.33831853 a=eks,b=wye,i=4,x=10.38139939,y=100.13418874 a=wye,b=pan,i=5,x=10.57328892,y=100.86362447 a=zee,b=pan,i=6,x=10.52712616,y=100.49322129 a=eks,b=zee,i=7,x=10.61178406,y=100.18788492 a=zee,b=wye,i=8,x=10.59855401,y=100.97618139 a=hat,b=wye,i=9,x=10.03144188,y=100.74955076 a=pan,b=wye,i=10,x=10.50262601,y=100.95261836 expectedStdout [451]: a=pan,b=pan,i=1,x=10.34679014,y=100.72680286 a=eks,b=pan,i=2,x=10.75867996,y=100.52215111 a=wye,b=wye,i=3,x=10.20460331,y=100.33831853 a=eks,b=wye,i=4,x=10.38139939,y=100.13418874 a=wye,b=pan,i=5,x=10.57328892,y=100.86362447 a=zee,b=pan,i=6,x=10.52712616,y=100.49322129 a=eks,b=zee,i=7,x=10.61178406,y=100.18788492 a=zee,b=wye,i=8,x=10.59855401,y=100.97618139 a=hat,b=wye,i=9,x=10.03144188,y=100.74955076 a=pan,b=wye,i=10,x=10.50262601,y=100.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-map-depth/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-map-depth/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-map-depth/0011/cmd Command: mlr --from test/input/abixy put 'for((k1,k2),v in {1:{2:7}}) {$x+=10;$y+=100}' actualStdout [451]: a=pan,b=pan,i=1,x=10.34679014,y=100.72680286 a=eks,b=pan,i=2,x=10.75867996,y=100.52215111 a=wye,b=wye,i=3,x=10.20460331,y=100.33831853 a=eks,b=wye,i=4,x=10.38139939,y=100.13418874 a=wye,b=pan,i=5,x=10.57328892,y=100.86362447 a=zee,b=pan,i=6,x=10.52712616,y=100.49322129 a=eks,b=zee,i=7,x=10.61178406,y=100.18788492 a=zee,b=wye,i=8,x=10.59855401,y=100.97618139 a=hat,b=wye,i=9,x=10.03144188,y=100.74955076 a=pan,b=wye,i=10,x=10.50262601,y=100.95261836 expectedStdout [451]: a=pan,b=pan,i=1,x=10.34679014,y=100.72680286 a=eks,b=pan,i=2,x=10.75867996,y=100.52215111 a=wye,b=wye,i=3,x=10.20460331,y=100.33831853 a=eks,b=wye,i=4,x=10.38139939,y=100.13418874 a=wye,b=pan,i=5,x=10.57328892,y=100.86362447 a=zee,b=pan,i=6,x=10.52712616,y=100.49322129 a=eks,b=zee,i=7,x=10.61178406,y=100.18788492 a=zee,b=wye,i=8,x=10.59855401,y=100.97618139 a=hat,b=wye,i=9,x=10.03144188,y=100.74955076 a=pan,b=wye,i=10,x=10.50262601,y=100.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-map-depth/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-map-depth/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-map-depth/0012/cmd Command: mlr --from test/input/abixy put 'for((k1,k2,k3),v in {1:{2:7}}) {$x+=10;$y+=100}' actualStdout [421]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [421]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-map-depth/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-map-depth/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-multi/0001/cmd Command: mlr -n put -v 'for (k in @*) {}' actualStdout [177]: DSL EXPRESSION: for (k in @*) {} AST: * statement block * single-variable for-loop "for" * local variable "k" * full oosvar "@*" * statement block expectedStdout [177]: DSL EXPRESSION: for (k in @*) {} AST: * statement block * single-variable for-loop "for" * local variable "k" * full oosvar "@*" * statement block actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-multi/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-multi/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-multi/0002/cmd Command: mlr -n put -v 'for (k, v in @*) {}' actualStdout [209]: DSL EXPRESSION: for (k, v in @*) {} AST: * statement block * double-variable for-loop "for" * local variable "k" * local variable "v" * full oosvar "@*" * statement block expectedStdout [209]: DSL EXPRESSION: for (k, v in @*) {} AST: * statement block * double-variable for-loop "for" * local variable "k" * local variable "v" * full oosvar "@*" * statement block actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-multi/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-multi/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-multi/0003/cmd Command: mlr -n put -v 'for ((k1,k2), v in @*) {}' actualStdout [278]: DSL EXPRESSION: for ((k1,k2), v in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "k1" * local variable "k2" * local variable "v" * full oosvar "@*" * statement block expectedStdout [278]: DSL EXPRESSION: for ((k1,k2), v in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "k1" * local variable "k2" * local variable "v" * full oosvar "@*" * statement block actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-multi/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-multi/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-multi/0004/cmd Command: mlr -n put -v 'for ((k1,k2,k3), v in @*) {}' actualStdout [315]: DSL EXPRESSION: for ((k1,k2,k3), v in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "k1" * local variable "k2" * local variable "k3" * local variable "v" * full oosvar "@*" * statement block expectedStdout [315]: DSL EXPRESSION: for ((k1,k2,k3), v in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "k1" * local variable "k2" * local variable "k3" * local variable "v" * full oosvar "@*" * statement block actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-multi/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-multi/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-one/0001/cmd Command: mlr --from test/input/s.dkvp head -n 2 then put -q -f test/cases/dsl-for-one/0001/mlr Miller DSL script: for (k in $*) { emit { "foo" : "bar" } } actualStdout [80]: foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar expectedStdout [80]: foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-one/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-one/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-one/0002/cmd Command: mlr --from test/input/s.dkvp head -n 2 then put -q -f test/cases/dsl-for-one/0002/mlr Miller DSL script: for (k in $*) { emit { "foo" : k } } actualStdout [60]: foo=a foo=b foo=i foo=x foo=y foo=a foo=b foo=i foo=x foo=y expectedStdout [60]: foo=a foo=b foo=i foo=x foo=y foo=a foo=b foo=i foo=x foo=y actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-one/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-one/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-one/0003/cmd Command: mlr --from test/input/s.dkvp head -n 2 then put -q -f test/cases/dsl-for-one/0003/mlr Miller DSL script: for (k in $*) { emit { k: "bar" } } actualStdout [60]: a=bar b=bar i=bar x=bar y=bar a=bar b=bar i=bar x=bar y=bar expectedStdout [60]: a=bar b=bar i=bar x=bar y=bar a=bar b=bar i=bar x=bar y=bar actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-one/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-one/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-one/0004/cmd Command: mlr --from test/input/s.dkvp head -n 2 then put -q -f test/cases/dsl-for-one/0004/mlr Miller DSL script: for (k in $*) { emit { k : k } } actualStdout [40]: a=a b=b i=i x=x y=y a=a b=b i=i x=x y=y expectedStdout [40]: a=a b=b i=i x=x y=y a=a b=b i=i x=x y=y actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-one/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-one/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-one/0005/cmd Command: mlr --from test/input/s.dkvp head -n 1 then put -q -f test/cases/dsl-for-one/0005/mlr Miller DSL script: for (e in [3,4,5]) { emit { "foo" : "bar" } } actualStdout [24]: foo=bar foo=bar foo=bar expectedStdout [24]: foo=bar foo=bar foo=bar actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-one/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-one/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-one/0006/cmd Command: mlr --from test/input/s.dkvp head -n 1 then put -q -f test/cases/dsl-for-one/0006/mlr Miller DSL script: for (e in [3,4,5]) { emit { "foo" : e } } actualStdout [18]: foo=3 foo=4 foo=5 expectedStdout [18]: foo=3 foo=4 foo=5 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-one/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-one/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0001/cmd Command: mlr --opprint -n put -v -f ./test/cases/dsl-for-oosvar-loops/0001/mlr Miller DSL script: @o[1][1]["text1"][NR] = $a; @o[1][2]["text2"][NR] = $b; @o[1][2][$a][$i*100] = $x; for((k1,k2),v in @o[1][2]) { @n[3][4][k2][k1] = v; } end { emit @n, "a", "b", "c", "d" } actualStdout [2929]: DSL EXPRESSION: @o[1][1]["text1"][NR] = $a; @o[1][2]["text2"][NR] = $b; @o[1][2][$a][$i*100] = $x; for((k1,k2),v in @o[1][2]) { @n[3][4][k2][k1] = v; } end { emit @n, "a", "b", "c", "d" } AST: * statement block * assignment "=" * array or map index access "[]" * array or map index access "[]" * array or map index access "[]" * array or map index access "[]" * direct oosvar value "o" * int literal "1" * int literal "1" * string literal "text1" * context variable "NR" * direct field value "a" * assignment "=" * array or map index access "[]" * array or map index access "[]" * array or map index access "[]" * array or map index access "[]" * direct oosvar value "o" * int literal "1" * int literal "2" * string literal "text2" * context variable "NR" * direct field value "b" * assignment "=" * array or map index access "[]" * array or map index access "[]" * array or map index access "[]" * array or map index access "[]" * direct oosvar value "o" * int literal "1" * int literal "2" * direct field value "a" * operator "*" * direct field value "i" * int literal "100" * direct field value "x" * multi-variable for-loop "for" * parameter list * local variable "k1" * local variable "k2" * local variable "v" * array or map index access "[]" * array or map index access "[]" * direct oosvar value "o" * int literal "1" * int literal "2" * statement block * assignment "=" * array or map index access "[]" * array or map index access "[]" * array or map index access "[]" * array or map index access "[]" * direct oosvar value "n" * int literal "3" * int literal "4" * local variable "k2" * local variable "k1" * local variable "v" * end block * statement block * emit statement "emit" * emittable list * direct oosvar value "n" * emit keys * string literal "a" * string literal "b" * string literal "c" * string literal "d" * no-op expectedStdout [2929]: DSL EXPRESSION: @o[1][1]["text1"][NR] = $a; @o[1][2]["text2"][NR] = $b; @o[1][2][$a][$i*100] = $x; for((k1,k2),v in @o[1][2]) { @n[3][4][k2][k1] = v; } end { emit @n, "a", "b", "c", "d" } AST: * statement block * assignment "=" * array or map index access "[]" * array or map index access "[]" * array or map index access "[]" * array or map index access "[]" * direct oosvar value "o" * int literal "1" * int literal "1" * string literal "text1" * context variable "NR" * direct field value "a" * assignment "=" * array or map index access "[]" * array or map index access "[]" * array or map index access "[]" * array or map index access "[]" * direct oosvar value "o" * int literal "1" * int literal "2" * string literal "text2" * context variable "NR" * direct field value "b" * assignment "=" * array or map index access "[]" * array or map index access "[]" * array or map index access "[]" * array or map index access "[]" * direct oosvar value "o" * int literal "1" * int literal "2" * direct field value "a" * operator "*" * direct field value "i" * int literal "100" * direct field value "x" * multi-variable for-loop "for" * parameter list * local variable "k1" * local variable "k2" * local variable "v" * array or map index access "[]" * array or map index access "[]" * direct oosvar value "o" * int literal "1" * int literal "2" * statement block * assignment "=" * array or map index access "[]" * array or map index access "[]" * array or map index access "[]" * array or map index access "[]" * direct oosvar value "n" * int literal "3" * int literal "4" * local variable "k2" * local variable "k1" * local variable "v" * end block * statement block * emit statement "emit" * emittable list * direct oosvar value "n" * emit keys * string literal "a" * string literal "b" * string literal "c" * string literal "d" * no-op actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-oosvar-loops/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0002/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-for-oosvar-loops/0002/mlr Miller DSL script: @o[1][1]["text1"][NR] = $a; @o[1][2]["text2"][NR] = $b; @o[1][2][$a][$i*100] = $x; for((k1,k2),v in @o[1][2]) { @n[3][4][k2][k1] = v; } end { emit @n, "a", "b", "c", "d" } actualStdout [467]: a b c d n 3 4 1 text2 pan 3 4 100 pan 0.34679014 3 4 2 text2 pan 3 4 200 eks 0.75867996 3 4 3 text2 wye 3 4 300 wye 0.20460331 3 4 4 text2 wye 3 4 400 eks 0.38139939 3 4 5 text2 pan 3 4 500 wye 0.57328892 3 4 6 text2 pan 3 4 600 zee 0.52712616 3 4 7 text2 zee 3 4 700 eks 0.61178406 3 4 8 text2 wye 3 4 800 zee 0.59855401 3 4 9 text2 wye 3 4 900 hat 0.03144188 3 4 10 text2 wye 3 4 1000 pan 0.50262601 expectedStdout [467]: a b c d n 3 4 1 text2 pan 3 4 100 pan 0.34679014 3 4 2 text2 pan 3 4 200 eks 0.75867996 3 4 3 text2 wye 3 4 300 wye 0.20460331 3 4 4 text2 wye 3 4 400 eks 0.38139939 3 4 5 text2 pan 3 4 500 wye 0.57328892 3 4 6 text2 pan 3 4 600 zee 0.52712616 3 4 7 text2 zee 3 4 700 eks 0.61178406 3 4 8 text2 wye 3 4 800 zee 0.59855401 3 4 9 text2 wye 3 4 900 hat 0.03144188 3 4 10 text2 wye 3 4 1000 pan 0.50262601 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-oosvar-loops/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0003/cmd Command: mlr --opprint --from test/input/abixy put -q -f ./test/cases/dsl-for-oosvar-loops/0003/mlr Miller DSL script: @sum[$a][$b] += $x; @count[$a][$b] += 1; end { for ((k1, k2), v in @sum) { @mean[k1][k2] = @sum[k1][k2] / @count[k1][k2] } emitp @sum, "a", "b"; emitp @count, "a", "b"; emitp @mean, "a", "b" } actualStdout [521]: a b sum pan pan 0.34679014 pan wye 0.50262601 eks pan 0.75867996 eks wye 0.38139939 eks zee 0.61178406 wye wye 0.20460331 wye pan 0.57328892 zee pan 0.52712616 zee wye 0.59855401 hat wye 0.03144188 a b count pan pan 1 pan wye 1 eks pan 1 eks wye 1 eks zee 1 wye wye 1 wye pan 1 zee pan 1 zee wye 1 hat wye 1 a b mean pan pan 0.34679014 pan wye 0.50262601 eks pan 0.75867996 eks wye 0.38139939 eks zee 0.61178406 wye wye 0.20460331 wye pan 0.57328892 zee pan 0.52712616 zee wye 0.59855401 hat wye 0.03144188 expectedStdout [521]: a b sum pan pan 0.34679014 pan wye 0.50262601 eks pan 0.75867996 eks wye 0.38139939 eks zee 0.61178406 wye wye 0.20460331 wye pan 0.57328892 zee pan 0.52712616 zee wye 0.59855401 hat wye 0.03144188 a b count pan pan 1 pan wye 1 eks pan 1 eks wye 1 eks zee 1 wye wye 1 wye pan 1 zee pan 1 zee wye 1 hat wye 1 a b mean pan pan 0.34679014 pan wye 0.50262601 eks pan 0.75867996 eks wye 0.38139939 eks zee 0.61178406 wye wye 0.20460331 wye pan 0.57328892 zee pan 0.52712616 zee wye 0.59855401 hat wye 0.03144188 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-oosvar-loops/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0004/cmd Command: mlr --opprint --from test/input/abixy-wide put -q -f ./test/cases/dsl-for-oosvar-loops/0004/mlr Miller DSL script: @value["sum"][$a][$b] += $x; @value["count"][$a][$b] += 1; end { for ((k1, k2), v in @value["sum"]) { @value["mean"][k1][k2] = @value["sum"][k1][k2] / @value["count"][k1][k2] } emitp @value, "stat", "a", "b"; } actualStdout [1720]: stat a b value sum cat pan 42.32715826 sum cat hat 43.18440957 sum cat dog 39.24147285 sum cat wye 45.19677452 sum cat cat 37.89414848 sum pan wye 40.13529971 sum pan pan 36.22633427 sum pan hat 35.11586926 sum pan dog 37.81756019 sum pan cat 42.23567663 sum wye cat 40.80572298 sum wye hat 41.16669670 sum wye dog 40.61954682 sum wye wye 32.49097274 sum wye pan 33.02719552 sum dog hat 43.51516221 sum dog pan 45.61401108 sum dog dog 43.54595570 sum dog wye 37.22379467 sum dog cat 45.64259510 sum hat hat 48.05889742 sum hat wye 34.05426962 sum hat pan 42.53875750 sum hat cat 44.32565470 sum hat dog 37.11424443 count cat pan 89 count cat hat 90 count cat dog 78 count cat wye 77 count cat cat 79 count pan wye 78 count pan pan 77 count pan hat 67 count pan dog 73 count pan cat 89 count wye cat 74 count wye hat 87 count wye dog 76 count wye wye 67 count wye pan 66 count dog hat 88 count dog pan 87 count dog dog 87 count dog wye 79 count dog cat 83 count hat hat 88 count hat wye 70 count hat pan 85 count hat cat 88 count hat dog 78 mean cat pan 0.47558605 mean cat hat 0.47982677 mean cat dog 0.50309581 mean cat wye 0.58697110 mean cat cat 0.47967277 mean pan wye 0.51455512 mean pan pan 0.47047187 mean pan hat 0.52411745 mean pan dog 0.51804877 mean pan cat 0.47455816 mean wye cat 0.55142869 mean wye hat 0.47318042 mean wye dog 0.53446772 mean wye wye 0.48493989 mean wye pan 0.50041205 mean dog hat 0.49449048 mean dog pan 0.52429898 mean dog dog 0.50052823 mean dog wye 0.47118727 mean dog cat 0.54991078 mean hat hat 0.54612383 mean hat wye 0.48648957 mean hat pan 0.50045597 mean hat cat 0.50370062 mean hat dog 0.47582365 expectedStdout [1720]: stat a b value sum cat pan 42.32715826 sum cat hat 43.18440957 sum cat dog 39.24147285 sum cat wye 45.19677452 sum cat cat 37.89414848 sum pan wye 40.13529971 sum pan pan 36.22633427 sum pan hat 35.11586926 sum pan dog 37.81756019 sum pan cat 42.23567663 sum wye cat 40.80572298 sum wye hat 41.16669670 sum wye dog 40.61954682 sum wye wye 32.49097274 sum wye pan 33.02719552 sum dog hat 43.51516221 sum dog pan 45.61401108 sum dog dog 43.54595570 sum dog wye 37.22379467 sum dog cat 45.64259510 sum hat hat 48.05889742 sum hat wye 34.05426962 sum hat pan 42.53875750 sum hat cat 44.32565470 sum hat dog 37.11424443 count cat pan 89 count cat hat 90 count cat dog 78 count cat wye 77 count cat cat 79 count pan wye 78 count pan pan 77 count pan hat 67 count pan dog 73 count pan cat 89 count wye cat 74 count wye hat 87 count wye dog 76 count wye wye 67 count wye pan 66 count dog hat 88 count dog pan 87 count dog dog 87 count dog wye 79 count dog cat 83 count hat hat 88 count hat wye 70 count hat pan 85 count hat cat 88 count hat dog 78 mean cat pan 0.47558605 mean cat hat 0.47982677 mean cat dog 0.50309581 mean cat wye 0.58697110 mean cat cat 0.47967277 mean pan wye 0.51455512 mean pan pan 0.47047187 mean pan hat 0.52411745 mean pan dog 0.51804877 mean pan cat 0.47455816 mean wye cat 0.55142869 mean wye hat 0.47318042 mean wye dog 0.53446772 mean wye wye 0.48493989 mean wye pan 0.50041205 mean dog hat 0.49449048 mean dog pan 0.52429898 mean dog dog 0.50052823 mean dog wye 0.47118727 mean dog cat 0.54991078 mean hat hat 0.54612383 mean hat wye 0.48648957 mean hat pan 0.50045597 mean hat cat 0.50370062 mean hat dog 0.47582365 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-oosvar-loops/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0005/cmd Command: mlr -n put -v -f test/cases/dsl-for-oosvar-loops/0005/mlr Miller DSL script: for (k, k in $*) {} actualStdout [210]: DSL EXPRESSION: for (k, k in $*) {} AST: * statement block * double-variable for-loop "for" * local variable "k" * local variable "k" * full record "$*" * statement block expectedStdout [210]: DSL EXPRESSION: for (k, k in $*) {} AST: * statement block * double-variable for-loop "for" * local variable "k" * local variable "k" * full record "$*" * statement block actualStderr [51]: mlr: redefinition of variable k in the same scope. expectedStderr [51]: mlr: redefinition of variable k in the same scope. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-for-oosvar-loops/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0006/cmd Command: mlr -n put -v -f test/cases/dsl-for-oosvar-loops/0006/mlr Miller DSL script: for (k, k in @*) {} actualStdout [210]: DSL EXPRESSION: for (k, k in @*) {} AST: * statement block * double-variable for-loop "for" * local variable "k" * local variable "k" * full oosvar "@*" * statement block expectedStdout [210]: DSL EXPRESSION: for (k, k in @*) {} AST: * statement block * double-variable for-loop "for" * local variable "k" * local variable "k" * full oosvar "@*" * statement block actualStderr [51]: mlr: redefinition of variable k in the same scope. expectedStderr [51]: mlr: redefinition of variable k in the same scope. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-for-oosvar-loops/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0007/cmd Command: mlr -n put -v -f test/cases/dsl-for-oosvar-loops/0007/mlr Miller DSL script: for ((a,a), c in @*) {} actualStdout [275]: DSL EXPRESSION: for ((a,a), c in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "a" * local variable "a" * local variable "c" * full oosvar "@*" * statement block expectedStdout [275]: DSL EXPRESSION: for ((a,a), c in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "a" * local variable "a" * local variable "c" * full oosvar "@*" * statement block actualStderr [51]: mlr: redefinition of variable a in the same scope. expectedStderr [51]: mlr: redefinition of variable a in the same scope. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-for-oosvar-loops/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0008/cmd Command: mlr -n put -v -f test/cases/dsl-for-oosvar-loops/0008/mlr Miller DSL script: for ((a,b), a in @*) {} actualStdout [275]: DSL EXPRESSION: for ((a,b), a in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "a" * local variable "b" * local variable "a" * full oosvar "@*" * statement block expectedStdout [275]: DSL EXPRESSION: for ((a,b), a in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "a" * local variable "b" * local variable "a" * full oosvar "@*" * statement block actualStderr [51]: mlr: redefinition of variable a in the same scope. expectedStderr [51]: mlr: redefinition of variable a in the same scope. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-for-oosvar-loops/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0009/cmd Command: mlr -n put -v -f test/cases/dsl-for-oosvar-loops/0009/mlr Miller DSL script: for ((a,b), b in @*) {} actualStdout [275]: DSL EXPRESSION: for ((a,b), b in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "a" * local variable "b" * local variable "b" * full oosvar "@*" * statement block expectedStdout [275]: DSL EXPRESSION: for ((a,b), b in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "a" * local variable "b" * local variable "b" * full oosvar "@*" * statement block actualStderr [51]: mlr: redefinition of variable b in the same scope. expectedStderr [51]: mlr: redefinition of variable b in the same scope. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-for-oosvar-loops/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0010/cmd Command: mlr -n put -v -f test/cases/dsl-for-oosvar-loops/0010/mlr Miller DSL script: for ((a,a,c), d in @*) {} actualStdout [310]: DSL EXPRESSION: for ((a,a,c), d in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "a" * local variable "a" * local variable "c" * local variable "d" * full oosvar "@*" * statement block expectedStdout [310]: DSL EXPRESSION: for ((a,a,c), d in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "a" * local variable "a" * local variable "c" * local variable "d" * full oosvar "@*" * statement block actualStderr [51]: mlr: redefinition of variable a in the same scope. expectedStderr [51]: mlr: redefinition of variable a in the same scope. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-for-oosvar-loops/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0011/cmd Command: mlr -n put -v -f test/cases/dsl-for-oosvar-loops/0011/mlr Miller DSL script: for ((a,b,a), d in @*) {} actualStdout [310]: DSL EXPRESSION: for ((a,b,a), d in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "a" * local variable "b" * local variable "a" * local variable "d" * full oosvar "@*" * statement block expectedStdout [310]: DSL EXPRESSION: for ((a,b,a), d in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "a" * local variable "b" * local variable "a" * local variable "d" * full oosvar "@*" * statement block actualStderr [51]: mlr: redefinition of variable a in the same scope. expectedStderr [51]: mlr: redefinition of variable a in the same scope. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-for-oosvar-loops/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0012/cmd Command: mlr -n put -v -f test/cases/dsl-for-oosvar-loops/0012/mlr Miller DSL script: for ((a,b,c), a in @*) {} actualStdout [310]: DSL EXPRESSION: for ((a,b,c), a in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "a" * local variable "b" * local variable "c" * local variable "a" * full oosvar "@*" * statement block expectedStdout [310]: DSL EXPRESSION: for ((a,b,c), a in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "a" * local variable "b" * local variable "c" * local variable "a" * full oosvar "@*" * statement block actualStderr [51]: mlr: redefinition of variable a in the same scope. expectedStderr [51]: mlr: redefinition of variable a in the same scope. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-for-oosvar-loops/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0013/cmd Command: mlr -n put -v -f test/cases/dsl-for-oosvar-loops/0013/mlr Miller DSL script: for ((a,b,b), d in @*) {} actualStdout [310]: DSL EXPRESSION: for ((a,b,b), d in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "a" * local variable "b" * local variable "b" * local variable "d" * full oosvar "@*" * statement block expectedStdout [310]: DSL EXPRESSION: for ((a,b,b), d in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "a" * local variable "b" * local variable "b" * local variable "d" * full oosvar "@*" * statement block actualStderr [51]: mlr: redefinition of variable b in the same scope. expectedStderr [51]: mlr: redefinition of variable b in the same scope. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-for-oosvar-loops/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0014/cmd Command: mlr -n put -v -f test/cases/dsl-for-oosvar-loops/0014/mlr Miller DSL script: for ((a,b,c), b in @*) {} actualStdout [310]: DSL EXPRESSION: for ((a,b,c), b in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "a" * local variable "b" * local variable "c" * local variable "b" * full oosvar "@*" * statement block expectedStdout [310]: DSL EXPRESSION: for ((a,b,c), b in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "a" * local variable "b" * local variable "c" * local variable "b" * full oosvar "@*" * statement block actualStderr [51]: mlr: redefinition of variable b in the same scope. expectedStderr [51]: mlr: redefinition of variable b in the same scope. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-for-oosvar-loops/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0015/cmd Command: mlr -n put -v -f test/cases/dsl-for-oosvar-loops/0015/mlr Miller DSL script: for ((a,b,c), c in @*) {} actualStdout [310]: DSL EXPRESSION: for ((a,b,c), c in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "a" * local variable "b" * local variable "c" * local variable "c" * full oosvar "@*" * statement block expectedStdout [310]: DSL EXPRESSION: for ((a,b,c), c in @*) {} AST: * statement block * multi-variable for-loop "for" * parameter list * local variable "a" * local variable "b" * local variable "c" * local variable "c" * full oosvar "@*" * statement block actualStderr [51]: mlr: redefinition of variable c in the same scope. expectedStderr [51]: mlr: redefinition of variable c in the same scope. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-for-oosvar-loops/0015/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0015/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0016/cmd Command: mlr --from test/input/xyz2 put -q -f test/cases/dsl-for-oosvar-loops/0016/mlr Miller DSL script: func f() { return {"a"."b":"c"."d",3:4}}; for (k,v in f()){print "k=".k.",v=".v} actualStdout [36]: k=ab,v=cd k=3,v=4 k=ab,v=cd k=3,v=4 expectedStdout [36]: k=ab,v=cd k=3,v=4 k=ab,v=cd k=3,v=4 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-oosvar-loops/0016/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0016/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0017/cmd Command: mlr --from test/input/xyz2 put -q -f test/cases/dsl-for-oosvar-loops/0017/mlr Miller DSL script: for (k,v in {"a"."b":"c"."d",3:"c"}) {print "k=".k.",v=".v} actualStdout [36]: k=ab,v=cd k=3,v=c k=ab,v=cd k=3,v=c expectedStdout [36]: k=ab,v=cd k=3,v=c k=ab,v=cd k=3,v=c actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-oosvar-loops/0017/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0017/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0018/cmd Command: mlr --from test/input/xyz2 put -q -f test/cases/dsl-for-oosvar-loops/0018/mlr Miller DSL script: o["a"."b"]="c"."d"; for (k,v in o) {print "k=".k.",v=".v} actualStdout [20]: k=ab,v=cd k=ab,v=cd expectedStdout [20]: k=ab,v=cd k=ab,v=cd actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-oosvar-loops/0018/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0018/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0019/cmd Command: mlr --from test/input/xyz2 put -q -f test/cases/dsl-for-oosvar-loops/0019/mlr Miller DSL script: @o["a"."b"]="c"."d"; for (k,v in @o) {print "k=".k.",v=".v} actualStdout [20]: k=ab,v=cd k=ab,v=cd expectedStdout [20]: k=ab,v=cd k=ab,v=cd actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-oosvar-loops/0019/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0019/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0020/cmd Command: mlr --from test/input/xyz2 put -f test/cases/dsl-for-oosvar-loops/0020/mlr Miller DSL script: for (k in $*) { print k} actualStdout [36]: x y z x=3,y=4,z=5 x y u x=6,y=7,u=8 expectedStdout [36]: x y z x=3,y=4,z=5 x y u x=6,y=7,u=8 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-oosvar-loops/0020/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0020/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-oosvar-loops/0021/cmd Command: mlr --from test/input/xyz2 put -f test/cases/dsl-for-oosvar-loops/0021/mlr Miller DSL script: m=$*; for (k in m) { print k} actualStdout [36]: x y z x=3,y=4,z=5 x y u x=6,y=7,u=8 expectedStdout [36]: x y z x=3,y=4,z=5 x y u x=6,y=7,u=8 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-oosvar-loops/0021/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-oosvar-loops/0021/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-srec-loops/0001/cmd Command: mlr --from test/input/abixy put -v -f test/cases/dsl-for-srec-loops/0001/mlr Miller DSL script: for(k,v in $*) { } actualStdout [630]: DSL EXPRESSION: for(k,v in $*) { } AST: * statement block * double-variable for-loop "for" * local variable "k" * local variable "v" * full record "$*" * statement block a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [630]: DSL EXPRESSION: for(k,v in $*) { } AST: * statement block * double-variable for-loop "for" * local variable "k" * local variable "v" * full record "$*" * statement block a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-srec-loops/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-srec-loops/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-srec-loops/0002/cmd Command: mlr --from test/input/abixy put -v -f test/cases/dsl-for-srec-loops/0002/mlr Miller DSL script: for(k,v in $*) {$nr= NR} actualStdout [798]: DSL EXPRESSION: for(k,v in $*) {$nr= NR} AST: * statement block * double-variable for-loop "for" * local variable "k" * local variable "v" * full record "$*" * statement block * assignment "=" * direct field value "nr" * context variable "NR" a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,nr=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,nr=2 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,nr=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,nr=4 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,nr=5 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,nr=6 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,nr=7 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,nr=8 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,nr=9 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,nr=10 expectedStdout [798]: DSL EXPRESSION: for(k,v in $*) {$nr= NR} AST: * statement block * double-variable for-loop "for" * local variable "k" * local variable "v" * full record "$*" * statement block * assignment "=" * direct field value "nr" * context variable "NR" a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,nr=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,nr=2 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,nr=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,nr=4 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,nr=5 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,nr=6 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,nr=7 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,nr=8 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,nr=9 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,nr=10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-srec-loops/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-srec-loops/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-srec-loops/0003/cmd Command: mlr --from test/input/abixy put -v -f test/cases/dsl-for-srec-loops/0003/mlr Miller DSL script: for(k,v in $*) {unset $[k]}; $j = NR actualStdout [468]: DSL EXPRESSION: for(k,v in $*) {unset $[k]}; $j = NR AST: * statement block * double-variable for-loop "for" * local variable "k" * local variable "v" * full record "$*" * statement block * unset "unset" * indirect field value "$[]" * local variable "k" * assignment "=" * direct field value "j" * context variable "NR" j=1 j=2 j=3 j=4 j=5 j=6 j=7 j=8 j=9 j=10 expectedStdout [468]: DSL EXPRESSION: for(k,v in $*) {unset $[k]}; $j = NR AST: * statement block * double-variable for-loop "for" * local variable "k" * local variable "v" * full record "$*" * statement block * unset "unset" * indirect field value "$[]" * local variable "k" * assignment "=" * direct field value "j" * context variable "NR" j=1 j=2 j=3 j=4 j=5 j=6 j=7 j=8 j=9 j=10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-srec-loops/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-srec-loops/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-srec-loops/0004/cmd Command: mlr --from test/input/abixy put -v -f test/cases/dsl-for-srec-loops/0004/mlr Miller DSL script: for(k,v in $*) {if (k != "x") {unset $[k]}}; $j = NR actualStdout [868]: DSL EXPRESSION: for(k,v in $*) {if (k != "x") {unset $[k]}}; $j = NR AST: * statement block * double-variable for-loop "for" * local variable "k" * local variable "v" * full record "$*" * statement block * if-chain * if-item "if" * operator "!=" * local variable "k" * string literal "x" * statement block * unset "unset" * indirect field value "$[]" * local variable "k" * assignment "=" * direct field value "j" * context variable "NR" x=0.34679014,j=1 x=0.75867996,j=2 x=0.20460331,j=3 x=0.38139939,j=4 x=0.57328892,j=5 x=0.52712616,j=6 x=0.61178406,j=7 x=0.59855401,j=8 x=0.03144188,j=9 x=0.50262601,j=10 expectedStdout [868]: DSL EXPRESSION: for(k,v in $*) {if (k != "x") {unset $[k]}}; $j = NR AST: * statement block * double-variable for-loop "for" * local variable "k" * local variable "v" * full record "$*" * statement block * if-chain * if-item "if" * operator "!=" * local variable "k" * string literal "x" * statement block * unset "unset" * indirect field value "$[]" * local variable "k" * assignment "=" * direct field value "j" * context variable "NR" x=0.34679014,j=1 x=0.75867996,j=2 x=0.20460331,j=3 x=0.38139939,j=4 x=0.57328892,j=5 x=0.52712616,j=6 x=0.61178406,j=7 x=0.59855401,j=8 x=0.03144188,j=9 x=0.50262601,j=10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-srec-loops/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-srec-loops/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-srec-loops/0005/cmd Command: mlr --from test/input/abixy --opprint put -v -f test/cases/dsl-for-srec-loops/0005/mlr Miller DSL script: for(k,v in $*) {$[k."_orig"]=v; $[k] = "other"} actualStdout [1437]: DSL EXPRESSION: for(k,v in $*) {$[k."_orig"]=v; $[k] = "other"} AST: * statement block * double-variable for-loop "for" * local variable "k" * local variable "v" * full record "$*" * statement block * assignment "=" * indirect field value "$[]" * dot operator "." * local variable "k" * string literal "_orig" * local variable "v" * assignment "=" * indirect field value "$[]" * local variable "k" * string literal "other" a b i x y a_orig b_orig i_orig x_orig y_orig other other other other other pan pan 1 0.34679014 0.72680286 other other other other other eks pan 2 0.75867996 0.52215111 other other other other other wye wye 3 0.20460331 0.33831853 other other other other other eks wye 4 0.38139939 0.13418874 other other other other other wye pan 5 0.57328892 0.86362447 other other other other other zee pan 6 0.52712616 0.49322129 other other other other other eks zee 7 0.61178406 0.18788492 other other other other other zee wye 8 0.59855401 0.97618139 other other other other other hat wye 9 0.03144188 0.74955076 other other other other other pan wye 10 0.50262601 0.95261836 expectedStdout [1437]: DSL EXPRESSION: for(k,v in $*) {$[k."_orig"]=v; $[k] = "other"} AST: * statement block * double-variable for-loop "for" * local variable "k" * local variable "v" * full record "$*" * statement block * assignment "=" * indirect field value "$[]" * dot operator "." * local variable "k" * string literal "_orig" * local variable "v" * assignment "=" * indirect field value "$[]" * local variable "k" * string literal "other" a b i x y a_orig b_orig i_orig x_orig y_orig other other other other other pan pan 1 0.34679014 0.72680286 other other other other other eks pan 2 0.75867996 0.52215111 other other other other other wye wye 3 0.20460331 0.33831853 other other other other other eks wye 4 0.38139939 0.13418874 other other other other other wye pan 5 0.57328892 0.86362447 other other other other other zee pan 6 0.52712616 0.49322129 other other other other other eks zee 7 0.61178406 0.18788492 other other other other other zee wye 8 0.59855401 0.97618139 other other other other other hat wye 9 0.03144188 0.74955076 other other other other other pan wye 10 0.50262601 0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-srec-loops/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-srec-loops/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-srec-loops/0006/cmd Command: mlr --from test/input/abixy put -v -f test/cases/dsl-for-srec-loops/0006/mlr Miller DSL script: for(k,v in $*) {$[string(v)]=k} actualStdout [1257]: DSL EXPRESSION: for(k,v in $*) {$[string(v)]=k} AST: * statement block * double-variable for-loop "for" * local variable "k" * local variable "v" * full record "$*" * statement block * assignment "=" * indirect field value "$[]" * function callsite "string" * local variable "v" * local variable "k" a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,pan=b,1=i,0.34679014=x,0.72680286=y a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,eks=a,pan=b,2=i,0.75867996=x,0.52215111=y a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,wye=b,3=i,0.20460331=x,0.33831853=y a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,eks=a,wye=b,4=i,0.38139939=x,0.13418874=y a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,wye=a,pan=b,5=i,0.57328892=x,0.86362447=y a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,zee=a,pan=b,6=i,0.52712616=x,0.49322129=y a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,eks=a,zee=b,7=i,0.61178406=x,0.18788492=y a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,zee=a,wye=b,8=i,0.59855401=x,0.97618139=y a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,hat=a,wye=b,9=i,0.03144188=x,0.74955076=y a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,pan=a,wye=b,10=i,0.50262601=x,0.95261836=y expectedStdout [1257]: DSL EXPRESSION: for(k,v in $*) {$[string(v)]=k} AST: * statement block * double-variable for-loop "for" * local variable "k" * local variable "v" * full record "$*" * statement block * assignment "=" * indirect field value "$[]" * function callsite "string" * local variable "v" * local variable "k" a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,pan=b,1=i,0.34679014=x,0.72680286=y a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,eks=a,pan=b,2=i,0.75867996=x,0.52215111=y a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,wye=b,3=i,0.20460331=x,0.33831853=y a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,eks=a,wye=b,4=i,0.38139939=x,0.13418874=y a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,wye=a,pan=b,5=i,0.57328892=x,0.86362447=y a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,zee=a,pan=b,6=i,0.52712616=x,0.49322129=y a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,eks=a,zee=b,7=i,0.61178406=x,0.18788492=y a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,zee=a,wye=b,8=i,0.59855401=x,0.97618139=y a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,hat=a,wye=b,9=i,0.03144188=x,0.74955076=y a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,pan=a,wye=b,10=i,0.50262601=x,0.95261836=y actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-srec-loops/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-srec-loops/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-srec-loops/0007/cmd Command: mlr --from test/input/abixy put -v -f ./test/cases/dsl-for-srec-loops/0007/mlr Miller DSL script: $sum = 0; for(k,v in $*) { if (k =~ "^[xy]$") { $sum += $[k] } } actualStdout [1467]: DSL EXPRESSION: $sum = 0; for(k,v in $*) { if (k =~ "^[xy]$") { $sum += $[k] } } AST: * statement block * assignment "=" * direct field value "sum" * int literal "0" * double-variable for-loop "for" * local variable "k" * local variable "v" * full record "$*" * statement block * if-chain * if-item "if" * operator "=~" * local variable "k" * string literal "^[xy]$" * statement block * assignment "=" * direct field value "sum" * operator "+" * direct field value "sum" * indirect field value "$[]" * local variable "k" a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,sum=1.07359301 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,sum=1.28083107 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,sum=0.54292183 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,sum=0.51558814 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,sum=1.43691339 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,sum=1.02034745 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,sum=0.79966898 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,sum=1.57473539 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,sum=0.78099264 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,sum=1.45524437 expectedStdout [1467]: DSL EXPRESSION: $sum = 0; for(k,v in $*) { if (k =~ "^[xy]$") { $sum += $[k] } } AST: * statement block * assignment "=" * direct field value "sum" * int literal "0" * double-variable for-loop "for" * local variable "k" * local variable "v" * full record "$*" * statement block * if-chain * if-item "if" * operator "=~" * local variable "k" * string literal "^[xy]$" * statement block * assignment "=" * direct field value "sum" * operator "+" * direct field value "sum" * indirect field value "$[]" * local variable "k" a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,sum=1.07359301 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,sum=1.28083107 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,sum=0.54292183 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,sum=0.51558814 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,sum=1.43691339 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,sum=1.02034745 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,sum=0.79966898 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,sum=1.57473539 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,sum=0.78099264 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,sum=1.45524437 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-srec-loops/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-srec-loops/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-srec-loops/0008/cmd Command: mlr --from test/input/abixy put -v -f ./test/cases/dsl-for-srec-loops/0008/mlr Miller DSL script: $sum = float(0); for(k,v in $*) { if (k =~ "^[xy]$") { $sum += float($[k]) } } actualStdout [1589]: DSL EXPRESSION: $sum = float(0); for(k,v in $*) { if (k =~ "^[xy]$") { $sum += float($[k]) } } AST: * statement block * assignment "=" * direct field value "sum" * function callsite "float" * int literal "0" * double-variable for-loop "for" * local variable "k" * local variable "v" * full record "$*" * statement block * if-chain * if-item "if" * operator "=~" * local variable "k" * string literal "^[xy]$" * statement block * assignment "=" * direct field value "sum" * operator "+" * direct field value "sum" * function callsite "float" * indirect field value "$[]" * local variable "k" a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,sum=1.07359301 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,sum=1.28083107 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,sum=0.54292183 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,sum=0.51558814 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,sum=1.43691339 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,sum=1.02034745 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,sum=0.79966898 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,sum=1.57473539 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,sum=0.78099264 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,sum=1.45524437 expectedStdout [1589]: DSL EXPRESSION: $sum = float(0); for(k,v in $*) { if (k =~ "^[xy]$") { $sum += float($[k]) } } AST: * statement block * assignment "=" * direct field value "sum" * function callsite "float" * int literal "0" * double-variable for-loop "for" * local variable "k" * local variable "v" * full record "$*" * statement block * if-chain * if-item "if" * operator "=~" * local variable "k" * string literal "^[xy]$" * statement block * assignment "=" * direct field value "sum" * operator "+" * direct field value "sum" * function callsite "float" * indirect field value "$[]" * local variable "k" a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,sum=1.07359301 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,sum=1.28083107 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,sum=0.54292183 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,sum=0.51558814 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,sum=1.43691339 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,sum=1.02034745 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,sum=0.79966898 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,sum=1.57473539 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,sum=0.78099264 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,sum=1.45524437 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-srec-loops/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-srec-loops/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-two/0001/cmd Command: mlr --from test/input/s.dkvp head -n 2 then put -q -f test/cases/dsl-for-two/0001/mlr Miller DSL script: for (k,v in $*) { emit { "foo" : "bar" } } actualStdout [80]: foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar expectedStdout [80]: foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar foo=bar actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-two/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-two/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-two/0002/cmd Command: mlr --from test/input/s.dkvp head -n 2 then put -q -f test/cases/dsl-for-two/0002/mlr Miller DSL script: for (k,v in $*) { emit { "foo" : v } } actualStdout [104]: foo=pan foo=pan foo=1 foo=0.34679014 foo=0.72680286 foo=eks foo=pan foo=2 foo=0.75867996 foo=0.52215111 expectedStdout [104]: foo=pan foo=pan foo=1 foo=0.34679014 foo=0.72680286 foo=eks foo=pan foo=2 foo=0.75867996 foo=0.52215111 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-two/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-two/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-two/0003/cmd Command: mlr --from test/input/s.dkvp head -n 2 then put -q -f test/cases/dsl-for-two/0003/mlr Miller DSL script: for (k,v in $*) { emit { k: "bar" } } actualStdout [60]: a=bar b=bar i=bar x=bar y=bar a=bar b=bar i=bar x=bar y=bar expectedStdout [60]: a=bar b=bar i=bar x=bar y=bar a=bar b=bar i=bar x=bar y=bar actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-two/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-two/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-two/0004/cmd Command: mlr --from test/input/s.dkvp head -n 2 then put -q -f test/cases/dsl-for-two/0004/mlr Miller DSL script: for (k,v in $*) { emit { k : v } } actualStdout [84]: a=pan b=pan i=1 x=0.34679014 y=0.72680286 a=eks b=pan i=2 x=0.75867996 y=0.52215111 expectedStdout [84]: a=pan b=pan i=1 x=0.34679014 y=0.72680286 a=eks b=pan i=2 x=0.75867996 y=0.52215111 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-two/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-two/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-two/0005/cmd Command: mlr --from test/input/s.dkvp head -n 1 then put -q -f test/cases/dsl-for-two/0005/mlr Miller DSL script: for (i,e in [3,4,5]) { emit { "foo" : "bar" } } actualStdout [24]: foo=bar foo=bar foo=bar expectedStdout [24]: foo=bar foo=bar foo=bar actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-two/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-two/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-two/0006/cmd Command: mlr --from test/input/s.dkvp head -n 1 then put -q -f test/cases/dsl-for-two/0006/mlr Miller DSL script: for (i,e in [3,4,5]) { emit { "foo" : i } } actualStdout [18]: foo=1 foo=2 foo=3 expectedStdout [18]: foo=1 foo=2 foo=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-two/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-two/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-two/0007/cmd Command: mlr --from test/input/s.dkvp head -n 1 then put -q -f test/cases/dsl-for-two/0007/mlr Miller DSL script: for (i,e in [3,4,5]) { emit { "foo" : e } } actualStdout [18]: foo=3 foo=4 foo=5 expectedStdout [18]: foo=3 foo=4 foo=5 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-two/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-two/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-variants/0001/cmd Command: mlr --from test/input/s.dkvp put -f test/cases/dsl-for-variants/0001/mlr Miller DSL script: for (@i = 0; @i < NR; @i += 1) { $i += @i } actualStdout [169]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=3,x=0.75867996,y=0.52215111 a=wye,b=wye,i=6,x=0.20460331,y=0.33831853 a=eks,b=wye,i=10,x=0.38139939,y=0.13418874 expectedStdout [169]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=3,x=0.75867996,y=0.52215111 a=wye,b=wye,i=6,x=0.20460331,y=0.33831853 a=eks,b=wye,i=10,x=0.38139939,y=0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-variants/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-variants/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-variants/0002/cmd Command: mlr --from test/input/s.dkvp put -f test/cases/dsl-for-variants/0002/mlr Miller DSL script: i=999; for (i = 0; i < NR; i += 1) { $i += i } actualStdout [169]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=3,x=0.75867996,y=0.52215111 a=wye,b=wye,i=6,x=0.20460331,y=0.33831853 a=eks,b=wye,i=10,x=0.38139939,y=0.13418874 expectedStdout [169]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=3,x=0.75867996,y=0.52215111 a=wye,b=wye,i=6,x=0.20460331,y=0.33831853 a=eks,b=wye,i=10,x=0.38139939,y=0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-variants/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-variants/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-variants/0003/cmd Command: mlr --from test/input/s.dkvp put -v -f test/cases/dsl-for-variants/0003/mlr Miller DSL script: j = 2; for (i = 0; i < NR; i += 1) { $i += i } actualStdout [1072]: DSL EXPRESSION: j = 2; for (i = 0; i < NR; i += 1) { $i += i } AST: * statement block * assignment "=" * local variable "j" * int literal "2" * triple-for loop "for" * statement block * assignment "=" * local variable "i" * int literal "0" * statement block * bare boolean * operator "<" * local variable "i" * context variable "NR" * statement block * assignment "=" * local variable "i" * operator "+" * local variable "i" * int literal "1" * statement block * assignment "=" * direct field value "i" * operator "+" * direct field value "i" * local variable "i" a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=3,x=0.75867996,y=0.52215111 a=wye,b=wye,i=6,x=0.20460331,y=0.33831853 a=eks,b=wye,i=10,x=0.38139939,y=0.13418874 expectedStdout [1072]: DSL EXPRESSION: j = 2; for (i = 0; i < NR; i += 1) { $i += i } AST: * statement block * assignment "=" * local variable "j" * int literal "2" * triple-for loop "for" * statement block * assignment "=" * local variable "i" * int literal "0" * statement block * bare boolean * operator "<" * local variable "i" * context variable "NR" * statement block * assignment "=" * local variable "i" * operator "+" * local variable "i" * int literal "1" * statement block * assignment "=" * direct field value "i" * operator "+" * direct field value "i" * local variable "i" a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=3,x=0.75867996,y=0.52215111 a=wye,b=wye,i=6,x=0.20460331,y=0.33831853 a=eks,b=wye,i=10,x=0.38139939,y=0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-variants/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-variants/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-variants/0004/cmd Command: mlr --from test/input/s.dkvp head -n 2 then put -f ./test/cases/dsl-for-variants/0004/mlr Miller DSL script: for (int i = 0; ; i += 1) { print i; if (i > 5) { break } } actualStdout [112]: 0 1 2 3 4 5 6 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 0 1 2 3 4 5 6 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 expectedStdout [112]: 0 1 2 3 4 5 6 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 0 1 2 3 4 5 6 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-variants/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-variants/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-variants/0005/cmd Command: mlr --from test/input/s.dkvp head -n 2 then put -f ./test/cases/dsl-for-variants/0005/mlr Miller DSL script: for (int i = 0; i < 5 ; i += 1) { print i; } actualStdout [104]: 0 1 2 3 4 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 0 1 2 3 4 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 expectedStdout [104]: 0 1 2 3 4 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 0 1 2 3 4 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-variants/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-variants/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-variants/0006/cmd Command: mlr --from test/input/s.dkvp head -n 2 then put -f ./test/cases/dsl-for-variants/0006/mlr Miller DSL script: for (int i = 0; j = 5 ; i += 1) { print i; if (i > 5) { brea } } actualStdout [0]: expectedStdout [0]: actualStderr [68]: mlr: the triple-for continutation statement must be a bare boolean. expectedStderr [68]: mlr: the triple-for continutation statement must be a bare boolean. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-for-variants/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-variants/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-variants/0007/cmd Command: mlr --from test/input/s.dkvp head -n 2 then put -f ./test/cases/dsl-for-variants/0007/mlr Miller DSL script: j = 20; for (int i = 0; j += 1, i < 5 ; i += 1) { print i; print j; } actualStdout [134]: 0 21 1 22 2 23 3 24 4 25 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 0 21 1 22 2 23 3 24 4 25 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 expectedStdout [134]: 0 21 1 22 2 23 3 24 4 25 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 0 21 1 22 2 23 3 24 4 25 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-for-variants/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-variants/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-variants/0008/cmd Command: mlr --from test/input/s.dkvp head -n 2 then put -f ./test/cases/dsl-for-variants/0008/mlr Miller DSL script: j = 20; for (int i = 0; j += 1, i += 5 ; i += 1) { print i; if (i > 5) { break } } actualStdout [0]: expectedStdout [0]: actualStderr [74]: mlr: the final triple-for continutation statement must be a bare boolean. expectedStderr [74]: mlr: the final triple-for continutation statement must be a bare boolean. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-for-variants/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-variants/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-variants/0009/cmd Command: mlr --from test/input/s.dkvp head -n 2 then put -f ./test/cases/dsl-for-variants/0009/mlr Miller DSL script: j = 20; for (int i = 0; j < 10, i < 10 ; i += 1) { print i; if (i > 5) { break } } actualStdout [0]: expectedStdout [0]: actualStderr [76]: mlr: the non-final triple-for continutation statements must be assignments. expectedStderr [76]: mlr: the non-final triple-for continutation statements must be assignments. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-for-variants/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-variants/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-for-variants/0010/cmd Command: mlr --from test/input/s.dkvp head -n 2 then put -f ./test/cases/dsl-for-variants/0010/mlr Miller DSL script: j = 20; for (int i = 0; i < 10, j = 10 ; i += 1) { print i; if (i > 5) { break } } actualStdout [0]: expectedStdout [0]: actualStderr [76]: mlr: the non-final triple-for continutation statements must be assignments. expectedStderr [76]: mlr: the non-final triple-for continutation statements must be assignments. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-for-variants/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-for-variants/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-forbind-typedecl/0001/cmd Command: mlr --from test/input/abixy put -f ./test/cases/dsl-forbind-typedecl/0001/mlr Miller DSL script: for (int i = 0; i < $i; i += 1) { $c = i * 10; } actualStdout [470]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,c=0 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,c=10 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,c=20 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,c=30 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,c=40 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,c=50 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,c=60 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,c=70 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,c=80 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,c=90 expectedStdout [470]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,c=0 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,c=10 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,c=20 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,c=30 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,c=40 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,c=50 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,c=60 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,c=70 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,c=80 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,c=90 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-forbind-typedecl/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-forbind-typedecl/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-forbind-typedecl/0002/cmd Command: mlr --from test/input/abixy put -f ./test/cases/dsl-forbind-typedecl/0002/mlr Miller DSL script: for (float i = 0; i < $i; i += 1) { $c = i * 10; } actualStdout [0]: expectedStdout [0]: actualStderr [56]: mlr: couldn't assign variable float i from value int 0 expectedStderr [56]: mlr: couldn't assign variable float i from value int 0 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-forbind-typedecl/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-forbind-typedecl/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-forbind-typedecl/0003/cmd Command: mlr --from test/input/abixy put -f ./test/cases/dsl-forbind-typedecl/0003/mlr Miller DSL script: for (int i = 0; i < $i; i += 1) { i += 2; $c = i; } actualStdout [462]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,c=2 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,c=2 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,c=2 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,c=5 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,c=5 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,c=5 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,c=8 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,c=8 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,c=8 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,c=11 expectedStdout [462]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,c=2 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,c=2 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,c=2 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,c=5 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,c=5 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,c=5 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,c=8 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,c=8 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,c=8 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,c=11 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-forbind-typedecl/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-forbind-typedecl/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-forbind-typedecl/0004/cmd Command: mlr --from test/input/abixy put -f ./test/cases/dsl-forbind-typedecl/0004/mlr Miller DSL script: for (int i = 0; i < $i; i += 1) { i += 1.5; $c = i; } actualStdout [0]: expectedStdout [0]: actualStderr [65]: mlr: couldn't assign variable int i from value float 1.50000000 expectedStderr [65]: mlr: couldn't assign variable int i from value float 1.50000000 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-forbind-typedecl/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-forbind-typedecl/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-forbind-typedecl/0005/cmd Command: mlr --from test/input/abixy put -f ./test/cases/dsl-forbind-typedecl/0005/mlr Miller DSL script: for (int i = 0; i < $i; i += 1) { i += 1.0; $c = i; } actualStdout [0]: expectedStdout [0]: actualStderr [65]: mlr: couldn't assign variable int i from value float 1.00000000 expectedStderr [65]: mlr: couldn't assign variable int i from value float 1.00000000 actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-forbind-typedecl/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-forbind-typedecl/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-forbind-typedecl/0006/cmd Command: mlr --from test/input/abixy put -f ./test/cases/dsl-forbind-typedecl/0006/mlr Miller DSL script: for (num i = 0; i < $i; i += 1) { i += 1.0; $c = i; } actualStdout [551]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,c=1.00000000 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,c=1.00000000 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,c=3.00000000 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,c=3.00000000 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,c=5.00000000 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,c=5.00000000 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,c=7.00000000 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,c=7.00000000 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,c=9.00000000 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,c=9.00000000 expectedStdout [551]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,c=1.00000000 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,c=1.00000000 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,c=3.00000000 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,c=3.00000000 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,c=5.00000000 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,c=5.00000000 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,c=7.00000000 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,c=7.00000000 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,c=9.00000000 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,c=9.00000000 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-forbind-typedecl/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-forbind-typedecl/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-format/0001/cmd Command: mlr -n put -f test/cases/dsl-format/0001/mlr Miller DSL script: end { print format() } actualStdout [1]: expectedStdout [1]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-format/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-format/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-format/0002/cmd Command: mlr -n put -f test/cases/dsl-format/0002/mlr Miller DSL script: end { print format(1) } actualStdout [8]: (error) expectedStdout [8]: (error) actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-format/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-format/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-format/0003/cmd Command: mlr -n put -f test/cases/dsl-format/0003/mlr Miller DSL script: end { print format("") } actualStdout [1]: expectedStdout [1]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-format/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-format/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-format/0004/cmd Command: mlr -n put -f test/cases/dsl-format/0004/mlr Miller DSL script: end { print format("abc") } actualStdout [4]: abc expectedStdout [4]: abc actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-format/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-format/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-format/0005/cmd Command: mlr -n put -f test/cases/dsl-format/0005/mlr Miller DSL script: end { print format("{}") } actualStdout [1]: expectedStdout [1]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-format/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-format/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-format/0006/cmd Command: mlr -n put -f test/cases/dsl-format/0006/mlr Miller DSL script: end { print format("{}", 1) } actualStdout [2]: 1 expectedStdout [2]: 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-format/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-format/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-format/0007/cmd Command: mlr -n put -f test/cases/dsl-format/0007/mlr Miller DSL script: end { print format("{}", 1, 2) } actualStdout [2]: 1 expectedStdout [2]: 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-format/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-format/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-format/0008/cmd Command: mlr -n put -f test/cases/dsl-format/0008/mlr Miller DSL script: end { print format("<{}:{}>", "abc") } actualStdout [7]: expectedStdout [7]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-format/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-format/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-format/0009/cmd Command: mlr -n put -f test/cases/dsl-format/0009/mlr Miller DSL script: end { print format("<{}:{}>", "abc", "def") } actualStdout [10]: expectedStdout [10]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-format/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-format/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-format/0010/cmd Command: mlr -n put -f test/cases/dsl-format/0010/mlr Miller DSL script: end { print format("<{}:{}>", "abc", "def", "ghi") } actualStdout [10]: expectedStdout [10]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-format/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-format/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-from-file/0001/cmd Command: mlr put -f test/input/put-example.dsl test/input/abixy actualStdout [661]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,xy=0.25204807,ab=panpan a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,xy=0.39614558,ab=ekspan a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,xy=0.06922109,ab=wyewye a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,xy=0.05117951,ab=ekswye a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,xy=0.49510634,ab=wyepan a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,xy=0.25998984,ab=zeepan a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,xy=0.11494500,ab=ekszee a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,xy=0.58429728,ab=zeewye a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,xy=0.02356728,ab=hatwye a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,xy=0.47881076,ab=panwye expectedStdout [661]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,xy=0.25204807,ab=panpan a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,xy=0.39614558,ab=ekspan a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,xy=0.06922109,ab=wyewye a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,xy=0.05117951,ab=ekswye a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,xy=0.49510634,ab=wyepan a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,xy=0.25998984,ab=zeepan a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,xy=0.11494500,ab=ekszee a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,xy=0.58429728,ab=zeewye a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,xy=0.02356728,ab=hatwye a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,xy=0.47881076,ab=panwye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-from-file/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-from-file/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-from-file/0002/cmd Command: mlr filter -f test/input/filter-example.dsl test/input/abixy actualStdout [253]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [253]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-from-file/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-from-file/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-from-file/0003/cmd Command: mlr --from test/input/abixy put -f test/input/put-example.dsl actualStdout [661]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,xy=0.25204807,ab=panpan a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,xy=0.39614558,ab=ekspan a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,xy=0.06922109,ab=wyewye a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,xy=0.05117951,ab=ekswye a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,xy=0.49510634,ab=wyepan a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,xy=0.25998984,ab=zeepan a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,xy=0.11494500,ab=ekszee a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,xy=0.58429728,ab=zeewye a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,xy=0.02356728,ab=hatwye a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,xy=0.47881076,ab=panwye expectedStdout [661]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,xy=0.25204807,ab=panpan a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,xy=0.39614558,ab=ekspan a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,xy=0.06922109,ab=wyewye a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,xy=0.05117951,ab=ekswye a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,xy=0.49510634,ab=wyepan a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,xy=0.25998984,ab=zeepan a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,xy=0.11494500,ab=ekszee a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,xy=0.58429728,ab=zeewye a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,xy=0.02356728,ab=hatwye a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,xy=0.47881076,ab=panwye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-from-file/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-from-file/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-from-file/0004/cmd Command: mlr --from test/input/abixy filter -f test/input/filter-example.dsl actualStdout [253]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [253]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-from-file/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-from-file/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-from-file/0005/cmd Command: mlr --from test/input/abixy --from test/input/abixy-het put -f test/input/put-example.dsl actualStdout [1320]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,xy=0.25204807,ab=panpan a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,xy=0.39614558,ab=ekspan a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,xy=0.06922109,ab=wyewye a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,xy=0.05117951,ab=ekswye a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,xy=0.49510634,ab=wyepan a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,xy=0.25998984,ab=zeepan a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,xy=0.11494500,ab=ekszee a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,xy=0.58429728,ab=zeewye a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,xy=0.02356728,ab=hatwye a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,xy=0.47881076,ab=panwye a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,xy=0.25204807,ab=panpan a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,xy=0.39614558,ab=ekspan aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853,xy=0.06922109,ab=wye a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874,xy=0.05117951,ab=eks a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447,xy=0.86362447,ab=wyepan a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,xy=0.25998984,ab=zeepan a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492,xy=0.11494500,ab=ekszee a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139,xy=0.59855401,ab=zeewye aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076,xy=0.02356728 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,xy=0.47881076,ab=panwye expectedStdout [1320]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,xy=0.25204807,ab=panpan a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,xy=0.39614558,ab=ekspan a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,xy=0.06922109,ab=wyewye a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,xy=0.05117951,ab=ekswye a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,xy=0.49510634,ab=wyepan a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,xy=0.25998984,ab=zeepan a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,xy=0.11494500,ab=ekszee a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,xy=0.58429728,ab=zeewye a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,xy=0.02356728,ab=hatwye a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,xy=0.47881076,ab=panwye a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,xy=0.25204807,ab=panpan a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,xy=0.39614558,ab=ekspan aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853,xy=0.06922109,ab=wye a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874,xy=0.05117951,ab=eks a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447,xy=0.86362447,ab=wyepan a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,xy=0.25998984,ab=zeepan a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492,xy=0.11494500,ab=ekszee a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139,xy=0.59855401,ab=zeewye aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076,xy=0.02356728 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,xy=0.47881076,ab=panwye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-from-file/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-from-file/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-from-file/0006/cmd Command: mlr --from test/input/abixy --from test/input/abixy-het filter -f test/input/filter-example.dsl actualStdout [428]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853 aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [428]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853 aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-from-file/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-from-file/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-func-decl-hoist/0001/cmd Command: mlr --opprint --from test/input/ten.dkvp put -f test/input/f.mlr actualStdout [487]: a b i x y z pan pan 1 0.34679014 0.72680286 1.07359301 eks pan 2 0.75867996 -0.52215111 0.23652886 wye wye 3 0.20460331 0.33831853 0.54292183 eks wye 4 0.38139939 -0.13418874 0.24721065 wye pan 5 0.57328892 0.86362447 1.43691339 zee pan 6 0.52712616 -0.49322129 0.03390487 eks zee 7 0.61178406 0.18788492 0.79966898 zee wye 8 0.59855401 0.97618139 1.57473539 hat wye 9 0.03144188 -0.74955076 -0.71810888 pan wye 10 0.50262601 0.95261836 1.45524437 expectedStdout [487]: a b i x y z pan pan 1 0.34679014 0.72680286 1.07359301 eks pan 2 0.75867996 -0.52215111 0.23652886 wye wye 3 0.20460331 0.33831853 0.54292183 eks wye 4 0.38139939 -0.13418874 0.24721065 wye pan 5 0.57328892 0.86362447 1.43691339 zee pan 6 0.52712616 -0.49322129 0.03390487 eks zee 7 0.61178406 0.18788492 0.79966898 zee wye 8 0.59855401 0.97618139 1.57473539 hat wye 9 0.03144188 -0.74955076 -0.71810888 pan wye 10 0.50262601 0.95261836 1.45524437 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-func-decl-hoist/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-func-decl-hoist/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-func-decl-hoist/0002/cmd Command: mlr --opprint --from test/input/ten.dkvp put -f test/input/ff.mlr actualStdout [287]: a b i x y pan pan 1 0.34679014 1 eks pan 2 0.75867996 2 wye wye 3 0.20460331 6 eks wye 4 0.38139939 24 wye pan 5 0.57328892 120 zee pan 6 0.52712616 720 eks zee 7 0.61178406 5040 zee wye 8 0.59855401 40320 hat wye 9 0.03144188 362880 pan wye 10 0.50262601 3628800 expectedStdout [287]: a b i x y pan pan 1 0.34679014 1 eks pan 2 0.75867996 2 wye wye 3 0.20460331 6 eks wye 4 0.38139939 24 wye pan 5 0.57328892 120 zee pan 6 0.52712616 720 eks zee 7 0.61178406 5040 zee wye 8 0.59855401 40320 hat wye 9 0.03144188 362880 pan wye 10 0.50262601 3628800 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-func-decl-hoist/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-func-decl-hoist/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-func-decl-hoist/0003/cmd Command: mlr --opprint --from test/input/ten.dkvp put -f test/input/fg.mlr actualStdout [455]: a b i x y fg gf pan pan 1 0.34679014 0.72680286 9 3 eks pan 2 0.75867996 -0.52215111 36 12 wye wye 3 0.20460331 0.33831853 81 27 eks wye 4 0.38139939 -0.13418874 144 48 wye pan 5 0.57328892 0.86362447 225 75 zee pan 6 0.52712616 -0.49322129 324 108 eks zee 7 0.61178406 0.18788492 441 147 zee wye 8 0.59855401 0.97618139 576 192 hat wye 9 0.03144188 -0.74955076 729 243 pan wye 10 0.50262601 0.95261836 900 300 expectedStdout [455]: a b i x y fg gf pan pan 1 0.34679014 0.72680286 9 3 eks pan 2 0.75867996 -0.52215111 36 12 wye wye 3 0.20460331 0.33831853 81 27 eks wye 4 0.38139939 -0.13418874 144 48 wye pan 5 0.57328892 0.86362447 225 75 zee pan 6 0.52712616 -0.49322129 324 108 eks zee 7 0.61178406 0.18788492 441 147 zee wye 8 0.59855401 0.97618139 576 192 hat wye 9 0.03144188 -0.74955076 729 243 pan wye 10 0.50262601 0.95261836 900 300 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-func-decl-hoist/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-func-decl-hoist/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0001/cmd Command: mlr filter -f test/cases/dsl-functional-tests/0001/mlr test/input/abixy Miller DSL script: $x>.3 actualStdout [337]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [337]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0002/cmd Command: mlr filter -f test/cases/dsl-functional-tests/0002/mlr test/input/abixy Miller DSL script: $x>.3; actualStdout [337]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [337]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0003/cmd Command: mlr filter -f test/cases/dsl-functional-tests/0003/mlr test/input/abixy Miller DSL script: $x>0.3 actualStdout [337]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [337]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0004/cmd Command: mlr filter -f test/cases/dsl-functional-tests/0004/mlr test/input/abixy Miller DSL script: $x>0.3 && $y>0.3 actualStdout [253]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [253]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0005/cmd Command: mlr filter -f test/cases/dsl-functional-tests/0005/mlr test/input/abixy Miller DSL script: $x>0.3 || $y>0.3 actualStdout [421]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [421]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0006/cmd Command: mlr filter -f test/cases/dsl-functional-tests/0006/mlr test/input/abixy Miller DSL script: NR>=4 && NR <= 7 actualStdout [168]: a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 expectedStdout [168]: a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0007/cmd Command: mlr filter -x -f test/cases/dsl-functional-tests/0007/mlr test/input/abixy Miller DSL script: $x>.3 actualStdout [84]: a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 expectedStdout [84]: a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0008/cmd Command: mlr filter -x -f test/cases/dsl-functional-tests/0008/mlr test/input/abixy Miller DSL script: $x>0.3 actualStdout [84]: a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 expectedStdout [84]: a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0009/cmd Command: mlr filter -x -f test/cases/dsl-functional-tests/0009/mlr test/input/abixy Miller DSL script: $x>0.3 && $y>0.3 actualStdout [168]: a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 expectedStdout [168]: a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0010/cmd Command: mlr filter -x -f test/cases/dsl-functional-tests/0010/mlr test/input/abixy Miller DSL script: $x>0.3 || $y>0.3 actualStdout [0]: expectedStdout [0]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0011/cmd Command: mlr filter -x -f test/cases/dsl-functional-tests/0011/mlr test/input/abixy Miller DSL script: NR>=4 && NR <= 7 actualStdout [253]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [253]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0012/cmd Command: mlr filter -f test/cases/dsl-functional-tests/0012/mlr test/input/abixy Miller DSL script: $nosuchfield>.3 actualStdout [0]: expectedStdout [0]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0013/cmd Command: mlr put -f test/cases/dsl-functional-tests/0013/mlr test/input/abixy Miller DSL script: $x2 = $x ** 2; $xm2 = $x ** -2; actualStdout [715]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,x2=0.12026340,xm2=8.31508144 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,x2=0.57559529,xm2=1.73733180 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,x2=0.04186251,xm2=23.88772042 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,x2=0.14546550,xm2=6.87448238 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,x2=0.32866019,xm2=3.04265635 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,x2=0.27786199,xm2=3.59890896 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,x2=0.37427974,xm2=2.67179840 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,x2=0.35826690,xm2=2.79121514 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,x2=0.00098859,xm2=1011.54005827 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,x2=0.25263290,xm2=3.95831261 expectedStdout [715]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,x2=0.12026340,xm2=8.31508144 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,x2=0.57559529,xm2=1.73733180 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,x2=0.04186251,xm2=23.88772042 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,x2=0.14546550,xm2=6.87448238 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,x2=0.32866019,xm2=3.04265635 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,x2=0.27786199,xm2=3.59890896 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,x2=0.37427974,xm2=2.67179840 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,x2=0.35826690,xm2=2.79121514 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,x2=0.00098859,xm2=1011.54005827 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,x2=0.25263290,xm2=3.95831261 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0014/cmd Command: mlr put -f test/cases/dsl-functional-tests/0014/mlr test/input/abixy Miller DSL script: $x2 = $x**2; actualStdout [561]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,x2=0.12026340 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,x2=0.57559529 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,x2=0.04186251 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,x2=0.14546550 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,x2=0.32866019 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,x2=0.27786199 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,x2=0.37427974 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,x2=0.35826690 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,x2=0.00098859 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,x2=0.25263290 expectedStdout [561]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,x2=0.12026340 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,x2=0.57559529 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,x2=0.04186251 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,x2=0.14546550 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,x2=0.32866019 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,x2=0.27786199 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,x2=0.37427974 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,x2=0.35826690 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,x2=0.00098859 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,x2=0.25263290 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0015/cmd Command: mlr put -f test/cases/dsl-functional-tests/0015/mlr test/input/abixy Miller DSL script: $z = -0.024*$x+0.13 actualStdout [551]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=0.12167704 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=0.11179168 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,z=0.12508952 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,z=0.12084641 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,z=0.11624107 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,z=0.11734897 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,z=0.11531718 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,z=0.11563470 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,z=0.12924539 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,z=0.11793698 expectedStdout [551]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=0.12167704 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=0.11179168 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,z=0.12508952 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,z=0.12084641 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,z=0.11624107 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,z=0.11734897 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,z=0.11531718 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,z=0.11563470 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,z=0.12924539 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,z=0.11793698 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0015/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0015/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0016/cmd Command: mlr put -f test/cases/dsl-functional-tests/0016/mlr test/input/abixy Miller DSL script: $c = $a . $b actualStdout [511]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,c=panpan a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,c=ekspan a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,c=wyewye a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,c=ekswye a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,c=wyepan a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,c=zeepan a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,c=ekszee a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,c=zeewye a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,c=hatwye a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,c=panwye expectedStdout [511]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,c=panpan a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,c=ekspan a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,c=wyewye a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,c=ekswye a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,c=wyepan a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,c=zeepan a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,c=ekszee a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,c=zeewye a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,c=hatwye a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,c=panwye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0016/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0016/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0017/cmd Command: mlr put -f test/cases/dsl-functional-tests/0017/mlr test/input/abixy Miller DSL script: $ii = $i + $i actualStdout [477]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,ii=2 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,ii=4 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,ii=6 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,ii=8 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,ii=10 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,ii=12 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,ii=14 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,ii=16 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,ii=18 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,ii=20 expectedStdout [477]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,ii=2 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,ii=4 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,ii=6 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,ii=8 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,ii=10 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,ii=12 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,ii=14 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,ii=16 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,ii=18 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,ii=20 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0017/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0017/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0018/cmd Command: mlr put -f test/cases/dsl-functional-tests/0018/mlr test/input/abixy Miller DSL script: $emptytest = $i + $nosuch actualStdout [542]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,emptytest=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,emptytest=2 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,emptytest=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,emptytest=4 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,emptytest=5 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,emptytest=6 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,emptytest=7 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,emptytest=8 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,emptytest=9 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,emptytest=10 expectedStdout [542]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,emptytest=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,emptytest=2 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,emptytest=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,emptytest=4 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,emptytest=5 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,emptytest=6 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,emptytest=7 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,emptytest=8 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,emptytest=9 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,emptytest=10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0018/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0018/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0019/cmd Command: mlr --opprint put -f test/cases/dsl-functional-tests/0019/mlr test/input/abixy test/input/abixy Miller DSL script: $nr=NR;$fnr=FNR;$nf=NF;$filenum=FILENUM actualStdout [951]: a b i x y nr fnr nf filenum pan pan 1 0.34679014 0.72680286 1 1 7 1 eks pan 2 0.75867996 0.52215111 2 2 7 1 wye wye 3 0.20460331 0.33831853 3 3 7 1 eks wye 4 0.38139939 0.13418874 4 4 7 1 wye pan 5 0.57328892 0.86362447 5 5 7 1 zee pan 6 0.52712616 0.49322129 6 6 7 1 eks zee 7 0.61178406 0.18788492 7 7 7 1 zee wye 8 0.59855401 0.97618139 8 8 7 1 hat wye 9 0.03144188 0.74955076 9 9 7 1 pan wye 10 0.50262601 0.95261836 10 10 7 1 pan pan 1 0.34679014 0.72680286 11 1 7 2 eks pan 2 0.75867996 0.52215111 12 2 7 2 wye wye 3 0.20460331 0.33831853 13 3 7 2 eks wye 4 0.38139939 0.13418874 14 4 7 2 wye pan 5 0.57328892 0.86362447 15 5 7 2 zee pan 6 0.52712616 0.49322129 16 6 7 2 eks zee 7 0.61178406 0.18788492 17 7 7 2 zee wye 8 0.59855401 0.97618139 18 8 7 2 hat wye 9 0.03144188 0.74955076 19 9 7 2 pan wye 10 0.50262601 0.95261836 20 10 7 2 expectedStdout [951]: a b i x y nr fnr nf filenum pan pan 1 0.34679014 0.72680286 1 1 7 1 eks pan 2 0.75867996 0.52215111 2 2 7 1 wye wye 3 0.20460331 0.33831853 3 3 7 1 eks wye 4 0.38139939 0.13418874 4 4 7 1 wye pan 5 0.57328892 0.86362447 5 5 7 1 zee pan 6 0.52712616 0.49322129 6 6 7 1 eks zee 7 0.61178406 0.18788492 7 7 7 1 zee wye 8 0.59855401 0.97618139 8 8 7 1 hat wye 9 0.03144188 0.74955076 9 9 7 1 pan wye 10 0.50262601 0.95261836 10 10 7 1 pan pan 1 0.34679014 0.72680286 11 1 7 2 eks pan 2 0.75867996 0.52215111 12 2 7 2 wye wye 3 0.20460331 0.33831853 13 3 7 2 eks wye 4 0.38139939 0.13418874 14 4 7 2 wye pan 5 0.57328892 0.86362447 15 5 7 2 zee pan 6 0.52712616 0.49322129 16 6 7 2 eks zee 7 0.61178406 0.18788492 17 7 7 2 zee wye 8 0.59855401 0.97618139 18 8 7 2 hat wye 9 0.03144188 0.74955076 19 9 7 2 pan wye 10 0.50262601 0.95261836 20 10 7 2 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0019/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0019/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0020/cmd Command: mlr --opprint put -f test/cases/dsl-functional-tests/0020/a.mlr then put -f test/cases/dsl-functional-tests/0020/b.mlr test/input/modarith.dat actualStdout [1089]: x y z -37 10 27 -36 11 28 -35 12 29 -34 13 30 -33 14 31 -32 15 32 -31 16 33 -30 17 34 -29 18 35 -28 19 36 -27 20 0 -26 21 1 -25 22 2 -24 23 3 -23 24 4 -22 25 5 -21 26 6 -20 27 7 -19 28 8 -18 29 9 -17 30 10 -16 31 11 -15 32 12 -14 33 13 -13 34 14 -12 35 15 -11 36 16 -10 0 17 -9 1 18 -8 2 19 -7 3 20 -6 4 21 -5 5 22 -4 6 23 -3 7 24 -2 8 25 -1 9 26 0 10 27 1 11 28 2 12 29 3 13 30 4 14 31 5 15 32 6 16 33 7 17 34 8 18 35 9 19 36 10 20 0 11 21 1 12 22 2 13 23 3 14 24 4 15 25 5 16 26 6 17 27 7 18 28 8 19 29 9 20 30 10 21 31 11 22 32 12 23 33 13 24 34 14 25 35 15 26 36 16 27 0 17 28 1 18 29 2 19 30 3 20 31 4 21 32 5 22 33 6 23 34 7 24 35 8 25 36 9 26 37 10 27 38 11 28 39 12 29 40 13 30 41 14 31 42 15 32 43 16 33 44 17 34 45 18 35 46 19 36 47 20 0 48 21 1 49 22 2 50 23 3 51 24 4 52 25 5 53 26 6 54 27 7 55 28 8 56 29 9 57 30 10 58 31 11 59 32 12 60 33 13 61 34 14 62 35 15 63 36 16 64 0 17 65 1 18 66 2 19 67 3 20 68 4 21 69 5 22 70 6 23 71 7 24 72 8 25 73 9 26 expectedStdout [1089]: x y z -37 10 27 -36 11 28 -35 12 29 -34 13 30 -33 14 31 -32 15 32 -31 16 33 -30 17 34 -29 18 35 -28 19 36 -27 20 0 -26 21 1 -25 22 2 -24 23 3 -23 24 4 -22 25 5 -21 26 6 -20 27 7 -19 28 8 -18 29 9 -17 30 10 -16 31 11 -15 32 12 -14 33 13 -13 34 14 -12 35 15 -11 36 16 -10 0 17 -9 1 18 -8 2 19 -7 3 20 -6 4 21 -5 5 22 -4 6 23 -3 7 24 -2 8 25 -1 9 26 0 10 27 1 11 28 2 12 29 3 13 30 4 14 31 5 15 32 6 16 33 7 17 34 8 18 35 9 19 36 10 20 0 11 21 1 12 22 2 13 23 3 14 24 4 15 25 5 16 26 6 17 27 7 18 28 8 19 29 9 20 30 10 21 31 11 22 32 12 23 33 13 24 34 14 25 35 15 26 36 16 27 0 17 28 1 18 29 2 19 30 3 20 31 4 21 32 5 22 33 6 23 34 7 24 35 8 25 36 9 26 37 10 27 38 11 28 39 12 29 40 13 30 41 14 31 42 15 32 43 16 33 44 17 34 45 18 35 46 19 36 47 20 0 48 21 1 49 22 2 50 23 3 51 24 4 52 25 5 53 26 6 54 27 7 55 28 8 56 29 9 57 30 10 58 31 11 59 32 12 60 33 13 61 34 14 62 35 15 63 36 16 64 0 17 65 1 18 66 2 19 67 3 20 68 4 21 69 5 22 70 6 23 71 7 24 72 8 25 73 9 26 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0020/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0020/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0021/cmd Command: mlr --opprint put -f test/cases/dsl-functional-tests/0021/a.mlr then put -f test/cases/dsl-functional-tests/0021/b.mlr test/input/modarith.dat actualStdout [1008]: x y z -37 0 0 -36 1 1 -35 19 1 -34 25 1 -33 28 1 -32 15 1 -31 31 1 -30 16 1 -29 14 1 -28 33 1 -27 26 1 -26 27 1 -25 34 1 -24 20 1 -23 8 1 -22 5 1 -21 7 1 -20 24 1 -19 35 1 -18 2 1 -17 13 1 -16 30 1 -15 32 1 -14 29 1 -13 17 1 -12 3 1 -11 10 1 -10 11 1 -9 4 1 -8 23 1 -7 21 1 -6 6 1 -5 22 1 -4 9 1 -3 12 1 -2 18 1 -1 36 1 0 0 0 1 1 1 2 19 1 3 25 1 4 28 1 5 15 1 6 31 1 7 16 1 8 14 1 9 33 1 10 26 1 11 27 1 12 34 1 13 20 1 14 8 1 15 5 1 16 7 1 17 24 1 18 35 1 19 2 1 20 13 1 21 30 1 22 32 1 23 29 1 24 17 1 25 3 1 26 10 1 27 11 1 28 4 1 29 23 1 30 21 1 31 6 1 32 22 1 33 9 1 34 12 1 35 18 1 36 36 1 37 0 0 38 1 1 39 19 1 40 25 1 41 28 1 42 15 1 43 31 1 44 16 1 45 14 1 46 33 1 47 26 1 48 27 1 49 34 1 50 20 1 51 8 1 52 5 1 53 7 1 54 24 1 55 35 1 56 2 1 57 13 1 58 30 1 59 32 1 60 29 1 61 17 1 62 3 1 63 10 1 64 11 1 65 4 1 66 23 1 67 21 1 68 6 1 69 22 1 70 9 1 71 12 1 72 18 1 73 36 1 expectedStdout [1008]: x y z -37 0 0 -36 1 1 -35 19 1 -34 25 1 -33 28 1 -32 15 1 -31 31 1 -30 16 1 -29 14 1 -28 33 1 -27 26 1 -26 27 1 -25 34 1 -24 20 1 -23 8 1 -22 5 1 -21 7 1 -20 24 1 -19 35 1 -18 2 1 -17 13 1 -16 30 1 -15 32 1 -14 29 1 -13 17 1 -12 3 1 -11 10 1 -10 11 1 -9 4 1 -8 23 1 -7 21 1 -6 6 1 -5 22 1 -4 9 1 -3 12 1 -2 18 1 -1 36 1 0 0 0 1 1 1 2 19 1 3 25 1 4 28 1 5 15 1 6 31 1 7 16 1 8 14 1 9 33 1 10 26 1 11 27 1 12 34 1 13 20 1 14 8 1 15 5 1 16 7 1 17 24 1 18 35 1 19 2 1 20 13 1 21 30 1 22 32 1 23 29 1 24 17 1 25 3 1 26 10 1 27 11 1 28 4 1 29 23 1 30 21 1 31 6 1 32 22 1 33 9 1 34 12 1 35 18 1 36 36 1 37 0 0 38 1 1 39 19 1 40 25 1 41 28 1 42 15 1 43 31 1 44 16 1 45 14 1 46 33 1 47 26 1 48 27 1 49 34 1 50 20 1 51 8 1 52 5 1 53 7 1 54 24 1 55 35 1 56 2 1 57 13 1 58 30 1 59 32 1 60 29 1 61 17 1 62 3 1 63 10 1 64 11 1 65 4 1 66 23 1 67 21 1 68 6 1 69 22 1 70 9 1 71 12 1 72 18 1 73 36 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0021/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0021/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0022/cmd Command: mlr put -f test/cases/dsl-functional-tests/0022/mlr test/input/minmax.dkvp Miller DSL script: $z=min($x, $y) actualStdout [86]: x=1,y=2,z=1 x=1,y=,z=1 x=,y=,z= x=,y=2,z=2 x=3,y=2,z=2 x=3,y=,z=3 x=,y=,z= x=,y=2,z=2 expectedStdout [86]: x=1,y=2,z=1 x=1,y=,z=1 x=,y=,z= x=,y=2,z=2 x=3,y=2,z=2 x=3,y=,z=3 x=,y=,z= x=,y=2,z=2 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0022/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0022/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0023/cmd Command: mlr put -f test/cases/dsl-functional-tests/0023/mlr test/input/minmax.dkvp Miller DSL script: $z=max($x, $y) actualStdout [82]: x=1,y=2,z=2 x=1,y=,z= x=,y=,z= x=,y=2,z= x=3,y=2,z=3 x=3,y=,z= x=,y=,z= x=,y=2,z= expectedStdout [82]: x=1,y=2,z=2 x=1,y=,z= x=,y=,z= x=,y=2,z= x=3,y=2,z=3 x=3,y=,z= x=,y=,z= x=,y=2,z= actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0023/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0023/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0024/cmd Command: mlr put -f test/cases/dsl-functional-tests/0024/mlr ./test/cases/dsl-functional-tests/0024/input Miller DSL script: $o=min() actualStdout [15]: x=1,y=2,z=3,o= expectedStdout [15]: x=1,y=2,z=3,o= actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0024/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0024/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0025/cmd Command: mlr put -f test/cases/dsl-functional-tests/0025/mlr ./test/cases/dsl-functional-tests/0025/input Miller DSL script: $o=max() actualStdout [15]: x=1,y=2,z=3,o= expectedStdout [15]: x=1,y=2,z=3,o= actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0025/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0025/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0026/cmd Command: mlr put -f test/cases/dsl-functional-tests/0026/mlr ./test/cases/dsl-functional-tests/0026/input Miller DSL script: $o=min($x) actualStdout [16]: x=1,y=2,z=3,o=1 expectedStdout [16]: x=1,y=2,z=3,o=1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0026/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0026/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0027/cmd Command: mlr put -f test/cases/dsl-functional-tests/0027/mlr ./test/cases/dsl-functional-tests/0027/input Miller DSL script: $o=max($x) actualStdout [16]: x=1,y=2,z=3,o=1 expectedStdout [16]: x=1,y=2,z=3,o=1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0027/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0027/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0028/cmd Command: mlr put -f test/cases/dsl-functional-tests/0028/mlr ./test/cases/dsl-functional-tests/0028/input Miller DSL script: $o=min($x,$y) actualStdout [16]: x=1,y=2,z=3,o=1 expectedStdout [16]: x=1,y=2,z=3,o=1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0028/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0028/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0029/cmd Command: mlr put -f test/cases/dsl-functional-tests/0029/mlr ./test/cases/dsl-functional-tests/0029/input Miller DSL script: $o=max($x,$y) actualStdout [16]: x=1,y=2,z=3,o=2 expectedStdout [16]: x=1,y=2,z=3,o=2 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0029/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0029/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0030/cmd Command: mlr put -f test/cases/dsl-functional-tests/0030/mlr ./test/cases/dsl-functional-tests/0030/input Miller DSL script: $o=min($x,$y,$z) actualStdout [16]: x=1,y=2,z=3,o=1 expectedStdout [16]: x=1,y=2,z=3,o=1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0030/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0030/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0031/cmd Command: mlr put -f test/cases/dsl-functional-tests/0031/mlr ./test/cases/dsl-functional-tests/0031/input Miller DSL script: $o=max($x,$y,$z) actualStdout [16]: x=1,y=2,z=3,o=3 expectedStdout [16]: x=1,y=2,z=3,o=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0031/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0031/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0032/cmd Command: mlr put -f test/cases/dsl-functional-tests/0032/mlr ./test/cases/dsl-functional-tests/0032/input Miller DSL script: $u=min($x,$y);$v=max($x,$y) actualStdout [16]: x=1,y=b,u=1,v=b expectedStdout [16]: x=1,y=b,u=1,v=b actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0032/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0032/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0033/cmd Command: mlr put -f test/cases/dsl-functional-tests/0033/mlr ./test/cases/dsl-functional-tests/0033/input Miller DSL script: $u=min($x,$y);$v=max($x,$y) actualStdout [16]: x=a,y=2,u=2,v=a expectedStdout [16]: x=a,y=2,u=2,v=a actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0033/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0033/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0034/cmd Command: mlr put -f test/cases/dsl-functional-tests/0034/mlr ./test/cases/dsl-functional-tests/0034/input Miller DSL script: $u=min($x,$y);$v=max($x,$y) actualStdout [16]: x=a,y=b,u=a,v=b expectedStdout [16]: x=a,y=b,u=a,v=b actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0034/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0034/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0035/cmd Command: mlr --icsvlite --oxtab put -f test/cases/dsl-functional-tests/0035/mlr test/input/braced.csv Miller DSL script: ${x+y} = ${name.x} + ${name.y}; ${x*y} = ${name.x} * ${name.y} actualStdout [55]: name:x 1 name:y 2 z 3 name:x 4 name:y 6 z 5 expectedStdout [55]: name:x 1 name:y 2 z 3 name:x 4 name:y 6 z 5 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0035/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0035/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0036/cmd Command: mlr --icsvlite --oxtab filter -f test/cases/dsl-functional-tests/0036/mlr test/input/braced.csv Miller DSL script: ${name.y} < ${z} actualStdout [0]: expectedStdout [0]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0036/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0036/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0037/cmd Command: mlr --opprint put -f test/cases/dsl-functional-tests/0037/mlr test/input/abixy Miller DSL script: $z = $x < 0.5 ? 0 : 1 actualStdout [385]: a b i x y z pan pan 1 0.34679014 0.72680286 0 eks pan 2 0.75867996 0.52215111 1 wye wye 3 0.20460331 0.33831853 0 eks wye 4 0.38139939 0.13418874 0 wye pan 5 0.57328892 0.86362447 1 zee pan 6 0.52712616 0.49322129 1 eks zee 7 0.61178406 0.18788492 1 zee wye 8 0.59855401 0.97618139 1 hat wye 9 0.03144188 0.74955076 0 pan wye 10 0.50262601 0.95261836 1 expectedStdout [385]: a b i x y z pan pan 1 0.34679014 0.72680286 0 eks pan 2 0.75867996 0.52215111 1 wye wye 3 0.20460331 0.33831853 0 eks wye 4 0.38139939 0.13418874 0 wye pan 5 0.57328892 0.86362447 1 zee pan 6 0.52712616 0.49322129 1 eks zee 7 0.61178406 0.18788492 1 zee wye 8 0.59855401 0.97618139 1 hat wye 9 0.03144188 0.74955076 0 pan wye 10 0.50262601 0.95261836 1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0037/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0037/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0038/cmd Command: mlr --csvlite filter -f test/cases/dsl-functional-tests/0038/mlr test/input/b.csv Miller DSL script: true && true actualStdout [12]: d,e,f 5,6,7 expectedStdout [12]: d,e,f 5,6,7 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0038/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0038/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0039/cmd Command: mlr --csvlite filter -f test/cases/dsl-functional-tests/0039/mlr test/input/b.csv Miller DSL script: true && false actualStdout [0]: expectedStdout [0]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0039/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0039/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0040/cmd Command: mlr --csvlite filter -f test/cases/dsl-functional-tests/0040/mlr test/input/b.csv Miller DSL script: false && true actualStdout [0]: expectedStdout [0]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0040/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0040/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0041/cmd Command: mlr --csvlite filter -f test/cases/dsl-functional-tests/0041/mlr test/input/b.csv Miller DSL script: false && false actualStdout [0]: expectedStdout [0]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0041/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0041/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0042/cmd Command: mlr --csvlite filter -f test/cases/dsl-functional-tests/0042/mlr test/input/b.csv Miller DSL script: true || true actualStdout [12]: d,e,f 5,6,7 expectedStdout [12]: d,e,f 5,6,7 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0042/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0042/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0043/cmd Command: mlr --csvlite filter -f test/cases/dsl-functional-tests/0043/mlr test/input/b.csv Miller DSL script: true || false actualStdout [12]: d,e,f 5,6,7 expectedStdout [12]: d,e,f 5,6,7 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0043/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0043/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0044/cmd Command: mlr --csvlite filter -f test/cases/dsl-functional-tests/0044/mlr test/input/b.csv Miller DSL script: false || true actualStdout [12]: d,e,f 5,6,7 expectedStdout [12]: d,e,f 5,6,7 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0044/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0044/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0045/cmd Command: mlr --csvlite filter -f test/cases/dsl-functional-tests/0045/mlr test/input/b.csv Miller DSL script: false || false actualStdout [0]: expectedStdout [0]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0045/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0045/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0046/cmd Command: mlr --csvlite filter -f test/cases/dsl-functional-tests/0046/mlr test/input/b.csv Miller DSL script: true ^^ true actualStdout [0]: expectedStdout [0]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0046/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0046/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0047/cmd Command: mlr --csvlite filter -f test/cases/dsl-functional-tests/0047/mlr test/input/b.csv Miller DSL script: true ^^ false actualStdout [12]: d,e,f 5,6,7 expectedStdout [12]: d,e,f 5,6,7 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0047/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0047/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0048/cmd Command: mlr --csvlite filter -f test/cases/dsl-functional-tests/0048/mlr test/input/b.csv Miller DSL script: false ^^ true actualStdout [12]: d,e,f 5,6,7 expectedStdout [12]: d,e,f 5,6,7 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0048/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0048/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0049/cmd Command: mlr --csvlite filter -f test/cases/dsl-functional-tests/0049/mlr test/input/b.csv Miller DSL script: false ^^ false actualStdout [0]: expectedStdout [0]: actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0049/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0049/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0050/cmd Command: mlr put -f test/cases/dsl-functional-tests/0050/mlr test/input/short-circuit.dkvp Miller DSL script: $x==2 && $a =~ "....." { $y=4 } actualStdout [46]: x=1,a="hello" x=2,a="there",y=4 x=3,a="world" expectedStdout [46]: x=1,a="hello" x=2,a="there",y=4 x=3,a="world" actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0050/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0050/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-functional-tests/0051/cmd Command: mlr -n --ojson put -f test/cases/dsl-functional-tests/0051/mlr Miller DSL script: # Check that these operations are all int-preserving end { x = 8; y = 4; zsum = x+y; zdiff = x-y; zprod = x*y; zquot = x/y; zpquot = x//y; zmod = x%y; zmin = min(x,y); zmax = min(x,y); zabs = abs(y); zceil = ceil(y); zceil = ceil(y); zfloor = floor(y); zround = round(y); zroundm = roundm(y, 2); zsgn = sgn(y); output = [ {"zsum": zsum, "zsumt": typeof(zsum)}, {"zdiff": zdiff, "zdifft": typeof(zdiff)}, {"zprod": zprod, "zprodt": typeof(zprod)}, {"zquot": zquot, "zquott": typeof(zquot)}, {"zpquot": zpquot, "zpquott": typeof(zpquot)}, {"zmod": zmod, "zmodt": typeof(zmod)}, {"zmin": zmin, "zmint": typeof(zmin)}, {"zmax": zmax, "zmaxt": typeof(zmax)}, {"zabs": zabs, "zabst": typeof(zabs)}, {"zceil": zceil, "zceilt": typeof(zceil)}, {"zceil": zceil, "zceilt": typeof(zceil)}, {"zfloor": zfloor, "zfloort": typeof(zfloor)}, {"zround": zround, "zroundt": typeof(zround)}, {"zroundm": zroundm, "zroundmt": typeof(zroundm)}, {"zsgn": zsgn, "zsgnt": typeof(zsgn)}, ]; dump output; } actualStdout [682]: [ { "zsum": 12, "zsumt": "int" }, { "zdiff": 4, "zdifft": "int" }, { "zprod": 32, "zprodt": "int" }, { "zquot": 2, "zquott": "int" }, { "zpquot": 2, "zpquott": "int" }, { "zmod": 0, "zmodt": "int" }, { "zmin": 4, "zmint": "int" }, { "zmax": 4, "zmaxt": "int" }, { "zabs": 4, "zabst": "int" }, { "zceil": 4, "zceilt": "int" }, { "zceil": 4, "zceilt": "int" }, { "zfloor": 4, "zfloort": "int" }, { "zround": 4, "zroundt": "int" }, { "zroundm": 4, "zroundmt": "int" }, { "zsgn": 1, "zsgnt": "int" } ] [ ] expectedStdout [682]: [ { "zsum": 12, "zsumt": "int" }, { "zdiff": 4, "zdifft": "int" }, { "zprod": 32, "zprodt": "int" }, { "zquot": 2, "zquott": "int" }, { "zpquot": 2, "zpquott": "int" }, { "zmod": 0, "zmodt": "int" }, { "zmin": 4, "zmint": "int" }, { "zmax": 4, "zmaxt": "int" }, { "zabs": 4, "zabst": "int" }, { "zceil": 4, "zceilt": "int" }, { "zceil": 4, "zceilt": "int" }, { "zfloor": 4, "zfloort": "int" }, { "zround": 4, "zroundt": "int" }, { "zroundm": 4, "zroundmt": "int" }, { "zsgn": 1, "zsgnt": "int" } ] [ ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-functional-tests/0051/cmd ---------------------------------------------------------------- end ./test/cases/dsl-functional-tests/0051/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0001/cmd Command: mlr --csvlite put -f test/cases/dsl-gmt-date-time-functions/0001/mlr test/input/sec2gmt Miller DSL script: $gmt = sec2gmt($sec) actualStdout [814]: n,sec,gmt 1,0,1970-01-01T00:00:00Z 2,1,1970-01-01T00:00:01Z 3,10,1970-01-01T00:00:10Z 4,100,1970-01-01T00:01:40Z 5,1000,1970-01-01T00:16:40Z 6,10000,1970-01-01T02:46:40Z 7,100000,1970-01-02T03:46:40Z 8,1000000,1970-01-12T13:46:40Z 9,10000000,1970-04-26T17:46:40Z 10,100000000,1973-03-03T09:46:40Z 11,1000000000,2001-09-09T01:46:40Z 12,1432036180,2015-05-19T11:49:40Z 13,1500000000,2017-07-14T02:40:00Z 14,2000000000,2033-05-18T03:33:20Z 15,2000000000.00000000,2033-05-18T03:33:20Z 16,2000000000.00000000,2033-05-18T03:33:20Z 17,2000000000.00000000,2033-05-18T03:33:20Z 18,2000000000.12339997,2033-05-18T03:33:20Z 19,2000000000.12345600,2033-05-18T03:33:20Z 20,2000000000.99900007,2033-05-18T03:33:20Z 21,2000000000.99999905,2033-05-18T03:33:20Z 22,2000000001.00000000,2033-05-18T03:33:21Z 23,, 24,x,x 25,123x,123x expectedStdout [814]: n,sec,gmt 1,0,1970-01-01T00:00:00Z 2,1,1970-01-01T00:00:01Z 3,10,1970-01-01T00:00:10Z 4,100,1970-01-01T00:01:40Z 5,1000,1970-01-01T00:16:40Z 6,10000,1970-01-01T02:46:40Z 7,100000,1970-01-02T03:46:40Z 8,1000000,1970-01-12T13:46:40Z 9,10000000,1970-04-26T17:46:40Z 10,100000000,1973-03-03T09:46:40Z 11,1000000000,2001-09-09T01:46:40Z 12,1432036180,2015-05-19T11:49:40Z 13,1500000000,2017-07-14T02:40:00Z 14,2000000000,2033-05-18T03:33:20Z 15,2000000000.00000000,2033-05-18T03:33:20Z 16,2000000000.00000000,2033-05-18T03:33:20Z 17,2000000000.00000000,2033-05-18T03:33:20Z 18,2000000000.12339997,2033-05-18T03:33:20Z 19,2000000000.12345600,2033-05-18T03:33:20Z 20,2000000000.99900007,2033-05-18T03:33:20Z 21,2000000000.99999905,2033-05-18T03:33:20Z 22,2000000001.00000000,2033-05-18T03:33:21Z 23,, 24,x,x 25,123x,123x actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0002/cmd Command: mlr --csvlite put -f test/cases/dsl-gmt-date-time-functions/0002/mlr test/input/sec2gmt Miller DSL script: $gmt = sec2gmt($sec,1) actualStdout [858]: n,sec,gmt 1,0,1970-01-01T00:00:00.0Z 2,1,1970-01-01T00:00:01.0Z 3,10,1970-01-01T00:00:10.0Z 4,100,1970-01-01T00:01:40.0Z 5,1000,1970-01-01T00:16:40.0Z 6,10000,1970-01-01T02:46:40.0Z 7,100000,1970-01-02T03:46:40.0Z 8,1000000,1970-01-12T13:46:40.0Z 9,10000000,1970-04-26T17:46:40.0Z 10,100000000,1973-03-03T09:46:40.0Z 11,1000000000,2001-09-09T01:46:40.0Z 12,1432036180,2015-05-19T11:49:40.0Z 13,1500000000,2017-07-14T02:40:00.0Z 14,2000000000,2033-05-18T03:33:20.0Z 15,2000000000.00000000,2033-05-18T03:33:20.0Z 16,2000000000.00000000,2033-05-18T03:33:20.0Z 17,2000000000.00000000,2033-05-18T03:33:20.0Z 18,2000000000.12339997,2033-05-18T03:33:20.1Z 19,2000000000.12345600,2033-05-18T03:33:20.1Z 20,2000000000.99900007,2033-05-18T03:33:20.9Z 21,2000000000.99999905,2033-05-18T03:33:20.9Z 22,2000000001.00000000,2033-05-18T03:33:21.0Z 23,, 24,x,x 25,123x,123x expectedStdout [858]: n,sec,gmt 1,0,1970-01-01T00:00:00.0Z 2,1,1970-01-01T00:00:01.0Z 3,10,1970-01-01T00:00:10.0Z 4,100,1970-01-01T00:01:40.0Z 5,1000,1970-01-01T00:16:40.0Z 6,10000,1970-01-01T02:46:40.0Z 7,100000,1970-01-02T03:46:40.0Z 8,1000000,1970-01-12T13:46:40.0Z 9,10000000,1970-04-26T17:46:40.0Z 10,100000000,1973-03-03T09:46:40.0Z 11,1000000000,2001-09-09T01:46:40.0Z 12,1432036180,2015-05-19T11:49:40.0Z 13,1500000000,2017-07-14T02:40:00.0Z 14,2000000000,2033-05-18T03:33:20.0Z 15,2000000000.00000000,2033-05-18T03:33:20.0Z 16,2000000000.00000000,2033-05-18T03:33:20.0Z 17,2000000000.00000000,2033-05-18T03:33:20.0Z 18,2000000000.12339997,2033-05-18T03:33:20.1Z 19,2000000000.12345600,2033-05-18T03:33:20.1Z 20,2000000000.99900007,2033-05-18T03:33:20.9Z 21,2000000000.99999905,2033-05-18T03:33:20.9Z 22,2000000001.00000000,2033-05-18T03:33:21.0Z 23,, 24,x,x 25,123x,123x actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0003/cmd Command: mlr --csvlite put -f test/cases/dsl-gmt-date-time-functions/0003/mlr test/input/sec2gmt Miller DSL script: $gmt = sec2gmt($sec,3) actualStdout [902]: n,sec,gmt 1,0,1970-01-01T00:00:00.000Z 2,1,1970-01-01T00:00:01.000Z 3,10,1970-01-01T00:00:10.000Z 4,100,1970-01-01T00:01:40.000Z 5,1000,1970-01-01T00:16:40.000Z 6,10000,1970-01-01T02:46:40.000Z 7,100000,1970-01-02T03:46:40.000Z 8,1000000,1970-01-12T13:46:40.000Z 9,10000000,1970-04-26T17:46:40.000Z 10,100000000,1973-03-03T09:46:40.000Z 11,1000000000,2001-09-09T01:46:40.000Z 12,1432036180,2015-05-19T11:49:40.000Z 13,1500000000,2017-07-14T02:40:00.000Z 14,2000000000,2033-05-18T03:33:20.000Z 15,2000000000.00000000,2033-05-18T03:33:20.000Z 16,2000000000.00000000,2033-05-18T03:33:20.000Z 17,2000000000.00000000,2033-05-18T03:33:20.000Z 18,2000000000.12339997,2033-05-18T03:33:20.123Z 19,2000000000.12345600,2033-05-18T03:33:20.123Z 20,2000000000.99900007,2033-05-18T03:33:20.999Z 21,2000000000.99999905,2033-05-18T03:33:20.999Z 22,2000000001.00000000,2033-05-18T03:33:21.000Z 23,, 24,x,x 25,123x,123x expectedStdout [902]: n,sec,gmt 1,0,1970-01-01T00:00:00.000Z 2,1,1970-01-01T00:00:01.000Z 3,10,1970-01-01T00:00:10.000Z 4,100,1970-01-01T00:01:40.000Z 5,1000,1970-01-01T00:16:40.000Z 6,10000,1970-01-01T02:46:40.000Z 7,100000,1970-01-02T03:46:40.000Z 8,1000000,1970-01-12T13:46:40.000Z 9,10000000,1970-04-26T17:46:40.000Z 10,100000000,1973-03-03T09:46:40.000Z 11,1000000000,2001-09-09T01:46:40.000Z 12,1432036180,2015-05-19T11:49:40.000Z 13,1500000000,2017-07-14T02:40:00.000Z 14,2000000000,2033-05-18T03:33:20.000Z 15,2000000000.00000000,2033-05-18T03:33:20.000Z 16,2000000000.00000000,2033-05-18T03:33:20.000Z 17,2000000000.00000000,2033-05-18T03:33:20.000Z 18,2000000000.12339997,2033-05-18T03:33:20.123Z 19,2000000000.12345600,2033-05-18T03:33:20.123Z 20,2000000000.99900007,2033-05-18T03:33:20.999Z 21,2000000000.99999905,2033-05-18T03:33:20.999Z 22,2000000001.00000000,2033-05-18T03:33:21.000Z 23,, 24,x,x 25,123x,123x actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0004/cmd Command: mlr --csvlite put -f test/cases/dsl-gmt-date-time-functions/0004/mlr test/input/sec2gmt Miller DSL script: $gmt = sec2gmt($sec,6) actualStdout [968]: n,sec,gmt 1,0,1970-01-01T00:00:00.000000Z 2,1,1970-01-01T00:00:01.000000Z 3,10,1970-01-01T00:00:10.000000Z 4,100,1970-01-01T00:01:40.000000Z 5,1000,1970-01-01T00:16:40.000000Z 6,10000,1970-01-01T02:46:40.000000Z 7,100000,1970-01-02T03:46:40.000000Z 8,1000000,1970-01-12T13:46:40.000000Z 9,10000000,1970-04-26T17:46:40.000000Z 10,100000000,1973-03-03T09:46:40.000000Z 11,1000000000,2001-09-09T01:46:40.000000Z 12,1432036180,2015-05-19T11:49:40.000000Z 13,1500000000,2017-07-14T02:40:00.000000Z 14,2000000000,2033-05-18T03:33:20.000000Z 15,2000000000.00000000,2033-05-18T03:33:20.000000Z 16,2000000000.00000000,2033-05-18T03:33:20.000000Z 17,2000000000.00000000,2033-05-18T03:33:20.000000Z 18,2000000000.12339997,2033-05-18T03:33:20.123399Z 19,2000000000.12345600,2033-05-18T03:33:20.123456Z 20,2000000000.99900007,2033-05-18T03:33:20.999000Z 21,2000000000.99999905,2033-05-18T03:33:20.999999Z 22,2000000001.00000000,2033-05-18T03:33:21.000000Z 23,, 24,x,x 25,123x,123x expectedStdout [968]: n,sec,gmt 1,0,1970-01-01T00:00:00.000000Z 2,1,1970-01-01T00:00:01.000000Z 3,10,1970-01-01T00:00:10.000000Z 4,100,1970-01-01T00:01:40.000000Z 5,1000,1970-01-01T00:16:40.000000Z 6,10000,1970-01-01T02:46:40.000000Z 7,100000,1970-01-02T03:46:40.000000Z 8,1000000,1970-01-12T13:46:40.000000Z 9,10000000,1970-04-26T17:46:40.000000Z 10,100000000,1973-03-03T09:46:40.000000Z 11,1000000000,2001-09-09T01:46:40.000000Z 12,1432036180,2015-05-19T11:49:40.000000Z 13,1500000000,2017-07-14T02:40:00.000000Z 14,2000000000,2033-05-18T03:33:20.000000Z 15,2000000000.00000000,2033-05-18T03:33:20.000000Z 16,2000000000.00000000,2033-05-18T03:33:20.000000Z 17,2000000000.00000000,2033-05-18T03:33:20.000000Z 18,2000000000.12339997,2033-05-18T03:33:20.123399Z 19,2000000000.12345600,2033-05-18T03:33:20.123456Z 20,2000000000.99900007,2033-05-18T03:33:20.999000Z 21,2000000000.99999905,2033-05-18T03:33:20.999999Z 22,2000000001.00000000,2033-05-18T03:33:21.000000Z 23,, 24,x,x 25,123x,123x actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0005/cmd Command: mlr --csvlite put -f test/cases/dsl-gmt-date-time-functions/0005/mlr test/input/gmt2sec Miller DSL script: $sec = gmt2sec($gmt) actualStdout [1116]: gmt,sec 1970-01-01T00:00:00Z,0.00000000 1970-01-01T00:00:00.Z,(error) 1970-01-01T00:00:01Z,1.00000000 1970-01-01T00:00:01.0Z,1.00000000 1970-01-01T00:00:10Z,10.00000000 1970-01-01T00:00:10.00Z,10.00000000 1970-01-01T00:01:40Z,100.00000000 1970-01-01T00:01:40.1Z,100.10000000 1970-01-01T00:16:40Z,1000.00000000 1970-01-01T00:16:40.12Z,1000.12000000 1970-01-01T02:46:40Z,10000.00000000 1970-01-01T02:46:40.123Z,10000.12300000 1970-01-02T03:46:40Z,100000.00000000 1970-01-02T03:46:40.1234Z,100000.12340000 1970-01-12T13:46:40Z,1000000.00000000 1970-01-12T13:46:40.12345Z,1000000.12345000 1970-04-26T17:46:40Z,10000000.00000000 1970-04-26T17:46:40.123456Z,10000000.12345600 1973-03-03T09:46:40Z,100000000.00000000 1973-03-03T09:46:40.1234567Z,100000000.12345670 2001-09-09T01:46:40Z,1000000000.00000000 2001-09-09T01:46:40.12345678Z,1000000000.12345672 2015-05-19T11:49:40Z,1432036180.00000000 2015-05-19T11:49:40.123456789Z,1432036180.12345672 2017-07-14T02:40:00Z,1500000000.00000000 2017-07-14T02:40:00.999Z,1500000000.99900007 2033-05-18T03:33:20Z,2000000000.00000000 2033-05-18T03:33:20.999999Z,2000000000.99999905 expectedStdout [1116]: gmt,sec 1970-01-01T00:00:00Z,0.00000000 1970-01-01T00:00:00.Z,(error) 1970-01-01T00:00:01Z,1.00000000 1970-01-01T00:00:01.0Z,1.00000000 1970-01-01T00:00:10Z,10.00000000 1970-01-01T00:00:10.00Z,10.00000000 1970-01-01T00:01:40Z,100.00000000 1970-01-01T00:01:40.1Z,100.10000000 1970-01-01T00:16:40Z,1000.00000000 1970-01-01T00:16:40.12Z,1000.12000000 1970-01-01T02:46:40Z,10000.00000000 1970-01-01T02:46:40.123Z,10000.12300000 1970-01-02T03:46:40Z,100000.00000000 1970-01-02T03:46:40.1234Z,100000.12340000 1970-01-12T13:46:40Z,1000000.00000000 1970-01-12T13:46:40.12345Z,1000000.12345000 1970-04-26T17:46:40Z,10000000.00000000 1970-04-26T17:46:40.123456Z,10000000.12345600 1973-03-03T09:46:40Z,100000000.00000000 1973-03-03T09:46:40.1234567Z,100000000.12345670 2001-09-09T01:46:40Z,1000000000.00000000 2001-09-09T01:46:40.12345678Z,1000000000.12345672 2015-05-19T11:49:40Z,1432036180.00000000 2015-05-19T11:49:40.123456789Z,1432036180.12345672 2017-07-14T02:40:00Z,1500000000.00000000 2017-07-14T02:40:00.999Z,1500000000.99900007 2033-05-18T03:33:20Z,2000000000.00000000 2033-05-18T03:33:20.999999Z,2000000000.99999905 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0006/cmd Command: mlr --csvlite put -f test/cases/dsl-gmt-date-time-functions/0006/mlr test/input/sec2gmt Miller DSL script: $gmtdate = sec2gmtdate($sec) actualStdout [598]: n,sec,gmtdate 1,0,1970-01-01 2,1,1970-01-01 3,10,1970-01-01 4,100,1970-01-01 5,1000,1970-01-01 6,10000,1970-01-01 7,100000,1970-01-02 8,1000000,1970-01-12 9,10000000,1970-04-26 10,100000000,1973-03-03 11,1000000000,2001-09-09 12,1432036180,2015-05-19 13,1500000000,2017-07-14 14,2000000000,2033-05-18 15,2000000000.00000000,2033-05-18 16,2000000000.00000000,2033-05-18 17,2000000000.00000000,2033-05-18 18,2000000000.12339997,2033-05-18 19,2000000000.12345600,2033-05-18 20,2000000000.99900007,2033-05-18 21,2000000000.99999905,2033-05-18 22,2000000001.00000000,2033-05-18 23,, 24,x,x 25,123x,123x expectedStdout [598]: n,sec,gmtdate 1,0,1970-01-01 2,1,1970-01-01 3,10,1970-01-01 4,100,1970-01-01 5,1000,1970-01-01 6,10000,1970-01-01 7,100000,1970-01-02 8,1000000,1970-01-12 9,10000000,1970-04-26 10,100000000,1973-03-03 11,1000000000,2001-09-09 12,1432036180,2015-05-19 13,1500000000,2017-07-14 14,2000000000,2033-05-18 15,2000000000.00000000,2033-05-18 16,2000000000.00000000,2033-05-18 17,2000000000.00000000,2033-05-18 18,2000000000.12339997,2033-05-18 19,2000000000.12345600,2033-05-18 20,2000000000.99900007,2033-05-18 21,2000000000.99999905,2033-05-18 22,2000000001.00000000,2033-05-18 23,, 24,x,x 25,123x,123x actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0007/cmd Command: mlr --icsv --opprint put -f test/cases/dsl-gmt-date-time-functions/0007/mlr test/input/sec2gmt Miller DSL script: $gmt = strftime($sec, "%Y-%m-%dT%H:%M:%SZ") actualStdout [1082]: n sec gmt 1 0 1970-01-01T00:00:00Z 2 1 1970-01-01T00:00:01Z 3 10 1970-01-01T00:00:10Z 4 100 1970-01-01T00:01:40Z 5 1000 1970-01-01T00:16:40Z 6 10000 1970-01-01T02:46:40Z 7 100000 1970-01-02T03:46:40Z 8 1000000 1970-01-12T13:46:40Z 9 10000000 1970-04-26T17:46:40Z 10 100000000 1973-03-03T09:46:40Z 11 1000000000 2001-09-09T01:46:40Z 12 1432036180 2015-05-19T11:49:40Z 13 1500000000 2017-07-14T02:40:00Z 14 2000000000 2033-05-18T03:33:20Z 15 2000000000.00000000 2033-05-18T03:33:20Z 16 2000000000.00000000 2033-05-18T03:33:20Z 17 2000000000.00000000 2033-05-18T03:33:20Z 18 2000000000.12339997 2033-05-18T03:33:20Z 19 2000000000.12345600 2033-05-18T03:33:20Z 20 2000000000.99900007 2033-05-18T03:33:20Z 21 2000000000.99999905 2033-05-18T03:33:20Z 22 2000000001.00000000 2033-05-18T03:33:21Z 23 - - 24 x (error) 25 123x (error) expectedStdout [1082]: n sec gmt 1 0 1970-01-01T00:00:00Z 2 1 1970-01-01T00:00:01Z 3 10 1970-01-01T00:00:10Z 4 100 1970-01-01T00:01:40Z 5 1000 1970-01-01T00:16:40Z 6 10000 1970-01-01T02:46:40Z 7 100000 1970-01-02T03:46:40Z 8 1000000 1970-01-12T13:46:40Z 9 10000000 1970-04-26T17:46:40Z 10 100000000 1973-03-03T09:46:40Z 11 1000000000 2001-09-09T01:46:40Z 12 1432036180 2015-05-19T11:49:40Z 13 1500000000 2017-07-14T02:40:00Z 14 2000000000 2033-05-18T03:33:20Z 15 2000000000.00000000 2033-05-18T03:33:20Z 16 2000000000.00000000 2033-05-18T03:33:20Z 17 2000000000.00000000 2033-05-18T03:33:20Z 18 2000000000.12339997 2033-05-18T03:33:20Z 19 2000000000.12345600 2033-05-18T03:33:20Z 20 2000000000.99900007 2033-05-18T03:33:20Z 21 2000000000.99999905 2033-05-18T03:33:20Z 22 2000000001.00000000 2033-05-18T03:33:21Z 23 - - 24 x (error) 25 123x (error) actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0008/cmd Command: mlr --icsv --opprint put -f test/cases/dsl-gmt-date-time-functions/0008/mlr test/input/sec2gmt Miller DSL script: $gmt = strftime($sec, "%Y-%m-%dT%H:%M:%1SZ") actualStdout [1126]: n sec gmt 1 0 1970-01-01T00:00:00.0Z 2 1 1970-01-01T00:00:01.0Z 3 10 1970-01-01T00:00:10.0Z 4 100 1970-01-01T00:01:40.0Z 5 1000 1970-01-01T00:16:40.0Z 6 10000 1970-01-01T02:46:40.0Z 7 100000 1970-01-02T03:46:40.0Z 8 1000000 1970-01-12T13:46:40.0Z 9 10000000 1970-04-26T17:46:40.0Z 10 100000000 1973-03-03T09:46:40.0Z 11 1000000000 2001-09-09T01:46:40.0Z 12 1432036180 2015-05-19T11:49:40.0Z 13 1500000000 2017-07-14T02:40:00.0Z 14 2000000000 2033-05-18T03:33:20.0Z 15 2000000000.00000000 2033-05-18T03:33:20.0Z 16 2000000000.00000000 2033-05-18T03:33:20.0Z 17 2000000000.00000000 2033-05-18T03:33:20.0Z 18 2000000000.12339997 2033-05-18T03:33:20.1Z 19 2000000000.12345600 2033-05-18T03:33:20.1Z 20 2000000000.99900007 2033-05-18T03:33:20.9Z 21 2000000000.99999905 2033-05-18T03:33:20.9Z 22 2000000001.00000000 2033-05-18T03:33:21.0Z 23 - - 24 x (error) 25 123x (error) expectedStdout [1126]: n sec gmt 1 0 1970-01-01T00:00:00.0Z 2 1 1970-01-01T00:00:01.0Z 3 10 1970-01-01T00:00:10.0Z 4 100 1970-01-01T00:01:40.0Z 5 1000 1970-01-01T00:16:40.0Z 6 10000 1970-01-01T02:46:40.0Z 7 100000 1970-01-02T03:46:40.0Z 8 1000000 1970-01-12T13:46:40.0Z 9 10000000 1970-04-26T17:46:40.0Z 10 100000000 1973-03-03T09:46:40.0Z 11 1000000000 2001-09-09T01:46:40.0Z 12 1432036180 2015-05-19T11:49:40.0Z 13 1500000000 2017-07-14T02:40:00.0Z 14 2000000000 2033-05-18T03:33:20.0Z 15 2000000000.00000000 2033-05-18T03:33:20.0Z 16 2000000000.00000000 2033-05-18T03:33:20.0Z 17 2000000000.00000000 2033-05-18T03:33:20.0Z 18 2000000000.12339997 2033-05-18T03:33:20.1Z 19 2000000000.12345600 2033-05-18T03:33:20.1Z 20 2000000000.99900007 2033-05-18T03:33:20.9Z 21 2000000000.99999905 2033-05-18T03:33:20.9Z 22 2000000001.00000000 2033-05-18T03:33:21.0Z 23 - - 24 x (error) 25 123x (error) actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0009/cmd Command: mlr --icsv --opprint put -f test/cases/dsl-gmt-date-time-functions/0009/mlr test/input/sec2gmt Miller DSL script: $gmt = strftime($sec, "%Y-%m-%dT%H:%M:%3SZ") actualStdout [1170]: n sec gmt 1 0 1970-01-01T00:00:00.000Z 2 1 1970-01-01T00:00:01.000Z 3 10 1970-01-01T00:00:10.000Z 4 100 1970-01-01T00:01:40.000Z 5 1000 1970-01-01T00:16:40.000Z 6 10000 1970-01-01T02:46:40.000Z 7 100000 1970-01-02T03:46:40.000Z 8 1000000 1970-01-12T13:46:40.000Z 9 10000000 1970-04-26T17:46:40.000Z 10 100000000 1973-03-03T09:46:40.000Z 11 1000000000 2001-09-09T01:46:40.000Z 12 1432036180 2015-05-19T11:49:40.000Z 13 1500000000 2017-07-14T02:40:00.000Z 14 2000000000 2033-05-18T03:33:20.000Z 15 2000000000.00000000 2033-05-18T03:33:20.000Z 16 2000000000.00000000 2033-05-18T03:33:20.000Z 17 2000000000.00000000 2033-05-18T03:33:20.000Z 18 2000000000.12339997 2033-05-18T03:33:20.123Z 19 2000000000.12345600 2033-05-18T03:33:20.123Z 20 2000000000.99900007 2033-05-18T03:33:20.999Z 21 2000000000.99999905 2033-05-18T03:33:20.999Z 22 2000000001.00000000 2033-05-18T03:33:21.000Z 23 - - 24 x (error) 25 123x (error) expectedStdout [1170]: n sec gmt 1 0 1970-01-01T00:00:00.000Z 2 1 1970-01-01T00:00:01.000Z 3 10 1970-01-01T00:00:10.000Z 4 100 1970-01-01T00:01:40.000Z 5 1000 1970-01-01T00:16:40.000Z 6 10000 1970-01-01T02:46:40.000Z 7 100000 1970-01-02T03:46:40.000Z 8 1000000 1970-01-12T13:46:40.000Z 9 10000000 1970-04-26T17:46:40.000Z 10 100000000 1973-03-03T09:46:40.000Z 11 1000000000 2001-09-09T01:46:40.000Z 12 1432036180 2015-05-19T11:49:40.000Z 13 1500000000 2017-07-14T02:40:00.000Z 14 2000000000 2033-05-18T03:33:20.000Z 15 2000000000.00000000 2033-05-18T03:33:20.000Z 16 2000000000.00000000 2033-05-18T03:33:20.000Z 17 2000000000.00000000 2033-05-18T03:33:20.000Z 18 2000000000.12339997 2033-05-18T03:33:20.123Z 19 2000000000.12345600 2033-05-18T03:33:20.123Z 20 2000000000.99900007 2033-05-18T03:33:20.999Z 21 2000000000.99999905 2033-05-18T03:33:20.999Z 22 2000000001.00000000 2033-05-18T03:33:21.000Z 23 - - 24 x (error) 25 123x (error) actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0010/cmd Command: mlr --icsv --opprint put -f test/cases/dsl-gmt-date-time-functions/0010/mlr test/input/sec2gmt Miller DSL script: $gmt = strftime($sec, "%Y-%m-%dT%H:%M:%6SZ") actualStdout [1236]: n sec gmt 1 0 1970-01-01T00:00:00.000000Z 2 1 1970-01-01T00:00:01.000000Z 3 10 1970-01-01T00:00:10.000000Z 4 100 1970-01-01T00:01:40.000000Z 5 1000 1970-01-01T00:16:40.000000Z 6 10000 1970-01-01T02:46:40.000000Z 7 100000 1970-01-02T03:46:40.000000Z 8 1000000 1970-01-12T13:46:40.000000Z 9 10000000 1970-04-26T17:46:40.000000Z 10 100000000 1973-03-03T09:46:40.000000Z 11 1000000000 2001-09-09T01:46:40.000000Z 12 1432036180 2015-05-19T11:49:40.000000Z 13 1500000000 2017-07-14T02:40:00.000000Z 14 2000000000 2033-05-18T03:33:20.000000Z 15 2000000000.00000000 2033-05-18T03:33:20.000000Z 16 2000000000.00000000 2033-05-18T03:33:20.000000Z 17 2000000000.00000000 2033-05-18T03:33:20.000000Z 18 2000000000.12339997 2033-05-18T03:33:20.123399Z 19 2000000000.12345600 2033-05-18T03:33:20.123456Z 20 2000000000.99900007 2033-05-18T03:33:20.999000Z 21 2000000000.99999905 2033-05-18T03:33:20.999999Z 22 2000000001.00000000 2033-05-18T03:33:21.000000Z 23 - - 24 x (error) 25 123x (error) expectedStdout [1236]: n sec gmt 1 0 1970-01-01T00:00:00.000000Z 2 1 1970-01-01T00:00:01.000000Z 3 10 1970-01-01T00:00:10.000000Z 4 100 1970-01-01T00:01:40.000000Z 5 1000 1970-01-01T00:16:40.000000Z 6 10000 1970-01-01T02:46:40.000000Z 7 100000 1970-01-02T03:46:40.000000Z 8 1000000 1970-01-12T13:46:40.000000Z 9 10000000 1970-04-26T17:46:40.000000Z 10 100000000 1973-03-03T09:46:40.000000Z 11 1000000000 2001-09-09T01:46:40.000000Z 12 1432036180 2015-05-19T11:49:40.000000Z 13 1500000000 2017-07-14T02:40:00.000000Z 14 2000000000 2033-05-18T03:33:20.000000Z 15 2000000000.00000000 2033-05-18T03:33:20.000000Z 16 2000000000.00000000 2033-05-18T03:33:20.000000Z 17 2000000000.00000000 2033-05-18T03:33:20.000000Z 18 2000000000.12339997 2033-05-18T03:33:20.123399Z 19 2000000000.12345600 2033-05-18T03:33:20.123456Z 20 2000000000.99900007 2033-05-18T03:33:20.999000Z 21 2000000000.99999905 2033-05-18T03:33:20.999999Z 22 2000000001.00000000 2033-05-18T03:33:21.000000Z 23 - - 24 x (error) 25 123x (error) actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0011/cmd Command: mlr --icsv --opprint put -f test/cases/dsl-gmt-date-time-functions/0011/mlr test/input/gmt2sec Miller DSL script: $sec = strptime($gmt, "%Y-%m-%dT%H:%M:%SZ") actualStdout [1352]: gmt sec 1970-01-01T00:00:00Z 0.00000000 1970-01-01T00:00:00.Z (error) 1970-01-01T00:00:01Z 1.00000000 1970-01-01T00:00:01.0Z 1.00000000 1970-01-01T00:00:10Z 10.00000000 1970-01-01T00:00:10.00Z 10.00000000 1970-01-01T00:01:40Z 100.00000000 1970-01-01T00:01:40.1Z 100.10000000 1970-01-01T00:16:40Z 1000.00000000 1970-01-01T00:16:40.12Z 1000.12000000 1970-01-01T02:46:40Z 10000.00000000 1970-01-01T02:46:40.123Z 10000.12300000 1970-01-02T03:46:40Z 100000.00000000 1970-01-02T03:46:40.1234Z 100000.12340000 1970-01-12T13:46:40Z 1000000.00000000 1970-01-12T13:46:40.12345Z 1000000.12345000 1970-04-26T17:46:40Z 10000000.00000000 1970-04-26T17:46:40.123456Z 10000000.12345600 1973-03-03T09:46:40Z 100000000.00000000 1973-03-03T09:46:40.1234567Z 100000000.12345670 2001-09-09T01:46:40Z 1000000000.00000000 2001-09-09T01:46:40.12345678Z 1000000000.12345672 2015-05-19T11:49:40Z 1432036180.00000000 2015-05-19T11:49:40.123456789Z 1432036180.12345672 2017-07-14T02:40:00Z 1500000000.00000000 2017-07-14T02:40:00.999Z 1500000000.99900007 2033-05-18T03:33:20Z 2000000000.00000000 2033-05-18T03:33:20.999999Z 2000000000.99999905 expectedStdout [1352]: gmt sec 1970-01-01T00:00:00Z 0.00000000 1970-01-01T00:00:00.Z (error) 1970-01-01T00:00:01Z 1.00000000 1970-01-01T00:00:01.0Z 1.00000000 1970-01-01T00:00:10Z 10.00000000 1970-01-01T00:00:10.00Z 10.00000000 1970-01-01T00:01:40Z 100.00000000 1970-01-01T00:01:40.1Z 100.10000000 1970-01-01T00:16:40Z 1000.00000000 1970-01-01T00:16:40.12Z 1000.12000000 1970-01-01T02:46:40Z 10000.00000000 1970-01-01T02:46:40.123Z 10000.12300000 1970-01-02T03:46:40Z 100000.00000000 1970-01-02T03:46:40.1234Z 100000.12340000 1970-01-12T13:46:40Z 1000000.00000000 1970-01-12T13:46:40.12345Z 1000000.12345000 1970-04-26T17:46:40Z 10000000.00000000 1970-04-26T17:46:40.123456Z 10000000.12345600 1973-03-03T09:46:40Z 100000000.00000000 1973-03-03T09:46:40.1234567Z 100000000.12345670 2001-09-09T01:46:40Z 1000000000.00000000 2001-09-09T01:46:40.12345678Z 1000000000.12345672 2015-05-19T11:49:40Z 1432036180.00000000 2015-05-19T11:49:40.123456789Z 1432036180.12345672 2017-07-14T02:40:00Z 1500000000.00000000 2017-07-14T02:40:00.999Z 1500000000.99900007 2033-05-18T03:33:20Z 2000000000.00000000 2033-05-18T03:33:20.999999Z 2000000000.99999905 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0012/cmd Command: mlr --csvlite sec2gmt sec test/input/sec2gmt actualStdout [542]: n,sec 1,1970-01-01T00:00:00Z 2,1970-01-01T00:00:01Z 3,1970-01-01T00:00:10Z 4,1970-01-01T00:01:40Z 5,1970-01-01T00:16:40Z 6,1970-01-01T02:46:40Z 7,1970-01-02T03:46:40Z 8,1970-01-12T13:46:40Z 9,1970-04-26T17:46:40Z 10,1973-03-03T09:46:40Z 11,2001-09-09T01:46:40Z 12,2015-05-19T11:49:40Z 13,2017-07-14T02:40:00Z 14,2033-05-18T03:33:20Z 15,2033-05-18T03:33:20Z 16,2033-05-18T03:33:20Z 17,2033-05-18T03:33:20Z 18,2033-05-18T03:33:20Z 19,2033-05-18T03:33:20Z 20,2033-05-18T03:33:20Z 21,2033-05-18T03:33:20Z 22,2033-05-18T03:33:21Z 23, 24,x 25,123x expectedStdout [542]: n,sec 1,1970-01-01T00:00:00Z 2,1970-01-01T00:00:01Z 3,1970-01-01T00:00:10Z 4,1970-01-01T00:01:40Z 5,1970-01-01T00:16:40Z 6,1970-01-01T02:46:40Z 7,1970-01-02T03:46:40Z 8,1970-01-12T13:46:40Z 9,1970-04-26T17:46:40Z 10,1973-03-03T09:46:40Z 11,2001-09-09T01:46:40Z 12,2015-05-19T11:49:40Z 13,2017-07-14T02:40:00Z 14,2033-05-18T03:33:20Z 15,2033-05-18T03:33:20Z 16,2033-05-18T03:33:20Z 17,2033-05-18T03:33:20Z 18,2033-05-18T03:33:20Z 19,2033-05-18T03:33:20Z 20,2033-05-18T03:33:20Z 21,2033-05-18T03:33:20Z 22,2033-05-18T03:33:21Z 23, 24,x 25,123x actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0013/cmd Command: mlr --opprint put -f test/cases/dsl-gmt-date-time-functions/0013/mlr test/input/sec2xhms Miller DSL script: $hms=sec2hms($sec); $resec=hms2sec($hms); $diff=$resec-$sec actualStdout [815]: sec hms resec diff 0 00:00:00 0 0 1 00:00:01 1 0 59 00:00:59 59 0 60 00:01:00 60 0 61 00:01:01 61 0 3599 00:59:59 3599 0 3600 01:00:00 3600 0 3601 01:00:01 3601 0 86399 23:59:59 86399 0 86400 24:00:00 86400 0 86401 24:00:01 86401 0 863999 239:59:59 863999 0 864000 240:00:00 864000 0 864001 240:00:01 864001 0 -1 -00:00:01 -1 0 -59 -00:00:59 -59 0 -60 -00:01:00 -60 0 -61 -00:01:01 -61 0 -3599 -00:59:59 -3599 0 -3600 -01:00:00 -3600 0 -3601 -01:00:01 -3601 0 -86399 -23:59:59 -86399 0 -86400 -24:00:00 -86400 0 -86401 -24:00:01 -86401 0 -863999 -239:59:59 -863999 0 -864000 -240:00:00 -864000 0 -864001 -240:00:01 -864001 0 expectedStdout [815]: sec hms resec diff 0 00:00:00 0 0 1 00:00:01 1 0 59 00:00:59 59 0 60 00:01:00 60 0 61 00:01:01 61 0 3599 00:59:59 3599 0 3600 01:00:00 3600 0 3601 01:00:01 3601 0 86399 23:59:59 86399 0 86400 24:00:00 86400 0 86401 24:00:01 86401 0 863999 239:59:59 863999 0 864000 240:00:00 864000 0 864001 240:00:01 864001 0 -1 -00:00:01 -1 0 -59 -00:00:59 -59 0 -60 -00:01:00 -60 0 -61 -00:01:01 -61 0 -3599 -00:59:59 -3599 0 -3600 -01:00:00 -3600 0 -3601 -01:00:01 -3601 0 -86399 -23:59:59 -86399 0 -86400 -24:00:00 -86400 0 -86401 -24:00:01 -86401 0 -863999 -239:59:59 -863999 0 -864000 -240:00:00 -864000 0 -864001 -240:00:01 -864001 0 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0014/cmd Command: mlr --opprint put -f test/cases/dsl-gmt-date-time-functions/0014/mlr test/input/fsec2xhms Miller DSL script: $hms=fsec2hms($sec); $resec=hms2fsec($hms); $diff=$resec-$sec actualStdout [1821]: sec hms resec diff 0.25000000 00:00:00.250000 0.25000000 0.00000000 1.25000000 00:00:01.250000 1.25000000 0.00000000 59.25000000 00:00:59.250000 59.25000000 0.00000000 60.25000000 00:01:00.250000 60.25000000 0.00000000 61.25000000 00:01:01.250000 61.25000000 0.00000000 3599.25000000 00:59:59.250000 3599.25000000 0.00000000 3600.25000000 01:00:00.250000 3600.25000000 0.00000000 3601.25000000 01:00:01.250000 3601.25000000 0.00000000 86399.25000000 23:59:59.250000 86399.25000000 0.00000000 86400.25000000 24:00:00.250000 86400.25000000 0.00000000 86401.25000000 24:00:01.250000 86401.25000000 0.00000000 863999.25000000 239:59:59.250000 863999.25000000 0.00000000 864000.25000000 240:00:00.250000 864000.25000000 0.00000000 864001.25000000 240:00:01.250000 864001.25000000 0.00000000 -0.25000000 -00:00:00.250000 -0.25000000 0.00000000 -1.25000000 -00:00:01.250000 -1.25000000 0.00000000 -59.25000000 -00:00:59.250000 -59.25000000 0.00000000 -60.25000000 -00:01:00.250000 -60.25000000 0.00000000 -61.25000000 -00:01:01.250000 -61.25000000 0.00000000 -3599.25000000 -00:59:59.250000 -3599.25000000 0.00000000 -3600.25000000 -01:00:00.250000 -3600.25000000 0.00000000 -3601.25000000 -01:00:01.250000 -3601.25000000 0.00000000 -86399.25000000 -23:59:59.250000 -86399.25000000 0.00000000 -86400.25000000 -24:00:00.250000 -86400.25000000 0.00000000 -86401.25000000 -24:00:01.250000 -86401.25000000 0.00000000 -863999.25000000 -239:59:59.250000 -863999.25000000 0.00000000 -864000.25000000 -240:00:00.250000 -864000.25000000 0.00000000 -864001.25000000 -240:00:01.250000 -864001.25000000 0.00000000 expectedStdout [1821]: sec hms resec diff 0.25000000 00:00:00.250000 0.25000000 0.00000000 1.25000000 00:00:01.250000 1.25000000 0.00000000 59.25000000 00:00:59.250000 59.25000000 0.00000000 60.25000000 00:01:00.250000 60.25000000 0.00000000 61.25000000 00:01:01.250000 61.25000000 0.00000000 3599.25000000 00:59:59.250000 3599.25000000 0.00000000 3600.25000000 01:00:00.250000 3600.25000000 0.00000000 3601.25000000 01:00:01.250000 3601.25000000 0.00000000 86399.25000000 23:59:59.250000 86399.25000000 0.00000000 86400.25000000 24:00:00.250000 86400.25000000 0.00000000 86401.25000000 24:00:01.250000 86401.25000000 0.00000000 863999.25000000 239:59:59.250000 863999.25000000 0.00000000 864000.25000000 240:00:00.250000 864000.25000000 0.00000000 864001.25000000 240:00:01.250000 864001.25000000 0.00000000 -0.25000000 -00:00:00.250000 -0.25000000 0.00000000 -1.25000000 -00:00:01.250000 -1.25000000 0.00000000 -59.25000000 -00:00:59.250000 -59.25000000 0.00000000 -60.25000000 -00:01:00.250000 -60.25000000 0.00000000 -61.25000000 -00:01:01.250000 -61.25000000 0.00000000 -3599.25000000 -00:59:59.250000 -3599.25000000 0.00000000 -3600.25000000 -01:00:00.250000 -3600.25000000 0.00000000 -3601.25000000 -01:00:01.250000 -3601.25000000 0.00000000 -86399.25000000 -23:59:59.250000 -86399.25000000 0.00000000 -86400.25000000 -24:00:00.250000 -86400.25000000 0.00000000 -86401.25000000 -24:00:01.250000 -86401.25000000 0.00000000 -863999.25000000 -239:59:59.250000 -863999.25000000 0.00000000 -864000.25000000 -240:00:00.250000 -864000.25000000 0.00000000 -864001.25000000 -240:00:01.250000 -864001.25000000 0.00000000 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0015/cmd Command: mlr --opprint put -f test/cases/dsl-gmt-date-time-functions/0015/mlr test/input/sec2xhms Miller DSL script: $hms=sec2dhms($sec); $resec=dhms2sec($hms); $diff=$resec-$sec actualStdout [899]: sec hms resec diff 0 0s 0 0 1 1s 1 0 59 59s 59 0 60 1m00s 60 0 61 1m01s 61 0 3599 59m59s 3599 0 3600 1h00m00s 3600 0 3601 1h00m01s 3601 0 86399 23h59m59s 86399 0 86400 1d00h00m00s 86400 0 86401 1d00h00m01s 86401 0 863999 9d23h59m59s 863999 0 864000 10d00h00m00s 864000 0 864001 10d00h00m01s 864001 0 -1 -1s -1 0 -59 -59s -59 0 -60 -1m00s -60 0 -61 -1m01s -61 0 -3599 -59m59s -3599 0 -3600 -1h00m00s -3600 0 -3601 -1h00m01s -3601 0 -86399 -23h59m59s -86399 0 -86400 -1d00h00m00s -86400 0 -86401 -1d00h00m01s -86401 0 -863999 -9d23h59m59s -863999 0 -864000 -10d00h00m00s -864000 0 -864001 -10d00h00m01s -864001 0 expectedStdout [899]: sec hms resec diff 0 0s 0 0 1 1s 1 0 59 59s 59 0 60 1m00s 60 0 61 1m01s 61 0 3599 59m59s 3599 0 3600 1h00m00s 3600 0 3601 1h00m01s 3601 0 86399 23h59m59s 86399 0 86400 1d00h00m00s 86400 0 86401 1d00h00m01s 86401 0 863999 9d23h59m59s 863999 0 864000 10d00h00m00s 864000 0 864001 10d00h00m01s 864001 0 -1 -1s -1 0 -59 -59s -59 0 -60 -1m00s -60 0 -61 -1m01s -61 0 -3599 -59m59s -3599 0 -3600 -1h00m00s -3600 0 -3601 -1h00m01s -3601 0 -86399 -23h59m59s -86399 0 -86400 -1d00h00m00s -86400 0 -86401 -1d00h00m01s -86401 0 -863999 -9d23h59m59s -863999 0 -864000 -10d00h00m00s -864000 0 -864001 -10d00h00m01s -864001 0 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0015/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0015/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0016/cmd Command: mlr --opprint put -f test/cases/dsl-gmt-date-time-functions/0016/mlr test/input/fsec2xhms Miller DSL script: $hms=fsec2dhms($sec); $resec=dhms2fsec($hms); $diff=$resec-$sec actualStdout [1908]: sec hms resec diff 0.25000000 0.250000s 0.25000000 0.00000000 1.25000000 1.250000s 1.25000000 0.00000000 59.25000000 59.250000s 59.25000000 0.00000000 60.25000000 1m00.250000s 60.25000000 0.00000000 61.25000000 1m01.250000s 61.25000000 0.00000000 3599.25000000 59m59.250000s 3599.25000000 0.00000000 3600.25000000 1h00m00.250000s 3600.25000000 0.00000000 3601.25000000 1h00m01.250000s 3601.25000000 0.00000000 86399.25000000 23h59m59.250000s 86399.25000000 0.00000000 86400.25000000 1d00h00m00.250000s 86400.25000000 0.00000000 86401.25000000 1d00h00m01.250000s 86401.25000000 0.00000000 863999.25000000 9d23h59m59.250000s 863999.25000000 0.00000000 864000.25000000 10d00h00m00.250000s 864000.25000000 0.00000000 864001.25000000 10d00h00m01.250000s 864001.25000000 0.00000000 -0.25000000 -0.250000s -0.25000000 0.00000000 -1.25000000 -1.250000s -1.25000000 0.00000000 -59.25000000 -59.250000s -59.25000000 0.00000000 -60.25000000 -1m00.250000s -60.25000000 0.00000000 -61.25000000 -1m01.250000s -61.25000000 0.00000000 -3599.25000000 -59m59.250000s -3599.25000000 0.00000000 -3600.25000000 -1h00m00.250000s -3600.25000000 0.00000000 -3601.25000000 -1h00m01.250000s -3601.25000000 0.00000000 -86399.25000000 -23h59m59.250000s -86399.25000000 0.00000000 -86400.25000000 -1d00h00m00.250000s -86400.25000000 0.00000000 -86401.25000000 -1d00h00m01.250000s -86401.25000000 0.00000000 -863999.25000000 -9d23h59m59.250000s -863999.25000000 0.00000000 -864000.25000000 -10d00h00m00.250000s -864000.25000000 0.00000000 -864001.25000000 -10d00h00m01.250000s -864001.25000000 0.00000000 expectedStdout [1908]: sec hms resec diff 0.25000000 0.250000s 0.25000000 0.00000000 1.25000000 1.250000s 1.25000000 0.00000000 59.25000000 59.250000s 59.25000000 0.00000000 60.25000000 1m00.250000s 60.25000000 0.00000000 61.25000000 1m01.250000s 61.25000000 0.00000000 3599.25000000 59m59.250000s 3599.25000000 0.00000000 3600.25000000 1h00m00.250000s 3600.25000000 0.00000000 3601.25000000 1h00m01.250000s 3601.25000000 0.00000000 86399.25000000 23h59m59.250000s 86399.25000000 0.00000000 86400.25000000 1d00h00m00.250000s 86400.25000000 0.00000000 86401.25000000 1d00h00m01.250000s 86401.25000000 0.00000000 863999.25000000 9d23h59m59.250000s 863999.25000000 0.00000000 864000.25000000 10d00h00m00.250000s 864000.25000000 0.00000000 864001.25000000 10d00h00m01.250000s 864001.25000000 0.00000000 -0.25000000 -0.250000s -0.25000000 0.00000000 -1.25000000 -1.250000s -1.25000000 0.00000000 -59.25000000 -59.250000s -59.25000000 0.00000000 -60.25000000 -1m00.250000s -60.25000000 0.00000000 -61.25000000 -1m01.250000s -61.25000000 0.00000000 -3599.25000000 -59m59.250000s -3599.25000000 0.00000000 -3600.25000000 -1h00m00.250000s -3600.25000000 0.00000000 -3601.25000000 -1h00m01.250000s -3601.25000000 0.00000000 -86399.25000000 -23h59m59.250000s -86399.25000000 0.00000000 -86400.25000000 -1d00h00m00.250000s -86400.25000000 0.00000000 -86401.25000000 -1d00h00m01.250000s -86401.25000000 0.00000000 -863999.25000000 -9d23h59m59.250000s -863999.25000000 0.00000000 -864000.25000000 -10d00h00m00.250000s -864000.25000000 0.00000000 -864001.25000000 -10d00h00m01.250000s -864001.25000000 0.00000000 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0016/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0016/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0017/cmd Command: mlr --csvlite sec2gmt sec test/input/sec2gmt actualStdout [542]: n,sec 1,1970-01-01T00:00:00Z 2,1970-01-01T00:00:01Z 3,1970-01-01T00:00:10Z 4,1970-01-01T00:01:40Z 5,1970-01-01T00:16:40Z 6,1970-01-01T02:46:40Z 7,1970-01-02T03:46:40Z 8,1970-01-12T13:46:40Z 9,1970-04-26T17:46:40Z 10,1973-03-03T09:46:40Z 11,2001-09-09T01:46:40Z 12,2015-05-19T11:49:40Z 13,2017-07-14T02:40:00Z 14,2033-05-18T03:33:20Z 15,2033-05-18T03:33:20Z 16,2033-05-18T03:33:20Z 17,2033-05-18T03:33:20Z 18,2033-05-18T03:33:20Z 19,2033-05-18T03:33:20Z 20,2033-05-18T03:33:20Z 21,2033-05-18T03:33:20Z 22,2033-05-18T03:33:21Z 23, 24,x 25,123x expectedStdout [542]: n,sec 1,1970-01-01T00:00:00Z 2,1970-01-01T00:00:01Z 3,1970-01-01T00:00:10Z 4,1970-01-01T00:01:40Z 5,1970-01-01T00:16:40Z 6,1970-01-01T02:46:40Z 7,1970-01-02T03:46:40Z 8,1970-01-12T13:46:40Z 9,1970-04-26T17:46:40Z 10,1973-03-03T09:46:40Z 11,2001-09-09T01:46:40Z 12,2015-05-19T11:49:40Z 13,2017-07-14T02:40:00Z 14,2033-05-18T03:33:20Z 15,2033-05-18T03:33:20Z 16,2033-05-18T03:33:20Z 17,2033-05-18T03:33:20Z 18,2033-05-18T03:33:20Z 19,2033-05-18T03:33:20Z 20,2033-05-18T03:33:20Z 21,2033-05-18T03:33:20Z 22,2033-05-18T03:33:21Z 23, 24,x 25,123x actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0017/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0017/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0018/cmd Command: mlr --csvlite sec2gmtdate sec test/input/sec2gmt actualStdout [322]: n,sec 1,1970-01-01 2,1970-01-01 3,1970-01-01 4,1970-01-01 5,1970-01-01 6,1970-01-01 7,1970-01-02 8,1970-01-12 9,1970-04-26 10,1973-03-03 11,2001-09-09 12,2015-05-19 13,2017-07-14 14,2033-05-18 15,2033-05-18 16,2033-05-18 17,2033-05-18 18,2033-05-18 19,2033-05-18 20,2033-05-18 21,2033-05-18 22,2033-05-18 23, 24,x 25,123x expectedStdout [322]: n,sec 1,1970-01-01 2,1970-01-01 3,1970-01-01 4,1970-01-01 5,1970-01-01 6,1970-01-01 7,1970-01-02 8,1970-01-12 9,1970-04-26 10,1973-03-03 11,2001-09-09 12,2015-05-19 13,2017-07-14 14,2033-05-18 15,2033-05-18 16,2033-05-18 17,2033-05-18 18,2033-05-18 19,2033-05-18 20,2033-05-18 21,2033-05-18 22,2033-05-18 23, 24,x 25,123x actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0018/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0018/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0019/cmd Command: mlr --icsv --opprint put -f test/cases/dsl-gmt-date-time-functions/0019/mlr test/input/gmt2sec Miller DSL script: $sec = strptime($gmt, "%FT%TZ") actualStdout [1352]: gmt sec 1970-01-01T00:00:00Z 0.00000000 1970-01-01T00:00:00.Z (error) 1970-01-01T00:00:01Z 1.00000000 1970-01-01T00:00:01.0Z 1.00000000 1970-01-01T00:00:10Z 10.00000000 1970-01-01T00:00:10.00Z 10.00000000 1970-01-01T00:01:40Z 100.00000000 1970-01-01T00:01:40.1Z 100.10000000 1970-01-01T00:16:40Z 1000.00000000 1970-01-01T00:16:40.12Z 1000.12000000 1970-01-01T02:46:40Z 10000.00000000 1970-01-01T02:46:40.123Z 10000.12300000 1970-01-02T03:46:40Z 100000.00000000 1970-01-02T03:46:40.1234Z 100000.12340000 1970-01-12T13:46:40Z 1000000.00000000 1970-01-12T13:46:40.12345Z 1000000.12345000 1970-04-26T17:46:40Z 10000000.00000000 1970-04-26T17:46:40.123456Z 10000000.12345600 1973-03-03T09:46:40Z 100000000.00000000 1973-03-03T09:46:40.1234567Z 100000000.12345670 2001-09-09T01:46:40Z 1000000000.00000000 2001-09-09T01:46:40.12345678Z 1000000000.12345672 2015-05-19T11:49:40Z 1432036180.00000000 2015-05-19T11:49:40.123456789Z 1432036180.12345672 2017-07-14T02:40:00Z 1500000000.00000000 2017-07-14T02:40:00.999Z 1500000000.99900007 2033-05-18T03:33:20Z 2000000000.00000000 2033-05-18T03:33:20.999999Z 2000000000.99999905 expectedStdout [1352]: gmt sec 1970-01-01T00:00:00Z 0.00000000 1970-01-01T00:00:00.Z (error) 1970-01-01T00:00:01Z 1.00000000 1970-01-01T00:00:01.0Z 1.00000000 1970-01-01T00:00:10Z 10.00000000 1970-01-01T00:00:10.00Z 10.00000000 1970-01-01T00:01:40Z 100.00000000 1970-01-01T00:01:40.1Z 100.10000000 1970-01-01T00:16:40Z 1000.00000000 1970-01-01T00:16:40.12Z 1000.12000000 1970-01-01T02:46:40Z 10000.00000000 1970-01-01T02:46:40.123Z 10000.12300000 1970-01-02T03:46:40Z 100000.00000000 1970-01-02T03:46:40.1234Z 100000.12340000 1970-01-12T13:46:40Z 1000000.00000000 1970-01-12T13:46:40.12345Z 1000000.12345000 1970-04-26T17:46:40Z 10000000.00000000 1970-04-26T17:46:40.123456Z 10000000.12345600 1973-03-03T09:46:40Z 100000000.00000000 1973-03-03T09:46:40.1234567Z 100000000.12345670 2001-09-09T01:46:40Z 1000000000.00000000 2001-09-09T01:46:40.12345678Z 1000000000.12345672 2015-05-19T11:49:40Z 1432036180.00000000 2015-05-19T11:49:40.123456789Z 1432036180.12345672 2017-07-14T02:40:00Z 1500000000.00000000 2017-07-14T02:40:00.999Z 1500000000.99900007 2033-05-18T03:33:20Z 2000000000.00000000 2033-05-18T03:33:20.999999Z 2000000000.99999905 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0019/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0019/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0020/cmd Command: mlr -n put -f test/cases/dsl-gmt-date-time-functions/0020/mlr Miller DSL script: end { print strptime("1970-01-01T00:00:00Z", "%Y-%m-%dT%H:%M:%SZ"); print strptime("1970-01-01T00:00:00Z", "%Y-%m-%dT%H:%M:%SZ"); print strptime("1970-01-01 00:00:00 -0400", "%Y-%m-%d %H:%M:%S %z"); print strptime("1970-01-01%00:00:00Z", "%Y-%m-%d%%%H:%M:%SZ"); print strptime("1970-01-01T00:00:00Z", "%FT%TZ"); print strptime("1970:363", "%Y:%j"); print strptime("1970-01-01 10:20:30 PM", "%F %r"); print strptime("01/02/70 14:20", "%D %R"); print strptime("01/02/70 14:20", "%D %X"); # no such format code print fmtnum(strptime("1971-01-01T00:00:00.123456Z", "%Y-%m-%dT%H:%M:%S.%fZ"), "%.6f"); } actualStdout [134]: 0.00000000 0.00000000 14400.00000000 0.00000000 0.00000000 31276800.00000000 80430.00000000 138000.00000000 (error) 31536000.12345600 expectedStdout [134]: 0.00000000 0.00000000 14400.00000000 0.00000000 0.00000000 31276800.00000000 80430.00000000 138000.00000000 (error) 31536000.12345600 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0020/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0020/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-gmt-date-time-functions/0021/cmd Command: mlr --icsv --opprint put -f test/cases/dsl-gmt-date-time-functions/0021/mlr test/cases/dsl-gmt-date-time-functions/0021/input Miller DSL script: $sec = dhms2sec($x) actualStdout [226]: x y sec - 0 (error) 123 0 (error) -123 0 (error) 123h 0 442800 -123h 0 -442800 123h4s 0 442804 -123h4s 0 -442804 1h2h3m4s 0 10984 -1h2h3m4s 0 -10984 1h3m4s 0 3784 -1h3m4s 0 -3784 expectedStdout [226]: x y sec - 0 (error) 123 0 (error) -123 0 (error) 123h 0 442800 -123h 0 -442800 123h4s 0 442804 -123h4s 0 -442804 1h2h3m4s 0 10984 -1h2h3m4s 0 -10984 1h3m4s 0 3784 -1h3m4s 0 -3784 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-gmt-date-time-functions/0021/cmd ---------------------------------------------------------------- end ./test/cases/dsl-gmt-date-time-functions/0021/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-haskey/0001/cmd Command: mlr --from test/input/abixy-het put -f test/cases/dsl-haskey/0001/mlr Miller DSL script: $haskeya = haskey($*, "a") actualStdout [567]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,haskeya=true a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,haskeya=true aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853,haskeya=false a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874,haskeya=true a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447,haskeya=true a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,haskeya=true a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492,haskeya=true a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139,haskeya=true aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076,haskeya=false a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,haskeya=true expectedStdout [567]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,haskeya=true a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,haskeya=true aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853,haskeya=false a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874,haskeya=true a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447,haskeya=true a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,haskeya=true a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492,haskeya=true a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139,haskeya=true aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076,haskeya=false a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,haskeya=true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-haskey/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-haskey/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-haskey/0002/cmd Command: mlr --from test/input/abixy-het put -f test/cases/dsl-haskey/0002/mlr Miller DSL script: $haskey3 = haskey($*, 3) actualStdout [575]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,haskey3=false a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,haskey3=false aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853,haskey3=false a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874,haskey3=false a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447,haskey3=false a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,haskey3=false a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492,haskey3=false a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139,haskey3=false aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076,haskey3=false a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,haskey3=false expectedStdout [575]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,haskey3=false a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,haskey3=false aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853,haskey3=false a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874,haskey3=false a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447,haskey3=false a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,haskey3=false a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492,haskey3=false a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139,haskey3=false aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076,haskey3=false a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,haskey3=false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-haskey/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-haskey/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-haskey/0003/cmd Command: mlr --from test/input/xyz2 put -f test/cases/dsl-haskey/0003/mlr Miller DSL script: $haskeya = haskey({3:4}, "a") actualStdout [52]: x=3,y=4,z=5,haskeya=false x=6,y=7,u=8,haskeya=false expectedStdout [52]: x=3,y=4,z=5,haskeya=false x=6,y=7,u=8,haskeya=false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-haskey/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-haskey/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-haskey/0004/cmd Command: mlr --from test/input/xyz2 put -f test/cases/dsl-haskey/0004/mlr Miller DSL script: $haskey3 = haskey({3:4}, 3) actualStdout [50]: x=3,y=4,z=5,haskey3=true x=6,y=7,u=8,haskey3=true expectedStdout [50]: x=3,y=4,z=5,haskey3=true x=6,y=7,u=8,haskey3=true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-haskey/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-haskey/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-haskey/0005/cmd Command: mlr --from test/input/xyz2 put -f test/cases/dsl-haskey/0005/mlr Miller DSL script: $haskey3 = haskey({3:4}, 4) actualStdout [52]: x=3,y=4,z=5,haskey3=false x=6,y=7,u=8,haskey3=false expectedStdout [52]: x=3,y=4,z=5,haskey3=false x=6,y=7,u=8,haskey3=false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-haskey/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-haskey/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-haskey/0006/cmd Command: mlr --from test/input/xyz2 put -f test/cases/dsl-haskey/0006/mlr Miller DSL script: o = {3:4}; $haskeya = haskey(o, "a") actualStdout [52]: x=3,y=4,z=5,haskeya=false x=6,y=7,u=8,haskeya=false expectedStdout [52]: x=3,y=4,z=5,haskeya=false x=6,y=7,u=8,haskeya=false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-haskey/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-haskey/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-haskey/0007/cmd Command: mlr --from test/input/xyz2 put -f test/cases/dsl-haskey/0007/mlr Miller DSL script: o = {3:4}; $haskey3 = haskey(o, 3) actualStdout [50]: x=3,y=4,z=5,haskey3=true x=6,y=7,u=8,haskey3=true expectedStdout [50]: x=3,y=4,z=5,haskey3=true x=6,y=7,u=8,haskey3=true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-haskey/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-haskey/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-haskey/0008/cmd Command: mlr --from test/input/xyz2 put -f test/cases/dsl-haskey/0008/mlr Miller DSL script: o = {3:4}; $haskey3 = haskey(o, 4) actualStdout [52]: x=3,y=4,z=5,haskey3=false x=6,y=7,u=8,haskey3=false expectedStdout [52]: x=3,y=4,z=5,haskey3=false x=6,y=7,u=8,haskey3=false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-haskey/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-haskey/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-haskey/0009/cmd Command: mlr --from test/input/xyz2 put -f test/cases/dsl-haskey/0009/mlr Miller DSL script: @o = {3:4}; $haskeya = haskey(@o, "a") actualStdout [52]: x=3,y=4,z=5,haskeya=false x=6,y=7,u=8,haskeya=false expectedStdout [52]: x=3,y=4,z=5,haskeya=false x=6,y=7,u=8,haskeya=false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-haskey/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-haskey/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-haskey/0010/cmd Command: mlr --from test/input/xyz2 put -f test/cases/dsl-haskey/0010/mlr Miller DSL script: @o = {3:4}; $haskey3 = haskey(@o, 3) actualStdout [50]: x=3,y=4,z=5,haskey3=true x=6,y=7,u=8,haskey3=true expectedStdout [50]: x=3,y=4,z=5,haskey3=true x=6,y=7,u=8,haskey3=true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-haskey/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-haskey/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-haskey/0011/cmd Command: mlr --from test/input/xyz2 put -f test/cases/dsl-haskey/0011/mlr Miller DSL script: @o = {3:4}; $haskey3 = haskey(@o, 4) actualStdout [52]: x=3,y=4,z=5,haskey3=false x=6,y=7,u=8,haskey3=false expectedStdout [52]: x=3,y=4,z=5,haskey3=false x=6,y=7,u=8,haskey3=false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-haskey/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-haskey/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-haskey/0012/cmd Command: mlr --from test/input/xyz2 put -f test/cases/dsl-haskey/0012/mlr Miller DSL script: o = "3:4"; $haskeya = haskey(@o, "a") actualStdout [56]: x=3,y=4,z=5,haskeya=(error) x=6,y=7,u=8,haskeya=(error) expectedStdout [56]: x=3,y=4,z=5,haskeya=(error) x=6,y=7,u=8,haskeya=(error) actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-haskey/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-haskey/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-haskey/0013/cmd Command: mlr --from test/input/xyz2 put -f test/cases/dsl-haskey/0013/mlr Miller DSL script: o = "3:4"; $haskey3 = haskey(@o, 3) actualStdout [56]: x=3,y=4,z=5,haskey3=(error) x=6,y=7,u=8,haskey3=(error) expectedStdout [56]: x=3,y=4,z=5,haskey3=(error) x=6,y=7,u=8,haskey3=(error) actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-haskey/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-haskey/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-haskey/0014/cmd Command: mlr --from test/input/xyz2 put -f test/cases/dsl-haskey/0014/mlr Miller DSL script: o = "3:4"; $haskey3 = haskey(@o, 4) actualStdout [56]: x=3,y=4,z=5,haskey3=(error) x=6,y=7,u=8,haskey3=(error) expectedStdout [56]: x=3,y=4,z=5,haskey3=(error) x=6,y=7,u=8,haskey3=(error) actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-haskey/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-haskey/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-haskey/0015/cmd Command: mlr --oxtab --from test/input/s.dkvp head -n 1 then put -f ./test/cases/dsl-haskey/0015/mlr Miller DSL script: $hk01 = haskey($x, $a); $hk02 = haskey($nonesuch, $a); $hk03 = haskey($*, 7); $hk04 = haskey($*, "a"); $hk05 = haskey($*, "nonesuch"); $hk06 = haskey([10,20,30], 0); $hk07 = haskey([10,20,30], 1); $hk08 = haskey([10,20,30], 2); $hk09 = haskey([10,20,30], 3); $hk10 = haskey([10,20,30], 4); $hk11 = haskey([10,20,30], -4); $hk12 = haskey([10,20,30], -3); $hk13 = haskey([10,20,30], -2); $hk14 = haskey([10,20,30], -1); $hk15 = haskey([10,20,30], "a"); actualStdout [219]: a pan b pan i 1 x 0.34679014 y 0.72680286 hk01 (error) hk02 (error) hk03 false hk04 true hk05 false hk06 false hk07 true hk08 true hk09 true hk10 false hk11 false hk12 true hk13 true hk14 true hk15 false expectedStdout [219]: a pan b pan i 1 x 0.34679014 y 0.72680286 hk01 (error) hk02 (error) hk03 false hk04 true hk05 false hk06 false hk07 true hk08 true hk09 true hk10 false hk11 false hk12 true hk13 true hk14 true hk15 false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-haskey/0015/cmd ---------------------------------------------------------------- end ./test/cases/dsl-haskey/0015/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-if-chain/0001/cmd Command: mlr --from test/input/s.dkvp put 'if (NR == 1) { $z = 100 }' actualStdout [174]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=100 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 expectedStdout [174]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=100 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-if-chain/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-if-chain/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-if-chain/0002/cmd Command: mlr --from test/input/s.dkvp put 'if (NR == 1) { $z = 100 } else { $z = 900 }' actualStdout [192]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=100 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=900 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,z=900 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,z=900 expectedStdout [192]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=100 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=900 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,z=900 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,z=900 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-if-chain/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-if-chain/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-if-chain/0003/cmd Command: mlr --from test/input/s.dkvp put 'if (NR == 1) { $z = 100 } elif (NR == 2) { $z = 200 }' actualStdout [180]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=100 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=200 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 expectedStdout [180]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=100 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=200 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-if-chain/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-if-chain/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-if-chain/0004/cmd Command: mlr --from test/input/s.dkvp put 'if (NR == 1) { $z = 100 } elif (NR == 2) { $z = 200 } else { $z = 900 }' actualStdout [192]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=100 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=200 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,z=900 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,z=900 expectedStdout [192]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=100 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=200 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,z=900 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,z=900 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-if-chain/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-if-chain/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-if-chain/0005/cmd Command: mlr --from test/input/s.dkvp put 'if (NR == 1) { $z = 100 } elif (NR == 2) { $z = 200 } elif (NR == 3) { $z = 300 } else { $z = 900 }' actualStdout [192]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=100 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=200 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,z=300 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,z=900 expectedStdout [192]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,z=100 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,z=200 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,z=300 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,z=900 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-if-chain/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-if-chain/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-if-chaining/0001/cmd Command: mlr --from test/input/xy40.dkvp put -v -f ./test/cases/dsl-if-chaining/0001/mlr Miller DSL script: if (NR==1) { $x = 2; $y = 3 } actualStdout [1153]: DSL EXPRESSION: if (NR==1) { $x = 2; $y = 3 } AST: * statement block * if-chain * if-item "if" * operator "==" * context variable "NR" * int literal "1" * statement block * assignment "=" * direct field value "x" * int literal "2" * assignment "=" * direct field value "y" * int literal "3" i=1,x=2,y=3 i=2,x=102,y=202 i=3,x=103,y=203 i=4,x=104,y=204 i=5,x=105,y=205 i=6,x=106,y=206 i=7,x=107,y=207 i=8,x=108,y=208 i=9,x=109,y=209 i=10,x=110,y=210 i=11,x=111,y=211 i=12,x=112,y=212 i=13,x=113,y=213 i=14,x=114,y=214 i=15,x=115,y=215 i=16,x=116,y=216 i=17,x=117,y=217 i=18,x=118,y=218 i=19,x=119,y=219 i=20,x=120,y=220 i=21,x=121,y=221 i=22,x=122,y=222 i=23,x=123,y=223 i=24,x=124,y=224 i=25,x=125,y=225 i=26,x=126,y=226 i=27,x=127,y=227 i=28,x=128,y=228 i=29,x=129,y=229 i=30,x=130,y=230 i=31,x=131,y=231 i=32,x=132,y=232 i=33,x=133,y=233 i=34,x=134,y=234 i=35,x=135,y=235 i=36,x=136,y=236 i=37,x=137,y=237 i=38,x=138,y=238 i=39,x=139,y=239 i=40,x=140,y=240 expectedStdout [1153]: DSL EXPRESSION: if (NR==1) { $x = 2; $y = 3 } AST: * statement block * if-chain * if-item "if" * operator "==" * context variable "NR" * int literal "1" * statement block * assignment "=" * direct field value "x" * int literal "2" * assignment "=" * direct field value "y" * int literal "3" i=1,x=2,y=3 i=2,x=102,y=202 i=3,x=103,y=203 i=4,x=104,y=204 i=5,x=105,y=205 i=6,x=106,y=206 i=7,x=107,y=207 i=8,x=108,y=208 i=9,x=109,y=209 i=10,x=110,y=210 i=11,x=111,y=211 i=12,x=112,y=212 i=13,x=113,y=213 i=14,x=114,y=214 i=15,x=115,y=215 i=16,x=116,y=216 i=17,x=117,y=217 i=18,x=118,y=218 i=19,x=119,y=219 i=20,x=120,y=220 i=21,x=121,y=221 i=22,x=122,y=222 i=23,x=123,y=223 i=24,x=124,y=224 i=25,x=125,y=225 i=26,x=126,y=226 i=27,x=127,y=227 i=28,x=128,y=228 i=29,x=129,y=229 i=30,x=130,y=230 i=31,x=131,y=231 i=32,x=132,y=232 i=33,x=133,y=233 i=34,x=134,y=234 i=35,x=135,y=235 i=36,x=136,y=236 i=37,x=137,y=237 i=38,x=138,y=238 i=39,x=139,y=239 i=40,x=140,y=240 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-if-chaining/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-if-chaining/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-if-chaining/0002/cmd Command: mlr --from test/input/xy40.dkvp put -v -f ./test/cases/dsl-if-chaining/0002/mlr Miller DSL script: if (NR == 4) { $x = 5; $y = 6 } else { $x = 1007; $y = 1008 } actualStdout [1566]: DSL EXPRESSION: if (NR == 4) { $x = 5; $y = 6 } else { $x = 1007; $y = 1008 } AST: * statement block * if-chain * if-item "if" * operator "==" * context variable "NR" * int literal "4" * statement block * assignment "=" * direct field value "x" * int literal "5" * assignment "=" * direct field value "y" * int literal "6" * if-item "else" * statement block * assignment "=" * direct field value "x" * int literal "1007" * assignment "=" * direct field value "y" * int literal "1008" i=1,x=1007,y=1008 i=2,x=1007,y=1008 i=3,x=1007,y=1008 i=4,x=5,y=6 i=5,x=1007,y=1008 i=6,x=1007,y=1008 i=7,x=1007,y=1008 i=8,x=1007,y=1008 i=9,x=1007,y=1008 i=10,x=1007,y=1008 i=11,x=1007,y=1008 i=12,x=1007,y=1008 i=13,x=1007,y=1008 i=14,x=1007,y=1008 i=15,x=1007,y=1008 i=16,x=1007,y=1008 i=17,x=1007,y=1008 i=18,x=1007,y=1008 i=19,x=1007,y=1008 i=20,x=1007,y=1008 i=21,x=1007,y=1008 i=22,x=1007,y=1008 i=23,x=1007,y=1008 i=24,x=1007,y=1008 i=25,x=1007,y=1008 i=26,x=1007,y=1008 i=27,x=1007,y=1008 i=28,x=1007,y=1008 i=29,x=1007,y=1008 i=30,x=1007,y=1008 i=31,x=1007,y=1008 i=32,x=1007,y=1008 i=33,x=1007,y=1008 i=34,x=1007,y=1008 i=35,x=1007,y=1008 i=36,x=1007,y=1008 i=37,x=1007,y=1008 i=38,x=1007,y=1008 i=39,x=1007,y=1008 i=40,x=1007,y=1008 expectedStdout [1566]: DSL EXPRESSION: if (NR == 4) { $x = 5; $y = 6 } else { $x = 1007; $y = 1008 } AST: * statement block * if-chain * if-item "if" * operator "==" * context variable "NR" * int literal "4" * statement block * assignment "=" * direct field value "x" * int literal "5" * assignment "=" * direct field value "y" * int literal "6" * if-item "else" * statement block * assignment "=" * direct field value "x" * int literal "1007" * assignment "=" * direct field value "y" * int literal "1008" i=1,x=1007,y=1008 i=2,x=1007,y=1008 i=3,x=1007,y=1008 i=4,x=5,y=6 i=5,x=1007,y=1008 i=6,x=1007,y=1008 i=7,x=1007,y=1008 i=8,x=1007,y=1008 i=9,x=1007,y=1008 i=10,x=1007,y=1008 i=11,x=1007,y=1008 i=12,x=1007,y=1008 i=13,x=1007,y=1008 i=14,x=1007,y=1008 i=15,x=1007,y=1008 i=16,x=1007,y=1008 i=17,x=1007,y=1008 i=18,x=1007,y=1008 i=19,x=1007,y=1008 i=20,x=1007,y=1008 i=21,x=1007,y=1008 i=22,x=1007,y=1008 i=23,x=1007,y=1008 i=24,x=1007,y=1008 i=25,x=1007,y=1008 i=26,x=1007,y=1008 i=27,x=1007,y=1008 i=28,x=1007,y=1008 i=29,x=1007,y=1008 i=30,x=1007,y=1008 i=31,x=1007,y=1008 i=32,x=1007,y=1008 i=33,x=1007,y=1008 i=34,x=1007,y=1008 i=35,x=1007,y=1008 i=36,x=1007,y=1008 i=37,x=1007,y=1008 i=38,x=1007,y=1008 i=39,x=1007,y=1008 i=40,x=1007,y=1008 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-if-chaining/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-if-chaining/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-if-chaining/0003/cmd Command: mlr --from test/input/xy40.dkvp put -v -f ./test/cases/dsl-if-chaining/0003/mlr Miller DSL script: if (NR == 9) { $x = 10; $y = 11 } elif (NR == 12) { $x = 13; $y = 14 } else { $x = 1015; $y = 1016 } actualStdout [2007]: DSL EXPRESSION: if (NR == 9) { $x = 10; $y = 11 } elif (NR == 12) { $x = 13; $y = 14 } else { $x = 1015; $y = 1016 } AST: * statement block * if-chain * if-item "if" * operator "==" * context variable "NR" * int literal "9" * statement block * assignment "=" * direct field value "x" * int literal "10" * assignment "=" * direct field value "y" * int literal "11" * if-item "elif" * operator "==" * context variable "NR" * int literal "12" * statement block * assignment "=" * direct field value "x" * int literal "13" * assignment "=" * direct field value "y" * int literal "14" * if-item "else" * statement block * assignment "=" * direct field value "x" * int literal "1015" * assignment "=" * direct field value "y" * int literal "1016" i=1,x=1015,y=1016 i=2,x=1015,y=1016 i=3,x=1015,y=1016 i=4,x=1015,y=1016 i=5,x=1015,y=1016 i=6,x=1015,y=1016 i=7,x=1015,y=1016 i=8,x=1015,y=1016 i=9,x=10,y=11 i=10,x=1015,y=1016 i=11,x=1015,y=1016 i=12,x=13,y=14 i=13,x=1015,y=1016 i=14,x=1015,y=1016 i=15,x=1015,y=1016 i=16,x=1015,y=1016 i=17,x=1015,y=1016 i=18,x=1015,y=1016 i=19,x=1015,y=1016 i=20,x=1015,y=1016 i=21,x=1015,y=1016 i=22,x=1015,y=1016 i=23,x=1015,y=1016 i=24,x=1015,y=1016 i=25,x=1015,y=1016 i=26,x=1015,y=1016 i=27,x=1015,y=1016 i=28,x=1015,y=1016 i=29,x=1015,y=1016 i=30,x=1015,y=1016 i=31,x=1015,y=1016 i=32,x=1015,y=1016 i=33,x=1015,y=1016 i=34,x=1015,y=1016 i=35,x=1015,y=1016 i=36,x=1015,y=1016 i=37,x=1015,y=1016 i=38,x=1015,y=1016 i=39,x=1015,y=1016 i=40,x=1015,y=1016 expectedStdout [2007]: DSL EXPRESSION: if (NR == 9) { $x = 10; $y = 11 } elif (NR == 12) { $x = 13; $y = 14 } else { $x = 1015; $y = 1016 } AST: * statement block * if-chain * if-item "if" * operator "==" * context variable "NR" * int literal "9" * statement block * assignment "=" * direct field value "x" * int literal "10" * assignment "=" * direct field value "y" * int literal "11" * if-item "elif" * operator "==" * context variable "NR" * int literal "12" * statement block * assignment "=" * direct field value "x" * int literal "13" * assignment "=" * direct field value "y" * int literal "14" * if-item "else" * statement block * assignment "=" * direct field value "x" * int literal "1015" * assignment "=" * direct field value "y" * int literal "1016" i=1,x=1015,y=1016 i=2,x=1015,y=1016 i=3,x=1015,y=1016 i=4,x=1015,y=1016 i=5,x=1015,y=1016 i=6,x=1015,y=1016 i=7,x=1015,y=1016 i=8,x=1015,y=1016 i=9,x=10,y=11 i=10,x=1015,y=1016 i=11,x=1015,y=1016 i=12,x=13,y=14 i=13,x=1015,y=1016 i=14,x=1015,y=1016 i=15,x=1015,y=1016 i=16,x=1015,y=1016 i=17,x=1015,y=1016 i=18,x=1015,y=1016 i=19,x=1015,y=1016 i=20,x=1015,y=1016 i=21,x=1015,y=1016 i=22,x=1015,y=1016 i=23,x=1015,y=1016 i=24,x=1015,y=1016 i=25,x=1015,y=1016 i=26,x=1015,y=1016 i=27,x=1015,y=1016 i=28,x=1015,y=1016 i=29,x=1015,y=1016 i=30,x=1015,y=1016 i=31,x=1015,y=1016 i=32,x=1015,y=1016 i=33,x=1015,y=1016 i=34,x=1015,y=1016 i=35,x=1015,y=1016 i=36,x=1015,y=1016 i=37,x=1015,y=1016 i=38,x=1015,y=1016 i=39,x=1015,y=1016 i=40,x=1015,y=1016 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-if-chaining/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-if-chaining/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-if-chaining/0004/cmd Command: mlr --from test/input/xy40.dkvp put -v -f ./test/cases/dsl-if-chaining/0004/mlr Miller DSL script: if (NR == 17) { $x = 18; $y = 19 } elif (NR == 20) { $x = 21; $y = 22 } elif (NR == 23) { $x = 24; $y = 25 } else { $x = 1026; $y = 1027 } actualStdout [2444]: DSL EXPRESSION: if (NR == 17) { $x = 18; $y = 19 } elif (NR == 20) { $x = 21; $y = 22 } elif (NR == 23) { $x = 24; $y = 25 } else { $x = 1026; $y = 1027 } AST: * statement block * if-chain * if-item "if" * operator "==" * context variable "NR" * int literal "17" * statement block * assignment "=" * direct field value "x" * int literal "18" * assignment "=" * direct field value "y" * int literal "19" * if-item "elif" * operator "==" * context variable "NR" * int literal "20" * statement block * assignment "=" * direct field value "x" * int literal "21" * assignment "=" * direct field value "y" * int literal "22" * if-item "elif" * operator "==" * context variable "NR" * int literal "23" * statement block * assignment "=" * direct field value "x" * int literal "24" * assignment "=" * direct field value "y" * int literal "25" * if-item "else" * statement block * assignment "=" * direct field value "x" * int literal "1026" * assignment "=" * direct field value "y" * int literal "1027" i=1,x=1026,y=1027 i=2,x=1026,y=1027 i=3,x=1026,y=1027 i=4,x=1026,y=1027 i=5,x=1026,y=1027 i=6,x=1026,y=1027 i=7,x=1026,y=1027 i=8,x=1026,y=1027 i=9,x=1026,y=1027 i=10,x=1026,y=1027 i=11,x=1026,y=1027 i=12,x=1026,y=1027 i=13,x=1026,y=1027 i=14,x=1026,y=1027 i=15,x=1026,y=1027 i=16,x=1026,y=1027 i=17,x=18,y=19 i=18,x=1026,y=1027 i=19,x=1026,y=1027 i=20,x=21,y=22 i=21,x=1026,y=1027 i=22,x=1026,y=1027 i=23,x=24,y=25 i=24,x=1026,y=1027 i=25,x=1026,y=1027 i=26,x=1026,y=1027 i=27,x=1026,y=1027 i=28,x=1026,y=1027 i=29,x=1026,y=1027 i=30,x=1026,y=1027 i=31,x=1026,y=1027 i=32,x=1026,y=1027 i=33,x=1026,y=1027 i=34,x=1026,y=1027 i=35,x=1026,y=1027 i=36,x=1026,y=1027 i=37,x=1026,y=1027 i=38,x=1026,y=1027 i=39,x=1026,y=1027 i=40,x=1026,y=1027 expectedStdout [2444]: DSL EXPRESSION: if (NR == 17) { $x = 18; $y = 19 } elif (NR == 20) { $x = 21; $y = 22 } elif (NR == 23) { $x = 24; $y = 25 } else { $x = 1026; $y = 1027 } AST: * statement block * if-chain * if-item "if" * operator "==" * context variable "NR" * int literal "17" * statement block * assignment "=" * direct field value "x" * int literal "18" * assignment "=" * direct field value "y" * int literal "19" * if-item "elif" * operator "==" * context variable "NR" * int literal "20" * statement block * assignment "=" * direct field value "x" * int literal "21" * assignment "=" * direct field value "y" * int literal "22" * if-item "elif" * operator "==" * context variable "NR" * int literal "23" * statement block * assignment "=" * direct field value "x" * int literal "24" * assignment "=" * direct field value "y" * int literal "25" * if-item "else" * statement block * assignment "=" * direct field value "x" * int literal "1026" * assignment "=" * direct field value "y" * int literal "1027" i=1,x=1026,y=1027 i=2,x=1026,y=1027 i=3,x=1026,y=1027 i=4,x=1026,y=1027 i=5,x=1026,y=1027 i=6,x=1026,y=1027 i=7,x=1026,y=1027 i=8,x=1026,y=1027 i=9,x=1026,y=1027 i=10,x=1026,y=1027 i=11,x=1026,y=1027 i=12,x=1026,y=1027 i=13,x=1026,y=1027 i=14,x=1026,y=1027 i=15,x=1026,y=1027 i=16,x=1026,y=1027 i=17,x=18,y=19 i=18,x=1026,y=1027 i=19,x=1026,y=1027 i=20,x=21,y=22 i=21,x=1026,y=1027 i=22,x=1026,y=1027 i=23,x=24,y=25 i=24,x=1026,y=1027 i=25,x=1026,y=1027 i=26,x=1026,y=1027 i=27,x=1026,y=1027 i=28,x=1026,y=1027 i=29,x=1026,y=1027 i=30,x=1026,y=1027 i=31,x=1026,y=1027 i=32,x=1026,y=1027 i=33,x=1026,y=1027 i=34,x=1026,y=1027 i=35,x=1026,y=1027 i=36,x=1026,y=1027 i=37,x=1026,y=1027 i=38,x=1026,y=1027 i=39,x=1026,y=1027 i=40,x=1026,y=1027 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-if-chaining/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-if-chaining/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-if-chaining/0005/cmd Command: mlr --from test/input/xy40.dkvp put -v -f ./test/cases/dsl-if-chaining/0005/mlr Miller DSL script: if (NR == 28) { $x = 29; $y = 30 } elif (NR == 31) { $x = 32; $y = 33 } elif (NR == 34) { $x = 35; $y = 36 } elif (NR == 37) { $x = 38; $y = 39 } else { $x = 1040; $y = 1041 } actualStdout [2879]: DSL EXPRESSION: if (NR == 28) { $x = 29; $y = 30 } elif (NR == 31) { $x = 32; $y = 33 } elif (NR == 34) { $x = 35; $y = 36 } elif (NR == 37) { $x = 38; $y = 39 } else { $x = 1040; $y = 1041 } AST: * statement block * if-chain * if-item "if" * operator "==" * context variable "NR" * int literal "28" * statement block * assignment "=" * direct field value "x" * int literal "29" * assignment "=" * direct field value "y" * int literal "30" * if-item "elif" * operator "==" * context variable "NR" * int literal "31" * statement block * assignment "=" * direct field value "x" * int literal "32" * assignment "=" * direct field value "y" * int literal "33" * if-item "elif" * operator "==" * context variable "NR" * int literal "34" * statement block * assignment "=" * direct field value "x" * int literal "35" * assignment "=" * direct field value "y" * int literal "36" * if-item "elif" * operator "==" * context variable "NR" * int literal "37" * statement block * assignment "=" * direct field value "x" * int literal "38" * assignment "=" * direct field value "y" * int literal "39" * if-item "else" * statement block * assignment "=" * direct field value "x" * int literal "1040" * assignment "=" * direct field value "y" * int literal "1041" i=1,x=1040,y=1041 i=2,x=1040,y=1041 i=3,x=1040,y=1041 i=4,x=1040,y=1041 i=5,x=1040,y=1041 i=6,x=1040,y=1041 i=7,x=1040,y=1041 i=8,x=1040,y=1041 i=9,x=1040,y=1041 i=10,x=1040,y=1041 i=11,x=1040,y=1041 i=12,x=1040,y=1041 i=13,x=1040,y=1041 i=14,x=1040,y=1041 i=15,x=1040,y=1041 i=16,x=1040,y=1041 i=17,x=1040,y=1041 i=18,x=1040,y=1041 i=19,x=1040,y=1041 i=20,x=1040,y=1041 i=21,x=1040,y=1041 i=22,x=1040,y=1041 i=23,x=1040,y=1041 i=24,x=1040,y=1041 i=25,x=1040,y=1041 i=26,x=1040,y=1041 i=27,x=1040,y=1041 i=28,x=29,y=30 i=29,x=1040,y=1041 i=30,x=1040,y=1041 i=31,x=32,y=33 i=32,x=1040,y=1041 i=33,x=1040,y=1041 i=34,x=35,y=36 i=35,x=1040,y=1041 i=36,x=1040,y=1041 i=37,x=38,y=39 i=38,x=1040,y=1041 i=39,x=1040,y=1041 i=40,x=1040,y=1041 expectedStdout [2879]: DSL EXPRESSION: if (NR == 28) { $x = 29; $y = 30 } elif (NR == 31) { $x = 32; $y = 33 } elif (NR == 34) { $x = 35; $y = 36 } elif (NR == 37) { $x = 38; $y = 39 } else { $x = 1040; $y = 1041 } AST: * statement block * if-chain * if-item "if" * operator "==" * context variable "NR" * int literal "28" * statement block * assignment "=" * direct field value "x" * int literal "29" * assignment "=" * direct field value "y" * int literal "30" * if-item "elif" * operator "==" * context variable "NR" * int literal "31" * statement block * assignment "=" * direct field value "x" * int literal "32" * assignment "=" * direct field value "y" * int literal "33" * if-item "elif" * operator "==" * context variable "NR" * int literal "34" * statement block * assignment "=" * direct field value "x" * int literal "35" * assignment "=" * direct field value "y" * int literal "36" * if-item "elif" * operator "==" * context variable "NR" * int literal "37" * statement block * assignment "=" * direct field value "x" * int literal "38" * assignment "=" * direct field value "y" * int literal "39" * if-item "else" * statement block * assignment "=" * direct field value "x" * int literal "1040" * assignment "=" * direct field value "y" * int literal "1041" i=1,x=1040,y=1041 i=2,x=1040,y=1041 i=3,x=1040,y=1041 i=4,x=1040,y=1041 i=5,x=1040,y=1041 i=6,x=1040,y=1041 i=7,x=1040,y=1041 i=8,x=1040,y=1041 i=9,x=1040,y=1041 i=10,x=1040,y=1041 i=11,x=1040,y=1041 i=12,x=1040,y=1041 i=13,x=1040,y=1041 i=14,x=1040,y=1041 i=15,x=1040,y=1041 i=16,x=1040,y=1041 i=17,x=1040,y=1041 i=18,x=1040,y=1041 i=19,x=1040,y=1041 i=20,x=1040,y=1041 i=21,x=1040,y=1041 i=22,x=1040,y=1041 i=23,x=1040,y=1041 i=24,x=1040,y=1041 i=25,x=1040,y=1041 i=26,x=1040,y=1041 i=27,x=1040,y=1041 i=28,x=29,y=30 i=29,x=1040,y=1041 i=30,x=1040,y=1041 i=31,x=32,y=33 i=32,x=1040,y=1041 i=33,x=1040,y=1041 i=34,x=35,y=36 i=35,x=1040,y=1041 i=36,x=1040,y=1041 i=37,x=38,y=39 i=38,x=1040,y=1041 i=39,x=1040,y=1041 i=40,x=1040,y=1041 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-if-chaining/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-if-chaining/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-if-chaining/0006/cmd Command: mlr --from test/input/xy40.dkvp put -v -f ./test/cases/dsl-if-chaining/0006/mlr Miller DSL script: if (NR == 1) { $x = 2; $y = 3 } actualStdout [1155]: DSL EXPRESSION: if (NR == 1) { $x = 2; $y = 3 } AST: * statement block * if-chain * if-item "if" * operator "==" * context variable "NR" * int literal "1" * statement block * assignment "=" * direct field value "x" * int literal "2" * assignment "=" * direct field value "y" * int literal "3" i=1,x=2,y=3 i=2,x=102,y=202 i=3,x=103,y=203 i=4,x=104,y=204 i=5,x=105,y=205 i=6,x=106,y=206 i=7,x=107,y=207 i=8,x=108,y=208 i=9,x=109,y=209 i=10,x=110,y=210 i=11,x=111,y=211 i=12,x=112,y=212 i=13,x=113,y=213 i=14,x=114,y=214 i=15,x=115,y=215 i=16,x=116,y=216 i=17,x=117,y=217 i=18,x=118,y=218 i=19,x=119,y=219 i=20,x=120,y=220 i=21,x=121,y=221 i=22,x=122,y=222 i=23,x=123,y=223 i=24,x=124,y=224 i=25,x=125,y=225 i=26,x=126,y=226 i=27,x=127,y=227 i=28,x=128,y=228 i=29,x=129,y=229 i=30,x=130,y=230 i=31,x=131,y=231 i=32,x=132,y=232 i=33,x=133,y=233 i=34,x=134,y=234 i=35,x=135,y=235 i=36,x=136,y=236 i=37,x=137,y=237 i=38,x=138,y=238 i=39,x=139,y=239 i=40,x=140,y=240 expectedStdout [1155]: DSL EXPRESSION: if (NR == 1) { $x = 2; $y = 3 } AST: * statement block * if-chain * if-item "if" * operator "==" * context variable "NR" * int literal "1" * statement block * assignment "=" * direct field value "x" * int literal "2" * assignment "=" * direct field value "y" * int literal "3" i=1,x=2,y=3 i=2,x=102,y=202 i=3,x=103,y=203 i=4,x=104,y=204 i=5,x=105,y=205 i=6,x=106,y=206 i=7,x=107,y=207 i=8,x=108,y=208 i=9,x=109,y=209 i=10,x=110,y=210 i=11,x=111,y=211 i=12,x=112,y=212 i=13,x=113,y=213 i=14,x=114,y=214 i=15,x=115,y=215 i=16,x=116,y=216 i=17,x=117,y=217 i=18,x=118,y=218 i=19,x=119,y=219 i=20,x=120,y=220 i=21,x=121,y=221 i=22,x=122,y=222 i=23,x=123,y=223 i=24,x=124,y=224 i=25,x=125,y=225 i=26,x=126,y=226 i=27,x=127,y=227 i=28,x=128,y=228 i=29,x=129,y=229 i=30,x=130,y=230 i=31,x=131,y=231 i=32,x=132,y=232 i=33,x=133,y=233 i=34,x=134,y=234 i=35,x=135,y=235 i=36,x=136,y=236 i=37,x=137,y=237 i=38,x=138,y=238 i=39,x=139,y=239 i=40,x=140,y=240 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-if-chaining/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-if-chaining/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-if-chaining/0007/cmd Command: mlr --from test/input/xy40.dkvp put -v -f ./test/cases/dsl-if-chaining/0007/mlr Miller DSL script: if (NR == 4) { $x = 5; $y = 6 } elif (NR == 7) { $x = 8; $y = 9 } actualStdout [1584]: DSL EXPRESSION: if (NR == 4) { $x = 5; $y = 6 } elif (NR == 7) { $x = 8; $y = 9 } AST: * statement block * if-chain * if-item "if" * operator "==" * context variable "NR" * int literal "4" * statement block * assignment "=" * direct field value "x" * int literal "5" * assignment "=" * direct field value "y" * int literal "6" * if-item "elif" * operator "==" * context variable "NR" * int literal "7" * statement block * assignment "=" * direct field value "x" * int literal "8" * assignment "=" * direct field value "y" * int literal "9" i=1,x=101,y=201 i=2,x=102,y=202 i=3,x=103,y=203 i=4,x=5,y=6 i=5,x=105,y=205 i=6,x=106,y=206 i=7,x=8,y=9 i=8,x=108,y=208 i=9,x=109,y=209 i=10,x=110,y=210 i=11,x=111,y=211 i=12,x=112,y=212 i=13,x=113,y=213 i=14,x=114,y=214 i=15,x=115,y=215 i=16,x=116,y=216 i=17,x=117,y=217 i=18,x=118,y=218 i=19,x=119,y=219 i=20,x=120,y=220 i=21,x=121,y=221 i=22,x=122,y=222 i=23,x=123,y=223 i=24,x=124,y=224 i=25,x=125,y=225 i=26,x=126,y=226 i=27,x=127,y=227 i=28,x=128,y=228 i=29,x=129,y=229 i=30,x=130,y=230 i=31,x=131,y=231 i=32,x=132,y=232 i=33,x=133,y=233 i=34,x=134,y=234 i=35,x=135,y=235 i=36,x=136,y=236 i=37,x=137,y=237 i=38,x=138,y=238 i=39,x=139,y=239 i=40,x=140,y=240 expectedStdout [1584]: DSL EXPRESSION: if (NR == 4) { $x = 5; $y = 6 } elif (NR == 7) { $x = 8; $y = 9 } AST: * statement block * if-chain * if-item "if" * operator "==" * context variable "NR" * int literal "4" * statement block * assignment "=" * direct field value "x" * int literal "5" * assignment "=" * direct field value "y" * int literal "6" * if-item "elif" * operator "==" * context variable "NR" * int literal "7" * statement block * assignment "=" * direct field value "x" * int literal "8" * assignment "=" * direct field value "y" * int literal "9" i=1,x=101,y=201 i=2,x=102,y=202 i=3,x=103,y=203 i=4,x=5,y=6 i=5,x=105,y=205 i=6,x=106,y=206 i=7,x=8,y=9 i=8,x=108,y=208 i=9,x=109,y=209 i=10,x=110,y=210 i=11,x=111,y=211 i=12,x=112,y=212 i=13,x=113,y=213 i=14,x=114,y=214 i=15,x=115,y=215 i=16,x=116,y=216 i=17,x=117,y=217 i=18,x=118,y=218 i=19,x=119,y=219 i=20,x=120,y=220 i=21,x=121,y=221 i=22,x=122,y=222 i=23,x=123,y=223 i=24,x=124,y=224 i=25,x=125,y=225 i=26,x=126,y=226 i=27,x=127,y=227 i=28,x=128,y=228 i=29,x=129,y=229 i=30,x=130,y=230 i=31,x=131,y=231 i=32,x=132,y=232 i=33,x=133,y=233 i=34,x=134,y=234 i=35,x=135,y=235 i=36,x=136,y=236 i=37,x=137,y=237 i=38,x=138,y=238 i=39,x=139,y=239 i=40,x=140,y=240 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-if-chaining/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-if-chaining/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-if-chaining/0008/cmd Command: mlr --from test/input/xy40.dkvp put -v -f ./test/cases/dsl-if-chaining/0008/mlr Miller DSL script: if (NR == 10) { $x = 11; $y = 12 } elif (NR == 13) { $x = 14; $y = 15 } elif (NR == 16) { $x = 17; $y = 18 } actualStdout [2037]: DSL EXPRESSION: if (NR == 10) { $x = 11; $y = 12 } elif (NR == 13) { $x = 14; $y = 15 } elif (NR == 16) { $x = 17; $y = 18 } AST: * statement block * if-chain * if-item "if" * operator "==" * context variable "NR" * int literal "10" * statement block * assignment "=" * direct field value "x" * int literal "11" * assignment "=" * direct field value "y" * int literal "12" * if-item "elif" * operator "==" * context variable "NR" * int literal "13" * statement block * assignment "=" * direct field value "x" * int literal "14" * assignment "=" * direct field value "y" * int literal "15" * if-item "elif" * operator "==" * context variable "NR" * int literal "16" * statement block * assignment "=" * direct field value "x" * int literal "17" * assignment "=" * direct field value "y" * int literal "18" i=1,x=101,y=201 i=2,x=102,y=202 i=3,x=103,y=203 i=4,x=104,y=204 i=5,x=105,y=205 i=6,x=106,y=206 i=7,x=107,y=207 i=8,x=108,y=208 i=9,x=109,y=209 i=10,x=11,y=12 i=11,x=111,y=211 i=12,x=112,y=212 i=13,x=14,y=15 i=14,x=114,y=214 i=15,x=115,y=215 i=16,x=17,y=18 i=17,x=117,y=217 i=18,x=118,y=218 i=19,x=119,y=219 i=20,x=120,y=220 i=21,x=121,y=221 i=22,x=122,y=222 i=23,x=123,y=223 i=24,x=124,y=224 i=25,x=125,y=225 i=26,x=126,y=226 i=27,x=127,y=227 i=28,x=128,y=228 i=29,x=129,y=229 i=30,x=130,y=230 i=31,x=131,y=231 i=32,x=132,y=232 i=33,x=133,y=233 i=34,x=134,y=234 i=35,x=135,y=235 i=36,x=136,y=236 i=37,x=137,y=237 i=38,x=138,y=238 i=39,x=139,y=239 i=40,x=140,y=240 expectedStdout [2037]: DSL EXPRESSION: if (NR == 10) { $x = 11; $y = 12 } elif (NR == 13) { $x = 14; $y = 15 } elif (NR == 16) { $x = 17; $y = 18 } AST: * statement block * if-chain * if-item "if" * operator "==" * context variable "NR" * int literal "10" * statement block * assignment "=" * direct field value "x" * int literal "11" * assignment "=" * direct field value "y" * int literal "12" * if-item "elif" * operator "==" * context variable "NR" * int literal "13" * statement block * assignment "=" * direct field value "x" * int literal "14" * assignment "=" * direct field value "y" * int literal "15" * if-item "elif" * operator "==" * context variable "NR" * int literal "16" * statement block * assignment "=" * direct field value "x" * int literal "17" * assignment "=" * direct field value "y" * int literal "18" i=1,x=101,y=201 i=2,x=102,y=202 i=3,x=103,y=203 i=4,x=104,y=204 i=5,x=105,y=205 i=6,x=106,y=206 i=7,x=107,y=207 i=8,x=108,y=208 i=9,x=109,y=209 i=10,x=11,y=12 i=11,x=111,y=211 i=12,x=112,y=212 i=13,x=14,y=15 i=14,x=114,y=214 i=15,x=115,y=215 i=16,x=17,y=18 i=17,x=117,y=217 i=18,x=118,y=218 i=19,x=119,y=219 i=20,x=120,y=220 i=21,x=121,y=221 i=22,x=122,y=222 i=23,x=123,y=223 i=24,x=124,y=224 i=25,x=125,y=225 i=26,x=126,y=226 i=27,x=127,y=227 i=28,x=128,y=228 i=29,x=129,y=229 i=30,x=130,y=230 i=31,x=131,y=231 i=32,x=132,y=232 i=33,x=133,y=233 i=34,x=134,y=234 i=35,x=135,y=235 i=36,x=136,y=236 i=37,x=137,y=237 i=38,x=138,y=238 i=39,x=139,y=239 i=40,x=140,y=240 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-if-chaining/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-if-chaining/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-if-chaining/0009/cmd Command: mlr --from test/input/xy40.dkvp put -v -f ./test/cases/dsl-if-chaining/0009/mlr Miller DSL script: if (NR == 19) { $x = 20; $y = 21 } elif (NR == 22) { $x = 23; $y = 24 } elif (NR == 25) { $x = 26; $y = 37 } elif (NR == 28) { $x = 29; $y = 30 } actualStdout [2474]: DSL EXPRESSION: if (NR == 19) { $x = 20; $y = 21 } elif (NR == 22) { $x = 23; $y = 24 } elif (NR == 25) { $x = 26; $y = 37 } elif (NR == 28) { $x = 29; $y = 30 } AST: * statement block * if-chain * if-item "if" * operator "==" * context variable "NR" * int literal "19" * statement block * assignment "=" * direct field value "x" * int literal "20" * assignment "=" * direct field value "y" * int literal "21" * if-item "elif" * operator "==" * context variable "NR" * int literal "22" * statement block * assignment "=" * direct field value "x" * int literal "23" * assignment "=" * direct field value "y" * int literal "24" * if-item "elif" * operator "==" * context variable "NR" * int literal "25" * statement block * assignment "=" * direct field value "x" * int literal "26" * assignment "=" * direct field value "y" * int literal "37" * if-item "elif" * operator "==" * context variable "NR" * int literal "28" * statement block * assignment "=" * direct field value "x" * int literal "29" * assignment "=" * direct field value "y" * int literal "30" i=1,x=101,y=201 i=2,x=102,y=202 i=3,x=103,y=203 i=4,x=104,y=204 i=5,x=105,y=205 i=6,x=106,y=206 i=7,x=107,y=207 i=8,x=108,y=208 i=9,x=109,y=209 i=10,x=110,y=210 i=11,x=111,y=211 i=12,x=112,y=212 i=13,x=113,y=213 i=14,x=114,y=214 i=15,x=115,y=215 i=16,x=116,y=216 i=17,x=117,y=217 i=18,x=118,y=218 i=19,x=20,y=21 i=20,x=120,y=220 i=21,x=121,y=221 i=22,x=23,y=24 i=23,x=123,y=223 i=24,x=124,y=224 i=25,x=26,y=37 i=26,x=126,y=226 i=27,x=127,y=227 i=28,x=29,y=30 i=29,x=129,y=229 i=30,x=130,y=230 i=31,x=131,y=231 i=32,x=132,y=232 i=33,x=133,y=233 i=34,x=134,y=234 i=35,x=135,y=235 i=36,x=136,y=236 i=37,x=137,y=237 i=38,x=138,y=238 i=39,x=139,y=239 i=40,x=140,y=240 expectedStdout [2474]: DSL EXPRESSION: if (NR == 19) { $x = 20; $y = 21 } elif (NR == 22) { $x = 23; $y = 24 } elif (NR == 25) { $x = 26; $y = 37 } elif (NR == 28) { $x = 29; $y = 30 } AST: * statement block * if-chain * if-item "if" * operator "==" * context variable "NR" * int literal "19" * statement block * assignment "=" * direct field value "x" * int literal "20" * assignment "=" * direct field value "y" * int literal "21" * if-item "elif" * operator "==" * context variable "NR" * int literal "22" * statement block * assignment "=" * direct field value "x" * int literal "23" * assignment "=" * direct field value "y" * int literal "24" * if-item "elif" * operator "==" * context variable "NR" * int literal "25" * statement block * assignment "=" * direct field value "x" * int literal "26" * assignment "=" * direct field value "y" * int literal "37" * if-item "elif" * operator "==" * context variable "NR" * int literal "28" * statement block * assignment "=" * direct field value "x" * int literal "29" * assignment "=" * direct field value "y" * int literal "30" i=1,x=101,y=201 i=2,x=102,y=202 i=3,x=103,y=203 i=4,x=104,y=204 i=5,x=105,y=205 i=6,x=106,y=206 i=7,x=107,y=207 i=8,x=108,y=208 i=9,x=109,y=209 i=10,x=110,y=210 i=11,x=111,y=211 i=12,x=112,y=212 i=13,x=113,y=213 i=14,x=114,y=214 i=15,x=115,y=215 i=16,x=116,y=216 i=17,x=117,y=217 i=18,x=118,y=218 i=19,x=20,y=21 i=20,x=120,y=220 i=21,x=121,y=221 i=22,x=23,y=24 i=23,x=123,y=223 i=24,x=124,y=224 i=25,x=26,y=37 i=26,x=126,y=226 i=27,x=127,y=227 i=28,x=29,y=30 i=29,x=129,y=229 i=30,x=130,y=230 i=31,x=131,y=231 i=32,x=132,y=232 i=33,x=133,y=233 i=34,x=134,y=234 i=35,x=135,y=235 i=36,x=136,y=236 i=37,x=137,y=237 i=38,x=138,y=238 i=39,x=139,y=239 i=40,x=140,y=240 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-if-chaining/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-if-chaining/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0001/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-indexing/0001/mlr Miller DSL script: $z = {"a":$a,"b":$b,"i":$i,"x":$x,"y":$y}["b"] actualStdout [178]: a b i x y z pan pan 1 0.34679014 0.72680286 pan eks pan 2 0.75867996 0.52215111 pan wye wye 3 0.20460331 0.33831853 wye eks wye 4 0.38139939 0.13418874 wye expectedStdout [178]: a b i x y z pan pan 1 0.34679014 0.72680286 pan eks pan 2 0.75867996 0.52215111 pan wye wye 3 0.20460331 0.33831853 wye eks wye 4 0.38139939 0.13418874 wye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0002/cmd Command: mlr --from test/input/s.dkvp --from test/input/t.dkvp --ojson put -f test/cases/dsl-indexing/0002/mlr Miller DSL script: $z=[ 1,2,[NR,[FILENAME,5],$x*$y] ] actualStdout [1249]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "z": [ 1, 2, [ 1, ["test/input/s.dkvp", 5], 0.25204807 ] ] }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "z": [ 1, 2, [ 2, ["test/input/s.dkvp", 5], 0.39614558 ] ] }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "z": [ 1, 2, [ 3, ["test/input/s.dkvp", 5], 0.06922109 ] ] }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "z": [ 1, 2, [ 4, ["test/input/s.dkvp", 5], 0.05117951 ] ] }, { "a": "wye", "b": "pan", "i": 5, "x": 0.57328892, "y": 0.86362447, "z": [ 1, 2, [ 5, ["test/input/t.dkvp", 5], 0.49510634 ] ] }, { "a": "zee", "b": "pan", "i": 6, "x": 0.52712616, "y": 0.49322129, "z": [ 1, 2, [ 6, ["test/input/t.dkvp", 5], 0.25998984 ] ] }, { "a": "eks", "b": "zee", "i": 7, "x": 0.61178406, "y": 0.18788492, "z": [ 1, 2, [ 7, ["test/input/t.dkvp", 5], 0.11494500 ] ] } ] expectedStdout [1249]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "z": [ 1, 2, [ 1, ["test/input/s.dkvp", 5], 0.25204807 ] ] }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "z": [ 1, 2, [ 2, ["test/input/s.dkvp", 5], 0.39614558 ] ] }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "z": [ 1, 2, [ 3, ["test/input/s.dkvp", 5], 0.06922109 ] ] }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "z": [ 1, 2, [ 4, ["test/input/s.dkvp", 5], 0.05117951 ] ] }, { "a": "wye", "b": "pan", "i": 5, "x": 0.57328892, "y": 0.86362447, "z": [ 1, 2, [ 5, ["test/input/t.dkvp", 5], 0.49510634 ] ] }, { "a": "zee", "b": "pan", "i": 6, "x": 0.52712616, "y": 0.49322129, "z": [ 1, 2, [ 6, ["test/input/t.dkvp", 5], 0.25998984 ] ] }, { "a": "eks", "b": "zee", "i": 7, "x": 0.61178406, "y": 0.18788492, "z": [ 1, 2, [ 7, ["test/input/t.dkvp", 5], 0.11494500 ] ] } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0003/cmd Command: mlr --from test/input/s.dkvp --idkvp --ojson put -f test/cases/dsl-indexing/0003/mlr Miller DSL script: $z = $*["a"] actualStdout [379]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "z": "pan" }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "z": "eks" }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "z": "wye" }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "z": "eks" } ] expectedStdout [379]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "z": "pan" }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "z": "eks" }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "z": "wye" }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "z": "eks" } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0004/cmd Command: mlr --from test/input/s.dkvp --idkvp --ojson put -f test/cases/dsl-indexing/0004/mlr Miller DSL script: $z = $* actualStdout [719]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "z": { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286 } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "z": { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111 } }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "z": { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853 } }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "z": { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874 } } ] expectedStdout [719]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "z": { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286 } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "z": { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111 } }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "z": { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853 } }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "z": { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874 } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0005/cmd Command: mlr --from test/input/s.dkvp --idkvp --ojson put -f test/cases/dsl-indexing/0005/mlr Miller DSL script: $* = {"s": 7, "t": 8} actualStdout [99]: [ { "s": 7, "t": 8 }, { "s": 7, "t": 8 }, { "s": 7, "t": 8 }, { "s": 7, "t": 8 } ] expectedStdout [99]: [ { "s": 7, "t": 8 }, { "s": 7, "t": 8 }, { "s": 7, "t": 8 }, { "s": 7, "t": 8 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0006/cmd Command: mlr --from test/input/s.dkvp --idkvp --ojson put -f test/cases/dsl-indexing/0006/mlr Miller DSL script: $*["st"] = 78 actualStdout [371]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "st": 78 }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "st": 78 }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "st": 78 }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "st": 78 } ] expectedStdout [371]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "st": 78 }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "st": 78 }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "st": 78 }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "st": 78 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0007/cmd Command: mlr --from test/input/s.dkvp --idkvp --ojson put -f test/cases/dsl-indexing/0007/mlr Miller DSL script: $*["a"] = 78 actualStdout [311]: [ { "a": 78, "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286 }, { "a": 78, "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111 }, { "a": 78, "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853 }, { "a": 78, "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874 } ] expectedStdout [311]: [ { "a": 78, "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286 }, { "a": 78, "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111 }, { "a": 78, "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853 }, { "a": 78, "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0008/cmd Command: mlr --from test/input/s.dkvp --idkvp --ojson put -f test/cases/dsl-indexing/0008/mlr Miller DSL script: $*["a"] = {} actualStdout [311]: [ { "a": {}, "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286 }, { "a": {}, "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111 }, { "a": {}, "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853 }, { "a": {}, "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874 } ] expectedStdout [311]: [ { "a": {}, "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286 }, { "a": {}, "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111 }, { "a": {}, "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853 }, { "a": {}, "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0009/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -v -f test/cases/dsl-indexing/0009/mlr Miller DSL script: $new = $["a"] actualStdout [362]: DSL EXPRESSION: $new = $["a"] AST: * statement block * assignment "=" * direct field value "new" * indirect field value "$[]" * string literal "a" a b i x y new pan pan 1 0.34679014 0.72680286 pan eks pan 2 0.75867996 0.52215111 eks wye wye 3 0.20460331 0.33831853 wye eks wye 4 0.38139939 0.13418874 eks expectedStdout [362]: DSL EXPRESSION: $new = $["a"] AST: * statement block * assignment "=" * direct field value "new" * indirect field value "$[]" * string literal "a" a b i x y new pan pan 1 0.34679014 0.72680286 pan eks pan 2 0.75867996 0.52215111 eks wye wye 3 0.20460331 0.33831853 wye eks wye 4 0.38139939 0.13418874 eks actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0010/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -v -f test/cases/dsl-indexing/0010/mlr Miller DSL script: $["new"] = $a actualStdout [362]: DSL EXPRESSION: $["new"] = $a AST: * statement block * assignment "=" * indirect field value "$[]" * string literal "new" * direct field value "a" a b i x y new pan pan 1 0.34679014 0.72680286 pan eks pan 2 0.75867996 0.52215111 eks wye wye 3 0.20460331 0.33831853 wye eks wye 4 0.38139939 0.13418874 eks expectedStdout [362]: DSL EXPRESSION: $["new"] = $a AST: * statement block * assignment "=" * indirect field value "$[]" * string literal "new" * direct field value "a" a b i x y new pan pan 1 0.34679014 0.72680286 pan eks pan 2 0.75867996 0.52215111 eks wye wye 3 0.20460331 0.33831853 wye eks wye 4 0.38139939 0.13418874 eks actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0011/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -v -f test/cases/dsl-indexing/0011/mlr Miller DSL script: ${new} = $a . $b actualStdout [408]: DSL EXPRESSION: ${new} = $a . $b AST: * statement block * assignment "=" * direct field value "new" * dot operator "." * direct field value "a" * direct field value "b" a b i x y new pan pan 1 0.34679014 0.72680286 panpan eks pan 2 0.75867996 0.52215111 ekspan wye wye 3 0.20460331 0.33831853 wyewye eks wye 4 0.38139939 0.13418874 ekswye expectedStdout [408]: DSL EXPRESSION: ${new} = $a . $b AST: * statement block * assignment "=" * direct field value "new" * dot operator "." * direct field value "a" * direct field value "b" a b i x y new pan pan 1 0.34679014 0.72680286 panpan eks pan 2 0.75867996 0.52215111 ekspan wye wye 3 0.20460331 0.33831853 wyewye eks wye 4 0.38139939 0.13418874 ekswye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0012/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -v -f test/cases/dsl-indexing/0012/mlr Miller DSL script: $new = ${a} . ${b} actualStdout [410]: DSL EXPRESSION: $new = ${a} . ${b} AST: * statement block * assignment "=" * direct field value "new" * dot operator "." * direct field value "a" * direct field value "b" a b i x y new pan pan 1 0.34679014 0.72680286 panpan eks pan 2 0.75867996 0.52215111 ekspan wye wye 3 0.20460331 0.33831853 wyewye eks wye 4 0.38139939 0.13418874 ekswye expectedStdout [410]: DSL EXPRESSION: $new = ${a} . ${b} AST: * statement block * assignment "=" * direct field value "new" * dot operator "." * direct field value "a" * direct field value "b" a b i x y new pan pan 1 0.34679014 0.72680286 panpan eks pan 2 0.75867996 0.52215111 ekspan wye wye 3 0.20460331 0.33831853 wyewye eks wye 4 0.38139939 0.13418874 ekswye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0013/cmd Command: mlr --from test/input/s.dkvp --idkvp --opprint put -f test/cases/dsl-indexing/0013/mlr Miller DSL script: @tmp = $a . $b; $ab = @tmp actualStdout [191]: a b i x y ab pan pan 1 0.34679014 0.72680286 panpan eks pan 2 0.75867996 0.52215111 ekspan wye wye 3 0.20460331 0.33831853 wyewye eks wye 4 0.38139939 0.13418874 ekswye expectedStdout [191]: a b i x y ab pan pan 1 0.34679014 0.72680286 panpan eks pan 2 0.75867996 0.52215111 ekspan wye wye 3 0.20460331 0.33831853 wyewye eks wye 4 0.38139939 0.13418874 ekswye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0014/cmd Command: mlr --ojson --from test/input/s.dkvp put -f test/cases/dsl-indexing/0014/mlr Miller DSL script: @curi=$i; $curi = @curi; $lagi=@lagi; @lagi=$i actualStdout [414]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "curi": 1 }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "curi": 2, "lagi": 1 }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "curi": 3, "lagi": 2 }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "curi": 4, "lagi": 3 } ] expectedStdout [414]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "curi": 1 }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "curi": 2, "lagi": 1 }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "curi": 3, "lagi": 2 }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "curi": 4, "lagi": 3 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0015/cmd Command: mlr --from test/input/s.dkvp --ojson put -f test/cases/dsl-indexing/0015/mlr Miller DSL script: $z["abc"]["def"]["ghi"]=NR actualStdout [615]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "z": { "abc": { "def": { "ghi": 1 } } } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "z": { "abc": { "def": { "ghi": 2 } } } }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "z": { "abc": { "def": { "ghi": 3 } } } }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "z": { "abc": { "def": { "ghi": 4 } } } } ] expectedStdout [615]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "z": { "abc": { "def": { "ghi": 1 } } } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "z": { "abc": { "def": { "ghi": 2 } } } }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "z": { "abc": { "def": { "ghi": 3 } } } }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "z": { "abc": { "def": { "ghi": 4 } } } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0015/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0015/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0016/cmd Command: mlr --json put -f test/cases/dsl-indexing/0016/mlr test/input/nested.json Miller DSL script: $a=$a[2]["b"][1] actualStdout [35]: [ { "a": (error), "b": "c" } ] expectedStdout [35]: [ { "a": (error), "b": "c" } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0016/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0016/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0017/cmd Command: mlr --from test/input/s.dkvp --ojson put -f test/cases/dsl-indexing/0017/mlr Miller DSL script: $*["foo"] = NR actualStdout [371]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "foo": 1 }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "foo": 2 }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "foo": 3 }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "foo": 4 } ] expectedStdout [371]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "foo": 1 }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "foo": 2 }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "foo": 3 }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "foo": 4 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0017/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0017/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0018/cmd Command: mlr --from test/input/s.dkvp --ojson put -f test/cases/dsl-indexing/0018/mlr Miller DSL script: $*.foo = NR actualStdout [371]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "foo": 1 }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "foo": 2 }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "foo": 3 }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "foo": 4 } ] expectedStdout [371]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "foo": 1 }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "foo": 2 }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "foo": 3 }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "foo": 4 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0018/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0018/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0019/cmd Command: mlr --from test/input/s.dkvp --ojson put -f test/cases/dsl-indexing/0019/mlr Miller DSL script: $*["foo"]["bar"] = NR actualStdout [439]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "foo": { "bar": 1 } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "foo": { "bar": 2 } }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "foo": { "bar": 3 } }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "foo": { "bar": 4 } } ] expectedStdout [439]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "foo": { "bar": 1 } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "foo": { "bar": 2 } }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "foo": { "bar": 3 } }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "foo": { "bar": 4 } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0019/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0019/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0020/cmd Command: mlr --from test/input/s.dkvp --ojson put -f test/cases/dsl-indexing/0020/mlr Miller DSL script: $*.foo.bar = NR actualStdout [439]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "foo": { "bar": 1 } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "foo": { "bar": 2 } }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "foo": { "bar": 3 } }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "foo": { "bar": 4 } } ] expectedStdout [439]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "foo": { "bar": 1 } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "foo": { "bar": 2 } }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "foo": { "bar": 3 } }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "foo": { "bar": 4 } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0020/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0020/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indexing/0021/cmd Command: mlr --from test/input/s.dkvp --ojson put -f test/cases/dsl-indexing/0021/mlr Miller DSL script: $*["foo"].bar = NR actualStdout [439]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "foo": { "bar": 1 } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "foo": { "bar": 2 } }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "foo": { "bar": 3 } }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "foo": { "bar": 4 } } ] expectedStdout [439]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "foo": { "bar": 1 } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "foo": { "bar": 2 } }, { "a": "wye", "b": "wye", "i": 3, "x": 0.20460331, "y": 0.33831853, "foo": { "bar": 3 } }, { "a": "eks", "b": "wye", "i": 4, "x": 0.38139939, "y": 0.13418874, "foo": { "bar": 4 } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indexing/0021/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indexing/0021/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indirect-oosvar-assignments/0001/cmd Command: mlr --opprint put -f test/cases/dsl-indirect-oosvar-assignments/0001/mlr test/input/abixy Miller DSL script: @s = NR; $t = @s; $u=@["s"]; $v = $t - $u actualStdout [451]: a b i x y t u v pan pan 1 0.34679014 0.72680286 1 1 0 eks pan 2 0.75867996 0.52215111 2 2 0 wye wye 3 0.20460331 0.33831853 3 3 0 eks wye 4 0.38139939 0.13418874 4 4 0 wye pan 5 0.57328892 0.86362447 5 5 0 zee pan 6 0.52712616 0.49322129 6 6 0 eks zee 7 0.61178406 0.18788492 7 7 0 zee wye 8 0.59855401 0.97618139 8 8 0 hat wye 9 0.03144188 0.74955076 9 9 0 pan wye 10 0.50262601 0.95261836 10 10 0 expectedStdout [451]: a b i x y t u v pan pan 1 0.34679014 0.72680286 1 1 0 eks pan 2 0.75867996 0.52215111 2 2 0 wye wye 3 0.20460331 0.33831853 3 3 0 eks wye 4 0.38139939 0.13418874 4 4 0 wye pan 5 0.57328892 0.86362447 5 5 0 zee pan 6 0.52712616 0.49322129 6 6 0 eks zee 7 0.61178406 0.18788492 7 7 0 zee wye 8 0.59855401 0.97618139 8 8 0 hat wye 9 0.03144188 0.74955076 9 9 0 pan wye 10 0.50262601 0.95261836 10 10 0 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indirect-oosvar-assignments/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indirect-oosvar-assignments/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indirect-oosvar-assignments/0002/cmd Command: mlr put -f test/cases/dsl-indirect-oosvar-assignments/0002/mlr test/input/abixy Miller DSL script: @t["u"] = NR; $tu = @["t"]["u"] actualStdout [472]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,tu=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,tu=2 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,tu=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,tu=4 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,tu=5 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,tu=6 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,tu=7 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,tu=8 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,tu=9 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,tu=10 expectedStdout [472]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,tu=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,tu=2 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,tu=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,tu=4 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,tu=5 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,tu=6 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,tu=7 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,tu=8 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,tu=9 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,tu=10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indirect-oosvar-assignments/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indirect-oosvar-assignments/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indirect-oosvar-assignments/0003/cmd Command: mlr put -f test/cases/dsl-indirect-oosvar-assignments/0003/mlr test/input/abixy Miller DSL script: @t["u"] = NR; $tu = @["t"]["u"] actualStdout [472]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,tu=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,tu=2 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,tu=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,tu=4 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,tu=5 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,tu=6 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,tu=7 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,tu=8 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,tu=9 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,tu=10 expectedStdout [472]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,tu=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,tu=2 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,tu=3 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,tu=4 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,tu=5 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,tu=6 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,tu=7 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,tu=8 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,tu=9 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,tu=10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indirect-oosvar-assignments/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indirect-oosvar-assignments/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indirect-oosvar-assignments/0004/cmd Command: mlr put -f test/cases/dsl-indirect-oosvar-assignments/0004/mlr test/input/abixy Miller DSL script: @["s"] = $x; emit @s actualStdout [551]: s=0.34679014 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 s=0.75867996 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 s=0.20460331 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 s=0.38139939 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 s=0.57328892 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 s=0.52712616 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 s=0.61178406 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 s=0.59855401 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 s=0.03144188 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 s=0.50262601 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [551]: s=0.34679014 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 s=0.75867996 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 s=0.20460331 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 s=0.38139939 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 s=0.57328892 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 s=0.52712616 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 s=0.61178406 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 s=0.59855401 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 s=0.03144188 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 s=0.50262601 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indirect-oosvar-assignments/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indirect-oosvar-assignments/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indirect-oosvar-assignments/0005/cmd Command: mlr put -f test/cases/dsl-indirect-oosvar-assignments/0005/mlr test/input/abixy Miller DSL script: @["t"]["u"] = $y; emit @t actualStdout [551]: u=0.72680286 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 u=0.52215111 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 u=0.33831853 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 u=0.13418874 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 u=0.86362447 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 u=0.49322129 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 u=0.18788492 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 u=0.97618139 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 u=0.74955076 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 u=0.95261836 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 expectedStdout [551]: u=0.72680286 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286 u=0.52215111 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111 u=0.33831853 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853 u=0.13418874 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874 u=0.86362447 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447 u=0.49322129 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129 u=0.18788492 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492 u=0.97618139 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139 u=0.74955076 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076 u=0.95261836 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indirect-oosvar-assignments/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indirect-oosvar-assignments/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indirect-oosvar-assignments/0006/cmd Command: mlr put -f test/cases/dsl-indirect-oosvar-assignments/0006/mlr test/input/abixy Miller DSL script: @t["u"] = NR; $tu = @["t"]["u"]; emitp all actualStdout [533]: t.u=1 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,tu=1 t.u=2 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,tu=2 t.u=3 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,tu=3 t.u=4 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,tu=4 t.u=5 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,tu=5 t.u=6 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,tu=6 t.u=7 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,tu=7 t.u=8 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,tu=8 t.u=9 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,tu=9 t.u=10 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,tu=10 expectedStdout [533]: t.u=1 a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,tu=1 t.u=2 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,tu=2 t.u=3 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,tu=3 t.u=4 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,tu=4 t.u=5 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,tu=5 t.u=6 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,tu=6 t.u=7 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,tu=7 t.u=8 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,tu=8 t.u=9 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,tu=9 t.u=10 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,tu=10 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indirect-oosvar-assignments/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indirect-oosvar-assignments/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indirect-srec-assignments/0001/cmd Command: mlr put -v -f test/cases/dsl-indirect-srec-assignments/0001/mlr test/input/abixy Miller DSL script: $["a"] = $["b"]; $["x"] = 10 * $["y"] actualStdout [885]: DSL EXPRESSION: $["a"] = $["b"]; $["x"] = 10 * $["y"] AST: * statement block * assignment "=" * indirect field value "$[]" * string literal "a" * indirect field value "$[]" * string literal "b" * assignment "=" * indirect field value "$[]" * string literal "x" * operator "*" * int literal "10" * indirect field value "$[]" * string literal "y" a=pan,b=pan,i=1,x=7.26802863,y=0.72680286 a=pan,b=pan,i=2,x=5.22151108,y=0.52215111 a=wye,b=wye,i=3,x=3.38318526,y=0.33831853 a=wye,b=wye,i=4,x=1.34188743,y=0.13418874 a=pan,b=pan,i=5,x=8.63624470,y=0.86362447 a=pan,b=pan,i=6,x=4.93221287,y=0.49322129 a=zee,b=zee,i=7,x=1.87884919,y=0.18788492 a=wye,b=wye,i=8,x=9.76181386,y=0.97618139 a=wye,b=wye,i=9,x=7.49550760,y=0.74955076 a=wye,b=wye,i=10,x=9.52618360,y=0.95261836 expectedStdout [885]: DSL EXPRESSION: $["a"] = $["b"]; $["x"] = 10 * $["y"] AST: * statement block * assignment "=" * indirect field value "$[]" * string literal "a" * indirect field value "$[]" * string literal "b" * assignment "=" * indirect field value "$[]" * string literal "x" * operator "*" * int literal "10" * indirect field value "$[]" * string literal "y" a=pan,b=pan,i=1,x=7.26802863,y=0.72680286 a=pan,b=pan,i=2,x=5.22151108,y=0.52215111 a=wye,b=wye,i=3,x=3.38318526,y=0.33831853 a=wye,b=wye,i=4,x=1.34188743,y=0.13418874 a=pan,b=pan,i=5,x=8.63624470,y=0.86362447 a=pan,b=pan,i=6,x=4.93221287,y=0.49322129 a=zee,b=zee,i=7,x=1.87884919,y=0.18788492 a=wye,b=wye,i=8,x=9.76181386,y=0.97618139 a=wye,b=wye,i=9,x=7.49550760,y=0.74955076 a=wye,b=wye,i=10,x=9.52618360,y=0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indirect-srec-assignments/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indirect-srec-assignments/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-indirect-srec-assignments/0002/cmd Command: mlr --from test/input/abixy put -f test/cases/dsl-indirect-srec-assignments/0002/mlr Miller DSL script: while (NF < 256) { $["k".string(NF+1)] = "v".string(NF) } actualStdout [23541]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 expectedStdout [23541]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 a=wye,b=wye,i=3,x=0.20460331,y=0.33831853,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 a=eks,b=wye,i=4,x=0.38139939,y=0.13418874,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 a=wye,b=pan,i=5,x=0.57328892,y=0.86362447,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 a=eks,b=zee,i=7,x=0.61178406,y=0.18788492,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 a=zee,b=wye,i=8,x=0.59855401,y=0.97618139,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 a=hat,b=wye,i=9,x=0.03144188,y=0.74955076,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,k6=v5,k7=v6,k8=v7,k9=v8,k10=v9,k11=v10,k12=v11,k13=v12,k14=v13,k15=v14,k16=v15,k17=v16,k18=v17,k19=v18,k20=v19,k21=v20,k22=v21,k23=v22,k24=v23,k25=v24,k26=v25,k27=v26,k28=v27,k29=v28,k30=v29,k31=v30,k32=v31,k33=v32,k34=v33,k35=v34,k36=v35,k37=v36,k38=v37,k39=v38,k40=v39,k41=v40,k42=v41,k43=v42,k44=v43,k45=v44,k46=v45,k47=v46,k48=v47,k49=v48,k50=v49,k51=v50,k52=v51,k53=v52,k54=v53,k55=v54,k56=v55,k57=v56,k58=v57,k59=v58,k60=v59,k61=v60,k62=v61,k63=v62,k64=v63,k65=v64,k66=v65,k67=v66,k68=v67,k69=v68,k70=v69,k71=v70,k72=v71,k73=v72,k74=v73,k75=v74,k76=v75,k77=v76,k78=v77,k79=v78,k80=v79,k81=v80,k82=v81,k83=v82,k84=v83,k85=v84,k86=v85,k87=v86,k88=v87,k89=v88,k90=v89,k91=v90,k92=v91,k93=v92,k94=v93,k95=v94,k96=v95,k97=v96,k98=v97,k99=v98,k100=v99,k101=v100,k102=v101,k103=v102,k104=v103,k105=v104,k106=v105,k107=v106,k108=v107,k109=v108,k110=v109,k111=v110,k112=v111,k113=v112,k114=v113,k115=v114,k116=v115,k117=v116,k118=v117,k119=v118,k120=v119,k121=v120,k122=v121,k123=v122,k124=v123,k125=v124,k126=v125,k127=v126,k128=v127,k129=v128,k130=v129,k131=v130,k132=v131,k133=v132,k134=v133,k135=v134,k136=v135,k137=v136,k138=v137,k139=v138,k140=v139,k141=v140,k142=v141,k143=v142,k144=v143,k145=v144,k146=v145,k147=v146,k148=v147,k149=v148,k150=v149,k151=v150,k152=v151,k153=v152,k154=v153,k155=v154,k156=v155,k157=v156,k158=v157,k159=v158,k160=v159,k161=v160,k162=v161,k163=v162,k164=v163,k165=v164,k166=v165,k167=v166,k168=v167,k169=v168,k170=v169,k171=v170,k172=v171,k173=v172,k174=v173,k175=v174,k176=v175,k177=v176,k178=v177,k179=v178,k180=v179,k181=v180,k182=v181,k183=v182,k184=v183,k185=v184,k186=v185,k187=v186,k188=v187,k189=v188,k190=v189,k191=v190,k192=v191,k193=v192,k194=v193,k195=v194,k196=v195,k197=v196,k198=v197,k199=v198,k200=v199,k201=v200,k202=v201,k203=v202,k204=v203,k205=v204,k206=v205,k207=v206,k208=v207,k209=v208,k210=v209,k211=v210,k212=v211,k213=v212,k214=v213,k215=v214,k216=v215,k217=v216,k218=v217,k219=v218,k220=v219,k221=v220,k222=v221,k223=v222,k224=v223,k225=v224,k226=v225,k227=v226,k228=v227,k229=v228,k230=v229,k231=v230,k232=v231,k233=v232,k234=v233,k235=v234,k236=v235,k237=v236,k238=v237,k239=v238,k240=v239,k241=v240,k242=v241,k243=v242,k244=v243,k245=v244,k246=v245,k247=v246,k248=v247,k249=v248,k250=v249,k251=v250,k252=v251,k253=v252,k254=v253,k255=v254,k256=v255 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-indirect-srec-assignments/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-indirect-srec-assignments/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0001/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0001/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_absent($x) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0002/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0002/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_absent($y) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0003/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0003/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_absent($z) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0004/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0004/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_absent($nosuch) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0005/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0005/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_absent(@nosuch) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0006/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0006/mlr test/input/nullvals.dkvp Miller DSL script: @somesuch=1;$f=is_absent(@somesuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0007/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0007/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_bool($x>1) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0008/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0008/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_bool($y>1) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0009/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0009/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_bool($z>1) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0010/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0010/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_bool($nosuch>1) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0011/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0011/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_bool(@nosuch>1) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0012/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0012/mlr test/input/nullvals.dkvp Miller DSL script: @somesuch=1;$f=is_bool(@somesuch>1) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0013/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0013/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_boolean($x>1) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0014/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0014/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_boolean($y>1) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0015/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0015/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_boolean($z>1) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0015/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0015/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0016/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0016/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_boolean($nosuch>1) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0016/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0016/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0017/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0017/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_boolean(@nosuch>1) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0017/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0017/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0018/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0018/mlr test/input/nullvals.dkvp Miller DSL script: @somesuch=1;$f=is_boolean(@somesuch>1) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0018/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0018/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0019/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0019/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_empty($x) actualStdout [78]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - true v - - - true expectedStdout [78]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0019/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0019/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0020/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0020/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_empty($y) actualStdout [78]: a x y z f r 1 2 - false s 3 4 - false t 5 - - true u - 6 - false v - - - true expectedStdout [78]: a x y z f r 1 2 - false s 3 4 - false t 5 - - true u - 6 - false v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0020/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0020/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0021/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0021/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_empty($z) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0021/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0021/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0022/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0022/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_empty($nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0022/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0022/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0023/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0023/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_empty(@nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0023/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0023/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0024/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0024/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_empty($*) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0024/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0024/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0025/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0025/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_empty({1:2}) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0025/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0025/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0026/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0026/mlr test/input/nullvals.dkvp Miller DSL script: @somesuch=1;$f=is_empty(@somesuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0026/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0026/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0027/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0027/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_empty_map($x) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0027/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0027/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0028/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0028/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_empty_map($y) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0028/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0028/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0029/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0029/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_empty_map($z) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0029/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0029/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0030/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0030/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_empty_map($nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0030/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0030/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0031/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0031/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_empty_map(@nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0031/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0031/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0032/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0032/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_empty_map($*) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0032/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0032/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0033/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0033/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_empty_map({1:2}) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0033/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0033/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0034/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0034/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_empty_map({}) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0034/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0034/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0035/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0035/mlr test/input/nullvals.dkvp Miller DSL script: @somesuch=1;$f=is_empty_map(@somesuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0035/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0035/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0036/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0036/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_float($x) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0036/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0036/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0037/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0037/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_float($y) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0037/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0037/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0038/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0038/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_float($z) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0038/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0038/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0039/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0039/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_float($nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0039/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0039/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0040/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0040/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_float(@nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0040/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0040/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0041/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0041/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_float($*) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0041/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0041/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0042/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0042/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_float({1:2}) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0042/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0042/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0043/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0043/mlr test/input/nullvals.dkvp Miller DSL script: @somesuch=1;$f=is_float(@somesuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0043/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0043/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0044/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0044/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_int($x) actualStdout [77]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - false v - - - false expectedStdout [77]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0044/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0044/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0045/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0045/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_int($y) actualStdout [77]: a x y z f r 1 2 - true s 3 4 - true t 5 - - false u - 6 - true v - - - false expectedStdout [77]: a x y z f r 1 2 - true s 3 4 - true t 5 - - false u - 6 - true v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0045/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0045/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0046/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0046/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_int($z) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0046/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0046/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0047/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0047/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_int($nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0047/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0047/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0048/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0048/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_int(@nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0048/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0048/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0049/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0049/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_int($*) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0049/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0049/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0050/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0050/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_int({1:2}) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0050/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0050/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0051/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0051/mlr test/input/nullvals.dkvp Miller DSL script: @somesuch=1;$f=is_int(@somesuch) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0051/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0051/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0052/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0052/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_map($x) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0052/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0052/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0053/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0053/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_map($y) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0053/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0053/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0054/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0054/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_map($z) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0054/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0054/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0055/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0055/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_map($nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0055/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0055/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0056/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0056/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_map(@nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0056/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0056/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0057/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0057/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_map($*) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0057/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0057/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0058/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0058/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_map({1:2}) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0058/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0058/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0059/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0059/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_map({}) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0059/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0059/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0060/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0060/mlr test/input/nullvals.dkvp Miller DSL script: @somesuch=1;$f=is_map(@somesuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0060/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0060/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0061/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0061/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_nonempty_map($x) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0061/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0061/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0062/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0062/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_nonempty_map($y) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0062/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0062/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0063/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0063/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_nonempty_map($z) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0063/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0063/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0064/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0064/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_nonempty_map($nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0064/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0064/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0065/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0065/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_nonempty_map(@nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0065/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0065/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0066/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0066/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_nonempty_map($*) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0066/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0066/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0067/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0067/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_nonempty_map({1:2}) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0067/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0067/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0068/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0068/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_nonempty_map({}) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0068/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0068/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0069/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0069/mlr test/input/nullvals.dkvp Miller DSL script: @somesuch=1;$f=is_nonempty_map(@somesuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0069/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0069/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0070/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0070/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_empty($x) actualStdout [77]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - false v - - - false expectedStdout [77]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0070/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0070/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0071/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0071/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_empty($y) actualStdout [77]: a x y z f r 1 2 - true s 3 4 - true t 5 - - false u - 6 - true v - - - false expectedStdout [77]: a x y z f r 1 2 - true s 3 4 - true t 5 - - false u - 6 - true v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0071/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0071/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0072/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0072/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_empty($z) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0072/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0072/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0073/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0073/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_empty($nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0073/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0073/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0074/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0074/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_empty(@nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0074/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0074/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0075/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0075/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_empty($*) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0075/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0075/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0076/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0076/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_empty({1:2}) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0076/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0076/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0077/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0077/mlr test/input/nullvals.dkvp Miller DSL script: @somesuch=1;$f=is_not_empty(@somesuch) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0077/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0077/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0078/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0078/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_map($x) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0078/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0078/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0079/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0079/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_map($y) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0079/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0079/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0080/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0080/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_map($z) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0080/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0080/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0081/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0081/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_map($nosuch) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0081/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0081/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0082/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0082/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_map(@nosuch) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0082/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0082/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0083/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0083/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_map($*) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0083/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0083/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0084/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0084/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_map({1:2}) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0084/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0084/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0085/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0085/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_map({}) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0085/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0085/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0086/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0086/mlr test/input/nullvals.dkvp Miller DSL script: @somesuch=1;$f=is_not_map(@somesuch) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0086/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0086/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0087/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0087/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_null($x) actualStdout [77]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - false v - - - false expectedStdout [77]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0087/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0087/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0088/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0088/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_null($y) actualStdout [77]: a x y z f r 1 2 - true s 3 4 - true t 5 - - false u - 6 - true v - - - false expectedStdout [77]: a x y z f r 1 2 - true s 3 4 - true t 5 - - false u - 6 - true v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0088/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0088/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0089/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0089/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_null($z) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0089/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0089/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0090/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0090/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_null($nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0090/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0090/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0091/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0091/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_not_null(@nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0091/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0091/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0092/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0092/mlr test/input/nullvals.dkvp Miller DSL script: @somesuch=1;$f=is_not_null(@somesuch) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0092/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0092/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0093/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0093/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_null($x) actualStdout [78]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - true v - - - true expectedStdout [78]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0093/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0093/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0094/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0094/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_null($y) actualStdout [78]: a x y z f r 1 2 - false s 3 4 - false t 5 - - true u - 6 - false v - - - true expectedStdout [78]: a x y z f r 1 2 - false s 3 4 - false t 5 - - true u - 6 - false v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0094/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0094/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0095/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0095/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_null($z) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0095/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0095/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0096/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0096/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_null($nosuch) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0096/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0096/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0097/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0097/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_null(@nosuch) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0097/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0097/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0098/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0098/mlr test/input/nullvals.dkvp Miller DSL script: @somesuch=1;$f=is_null(@somesuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0098/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0098/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0098j/cmd Command: mlr --json put -f test/cases/dsl-is-predicates/0098j/mlr test/input/nullvals.json Miller DSL script: $f=is_null($z) actualStdout [365]: [ { "a": "r", "x": 1, "y": 2, "z": "", "f": true }, { "a": "s", "x": 3, "y": 4, "z": "", "f": true }, { "a": "t", "x": 5, "y": "", "z": "", "f": true }, { "a": "u", "x": "", "y": 6, "f": true }, { "a": "v", "x": "", "y": "", "z": "null", "f": false }, { "a": "v", "x": "", "y": "", "z": null, "f": true } ] expectedStdout [365]: [ { "a": "r", "x": 1, "y": 2, "z": "", "f": true }, { "a": "s", "x": 3, "y": 4, "z": "", "f": true }, { "a": "t", "x": 5, "y": "", "z": "", "f": true }, { "a": "u", "x": "", "y": 6, "f": true }, { "a": "v", "x": "", "y": "", "z": "null", "f": false }, { "a": "v", "x": "", "y": "", "z": null, "f": true } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0098j/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0098j/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0099/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0099/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_numeric($x) actualStdout [77]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - false v - - - false expectedStdout [77]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0099/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0099/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0100/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0100/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_numeric($y) actualStdout [77]: a x y z f r 1 2 - true s 3 4 - true t 5 - - false u - 6 - true v - - - false expectedStdout [77]: a x y z f r 1 2 - true s 3 4 - true t 5 - - false u - 6 - true v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0100/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0100/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0101/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0101/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_numeric($z) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0101/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0101/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0102/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0102/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_numeric($nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0102/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0102/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0103/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0103/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_numeric(@nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0103/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0103/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0104/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0104/mlr test/input/nullvals.dkvp Miller DSL script: @somesuch=1;$f=is_numeric(@somesuch) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0104/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0104/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0105/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0105/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_present($x) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0105/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0105/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0106/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0106/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_present($y) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0106/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0106/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0107/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0107/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_present($z) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0107/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0107/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0108/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0108/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_present($nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0108/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0108/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0109/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0109/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_present(@nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0109/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0109/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0110/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0110/mlr test/input/nullvals.dkvp Miller DSL script: @somesuch=1;$f=is_present(@somesuch) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0110/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0110/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0111/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0111/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_string($x) actualStdout [78]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - true v - - - true expectedStdout [78]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0111/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0111/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0112/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0112/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_string($y) actualStdout [78]: a x y z f r 1 2 - false s 3 4 - false t 5 - - true u - 6 - false v - - - true expectedStdout [78]: a x y z f r 1 2 - false s 3 4 - false t 5 - - true u - 6 - false v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0112/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0112/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0113/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0113/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_string($z) actualStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true expectedStdout [75]: a x y z f r 1 2 - true s 3 4 - true t 5 - - true u - 6 - true v - - - true actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0113/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0113/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0114/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0114/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_string($nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0114/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0114/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0115/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0115/mlr test/input/nullvals.dkvp Miller DSL script: $f=is_string(@nosuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0115/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0115/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-is-predicates/0116/cmd Command: mlr --opprint put -f test/cases/dsl-is-predicates/0116/mlr test/input/nullvals.dkvp Miller DSL script: @somesuch=1;$f=is_string(@somesuch) actualStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false expectedStdout [80]: a x y z f r 1 2 - false s 3 4 - false t 5 - - false u - 6 - false v - - - false actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-is-predicates/0116/cmd ---------------------------------------------------------------- end ./test/cases/dsl-is-predicates/0116/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0001/cmd Command: mlr --json cat ./test/cases/dsl-json-collection-output/0001/input actualStdout [17]: [ { "x": 1 } ] expectedStdout [17]: [ { "x": 1 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0002/cmd Command: mlr --json cat ./test/cases/dsl-json-collection-output/0002/input actualStdout [25]: [ { "x": [1, 2, 3] } ] expectedStdout [25]: [ { "x": [1, 2, 3] } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0003/cmd Command: mlr --json cat ./test/cases/dsl-json-collection-output/0003/input actualStdout [49]: [ { "x": [ 1, [2, 3, 4], 5 ] } ] expectedStdout [49]: [ { "x": [ 1, [2, 3, 4], 5 ] } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0004/cmd Command: mlr --json cat ./test/cases/dsl-json-collection-output/0004/input actualStdout [81]: [ { "x": [ 1, [ 2, [3, 4, 5], 6 ], 7 ] } ] expectedStdout [81]: [ { "x": [ 1, [ 2, [3, 4, 5], 6 ], 7 ] } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0005/cmd Command: mlr --json cat ./test/cases/dsl-json-collection-output/0005/input actualStdout [18]: [ { "x": {} } ] expectedStdout [18]: [ { "x": {} } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0006/cmd Command: mlr --json cat ./test/cases/dsl-json-collection-output/0006/input actualStdout [56]: [ { "x": { "a": 1, "b": 2, "c": 3 } } ] expectedStdout [56]: [ { "x": { "a": 1, "b": 2, "c": 3 } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0007/cmd Command: mlr --json cat ./test/cases/dsl-json-collection-output/0007/input actualStdout [103]: [ { "x": { "a": 1, "b": { "c": 3, "d": 4, "e": 5 }, "f": 6 } } ] expectedStdout [103]: [ { "x": { "a": 1, "b": { "c": 3, "d": 4, "e": 5 }, "f": 6 } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0008/cmd Command: mlr --json cat ./test/cases/dsl-json-collection-output/0008/input actualStdout [28]: [ { "x": {}, "y": 1 } ] expectedStdout [28]: [ { "x": {}, "y": 1 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0009/cmd Command: mlr --json cat ./test/cases/dsl-json-collection-output/0009/input actualStdout [66]: [ { "x": { "a": 1, "b": 2, "c": 3 }, "y": 4 } ] expectedStdout [66]: [ { "x": { "a": 1, "b": 2, "c": 3 }, "y": 4 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0010/cmd Command: mlr --json cat ./test/cases/dsl-json-collection-output/0010/input actualStdout [113]: [ { "x": { "a": 1, "b": { "c": 3, "d": 4, "e": 5 }, "f": 6 }, "y": 7 } ] expectedStdout [113]: [ { "x": { "a": 1, "b": { "c": 3, "d": 4, "e": 5 }, "f": 6 }, "y": 7 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0011/cmd Command: mlr --json cat test/input/json-collection-0001.json actualStdout [17]: [ { "x": 1 } ] expectedStdout [17]: [ { "x": 1 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0012/cmd Command: mlr --json cat test/input/json-collection-0002.json actualStdout [25]: [ { "x": [1, 2, 3] } ] expectedStdout [25]: [ { "x": [1, 2, 3] } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0013/cmd Command: mlr --json cat test/input/json-collection-0003.json actualStdout [49]: [ { "x": [ 1, [2, 3, 4], 5 ] } ] expectedStdout [49]: [ { "x": [ 1, [2, 3, 4], 5 ] } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0014/cmd Command: mlr --json cat test/input/json-collection-0004.json actualStdout [81]: [ { "x": [ 1, [ 2, [3, 4, 5], 6 ], 7 ] } ] expectedStdout [81]: [ { "x": [ 1, [ 2, [3, 4, 5], 6 ], 7 ] } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0015/cmd Command: mlr --json cat test/input/json-collection-0005.json actualStdout [18]: [ { "x": {} } ] expectedStdout [18]: [ { "x": {} } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0015/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0015/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0016/cmd Command: mlr --json cat test/input/json-collection-0006.json actualStdout [56]: [ { "x": { "a": 1, "b": 2, "c": 3 } } ] expectedStdout [56]: [ { "x": { "a": 1, "b": 2, "c": 3 } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0016/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0016/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0017/cmd Command: mlr --json cat test/input/json-collection-0007.json actualStdout [103]: [ { "x": { "a": 1, "b": { "c": 3, "d": 4, "e": 5 }, "f": 6 } } ] expectedStdout [103]: [ { "x": { "a": 1, "b": { "c": 3, "d": 4, "e": 5 }, "f": 6 } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0017/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0017/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0018/cmd Command: mlr --json cat test/input/json-collection-0008.json actualStdout [28]: [ { "x": {}, "y": 1 } ] expectedStdout [28]: [ { "x": {}, "y": 1 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0018/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0018/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0019/cmd Command: mlr --json cat test/input/json-collection-0009.json actualStdout [66]: [ { "x": { "a": 1, "b": 2, "c": 3 }, "y": 4 } ] expectedStdout [66]: [ { "x": { "a": 1, "b": 2, "c": 3 }, "y": 4 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0019/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0019/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0020/cmd Command: mlr --json cat test/input/json-collection-0010.json actualStdout [113]: [ { "x": { "a": 1, "b": { "c": 3, "d": 4, "e": 5 }, "f": 6 }, "y": 7 } ] expectedStdout [113]: [ { "x": { "a": 1, "b": { "c": 3, "d": 4, "e": 5 }, "f": 6 }, "y": 7 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0020/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0020/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0021/cmd Command: mlr --json --jvstack cat test/input/json-collection-0011.json actualStdout [81]: [ { "x": [ 1, [ 2, [3, 4, 5], 6 ], 7 ] } ] expectedStdout [81]: [ { "x": [ 1, [ 2, [3, 4, 5], 6 ], 7 ] } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0021/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0021/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0022/cmd Command: mlr --json --no-jvstack cat test/input/json-collection-0012.json actualStdout [37]: [ {"x": [1, [2, [3, 4, 5], 6], 7]} ] expectedStdout [37]: [ {"x": [1, [2, [3, 4, 5], 6], 7]} ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0022/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0022/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0023/cmd Command: mlr --json --jvstack cat test/input/json-collection-0013.json actualStdout [113]: [ { "x": { "a": 1, "b": { "c": 3, "d": 4, "e": 5 }, "f": 6 }, "y": 7 } ] expectedStdout [113]: [ { "x": { "a": 1, "b": { "c": 3, "d": 4, "e": 5 }, "f": 6 }, "y": 7 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0023/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0023/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-collection-output/0024/cmd Command: mlr --json --no-jvstack cat test/input/json-collection-0014.json actualStdout [67]: [ {"x": {"a": 1, "b": {"c": 3, "d": 4, "e": 5}, "f": 6}, "y": 7} ] expectedStdout [67]: [ {"x": {"a": 1, "b": {"c": 3, "d": 4, "e": 5}, "f": 6}, "y": 7} ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-collection-output/0024/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-collection-output/0024/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-parse-json-stringify/0001/cmd Command: mlr --ijson --ojson --from test/input/flatten-input-2.json put '$req=json_stringify($req)' actualStdout [426]: [ { "hostname": "localhost", "pid": 12345, "req": "{\"id\": 6789, \"method\": \"GET\", \"path\": \"api/check\", \"host\": \"foo.bar\", \"headers\": {\"host\": \"bar.baz\", \"user-agent\": \"browser\"}}", "res": { "status_code": 200, "header": { "content-type": "text", "content-encoding": "plain" } }, "empty1": {}, "empty2": [], "wrapper": { "empty3": {}, "emtpy4": [] } } ] expectedStdout [426]: [ { "hostname": "localhost", "pid": 12345, "req": "{\"id\": 6789, \"method\": \"GET\", \"path\": \"api/check\", \"host\": \"foo.bar\", \"headers\": {\"host\": \"bar.baz\", \"user-agent\": \"browser\"}}", "res": { "status_code": 200, "header": { "content-type": "text", "content-encoding": "plain" } }, "empty1": {}, "empty2": [], "wrapper": { "empty3": {}, "emtpy4": [] } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-parse-json-stringify/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-parse-json-stringify/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-parse-json-stringify/0002/cmd Command: mlr --ijson --ojson --from test/input/flatten-input-2.json put '$req=json_stringify($req, false)' actualStdout [426]: [ { "hostname": "localhost", "pid": 12345, "req": "{\"id\": 6789, \"method\": \"GET\", \"path\": \"api/check\", \"host\": \"foo.bar\", \"headers\": {\"host\": \"bar.baz\", \"user-agent\": \"browser\"}}", "res": { "status_code": 200, "header": { "content-type": "text", "content-encoding": "plain" } }, "empty1": {}, "empty2": [], "wrapper": { "empty3": {}, "emtpy4": [] } } ] expectedStdout [426]: [ { "hostname": "localhost", "pid": 12345, "req": "{\"id\": 6789, \"method\": \"GET\", \"path\": \"api/check\", \"host\": \"foo.bar\", \"headers\": {\"host\": \"bar.baz\", \"user-agent\": \"browser\"}}", "res": { "status_code": 200, "header": { "content-type": "text", "content-encoding": "plain" } }, "empty1": {}, "empty2": [], "wrapper": { "empty3": {}, "emtpy4": [] } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-parse-json-stringify/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-parse-json-stringify/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-parse-json-stringify/0003/cmd Command: mlr --ijson --ojson --from test/input/flatten-input-2.json put '$req=json_stringify($req, true)' actualStdout [459]: [ { "hostname": "localhost", "pid": 12345, "req": "{\n \"id\": 6789,\n \"method\": \"GET\",\n \"path\": \"api/check\",\n \"host\": \"foo.bar\",\n \"headers\": {\n \"host\": \"bar.baz\",\n \"user-agent\": \"browser\"\n }\n}", "res": { "status_code": 200, "header": { "content-type": "text", "content-encoding": "plain" } }, "empty1": {}, "empty2": [], "wrapper": { "empty3": {}, "emtpy4": [] } } ] expectedStdout [459]: [ { "hostname": "localhost", "pid": 12345, "req": "{\n \"id\": 6789,\n \"method\": \"GET\",\n \"path\": \"api/check\",\n \"host\": \"foo.bar\",\n \"headers\": {\n \"host\": \"bar.baz\",\n \"user-agent\": \"browser\"\n }\n}", "res": { "status_code": 200, "header": { "content-type": "text", "content-encoding": "plain" } }, "empty1": {}, "empty2": [], "wrapper": { "empty3": {}, "emtpy4": [] } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-parse-json-stringify/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-parse-json-stringify/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-parse-json-stringify/0004/cmd Command: mlr --ijson --oxtab --from test/input/flatten-input-2.json put '$req=json_stringify($req)' then flatten actualStdout [450]: hostname localhost pid 12345 req {"id": 6789, "method": "GET", "path": "api/check", "host": "foo.bar", "headers": {"host": "bar.baz", "user-agent": "browser"}} res.status_code 200 res.header.content-type text res.header.content-encoding plain empty1 {} empty2 [] wrapper.empty3 {} wrapper.emtpy4 [] expectedStdout [450]: hostname localhost pid 12345 req {"id": 6789, "method": "GET", "path": "api/check", "host": "foo.bar", "headers": {"host": "bar.baz", "user-agent": "browser"}} res.status_code 200 res.header.content-type text res.header.content-encoding plain empty1 {} empty2 [] wrapper.empty3 {} wrapper.emtpy4 [] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-parse-json-stringify/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-parse-json-stringify/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-parse-json-stringify/0005/cmd Command: mlr --ijson --oxtab --from test/input/flatten-input-2.json put '$req=json_stringify($req)' then flatten actualStdout [450]: hostname localhost pid 12345 req {"id": 6789, "method": "GET", "path": "api/check", "host": "foo.bar", "headers": {"host": "bar.baz", "user-agent": "browser"}} res.status_code 200 res.header.content-type text res.header.content-encoding plain empty1 {} empty2 [] wrapper.empty3 {} wrapper.emtpy4 [] expectedStdout [450]: hostname localhost pid 12345 req {"id": 6789, "method": "GET", "path": "api/check", "host": "foo.bar", "headers": {"host": "bar.baz", "user-agent": "browser"}} res.status_code 200 res.header.content-type text res.header.content-encoding plain empty1 {} empty2 [] wrapper.empty3 {} wrapper.emtpy4 [] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-parse-json-stringify/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-parse-json-stringify/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-parse-json-stringify/0006/cmd Command: mlr --ixtab --ojson cat test/input/json-parse-json-stringify-0001.xtab actualStdout [426]: [ { "hostname": "localhost", "pid": 12345, "req": "{\"id\": 6789, \"method\": \"GET\", \"path\": \"api/check\", \"host\": \"foo.bar\", \"headers\": {\"host\": \"bar.baz\", \"user-agent\": \"browser\"}}", "res": { "status_code": 200, "header": { "content-type": "text", "content-encoding": "plain" } }, "empty1": {}, "empty2": [], "wrapper": { "empty3": {}, "emtpy4": [] } } ] expectedStdout [426]: [ { "hostname": "localhost", "pid": 12345, "req": "{\"id\": 6789, \"method\": \"GET\", \"path\": \"api/check\", \"host\": \"foo.bar\", \"headers\": {\"host\": \"bar.baz\", \"user-agent\": \"browser\"}}", "res": { "status_code": 200, "header": { "content-type": "text", "content-encoding": "plain" } }, "empty1": {}, "empty2": [], "wrapper": { "empty3": {}, "emtpy4": [] } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-parse-json-stringify/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-parse-json-stringify/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-json-parse-json-stringify/0007/cmd Command: mlr --ixtab --ojson put '$req = json_parse($req)' test/input/json-parse-json-stringify-0002.xtab actualStdout [442]: [ { "hostname": "localhost", "pid": 12345, "req": { "id": 6789, "method": "GET", "path": "api/check", "host": "foo.bar", "headers": { "host": "bar.baz", "user-agent": "browser" } }, "res": { "status_code": 200, "header": { "content-type": "text", "content-encoding": "plain" } }, "empty1": {}, "empty2": [], "wrapper": { "empty3": {}, "emtpy4": [] } } ] expectedStdout [442]: [ { "hostname": "localhost", "pid": 12345, "req": { "id": 6789, "method": "GET", "path": "api/check", "host": "foo.bar", "headers": { "host": "bar.baz", "user-agent": "browser" } }, "res": { "status_code": 200, "header": { "content-type": "text", "content-encoding": "plain" } }, "empty1": {}, "empty2": [], "wrapper": { "empty3": {}, "emtpy4": [] } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-json-parse-json-stringify/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-json-parse-json-stringify/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0001/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0001/mlr Miller DSL script: end { @a = 111; emitp @a } actualStdout [6]: a=111 expectedStdout [6]: a=111 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0002/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0002/mlr Miller DSL script: end { @a = 111; emitp (@a) } actualStdout [6]: a=111 expectedStdout [6]: a=111 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0003/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0003/mlr Miller DSL script: end { @a[111] = 222; emitp @a, "s" } actualStdout [12]: s=111,a=222 expectedStdout [12]: s=111,a=222 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0004/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0004/mlr Miller DSL script: end { @a[111] = 222; emitp (@a), "s" } actualStdout [12]: s=111,a=222 expectedStdout [12]: s=111,a=222 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0005/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0005/mlr Miller DSL script: end { @a[111] = 222; @a[333] = 444; emitp @a, "s" } actualStdout [24]: s=111,a=222 s=333,a=444 expectedStdout [24]: s=111,a=222 s=333,a=444 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0006/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0006/mlr Miller DSL script: end { @a[111] = 222; @a[333] = 444; emitp (@a), "s" } actualStdout [24]: s=111,a=222 s=333,a=444 expectedStdout [24]: s=111,a=222 s=333,a=444 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0007/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0007/mlr Miller DSL script: end { @a[111][222] = 333; emitp @a, "s" } actualStdout [16]: s=111,a.222=333 expectedStdout [16]: s=111,a.222=333 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0008/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0008/mlr Miller DSL script: end { @a[111][222] = 333; emitp (@a), "s" } actualStdout [16]: s=111,a.222=333 expectedStdout [16]: s=111,a.222=333 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0009/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0009/mlr Miller DSL script: end { @a[111][222] = 333; @a[444][555] = 666; emitp @a, "s" } actualStdout [32]: s=111,a.222=333 s=444,a.555=666 expectedStdout [32]: s=111,a.222=333 s=444,a.555=666 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0010/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0010/mlr Miller DSL script: end { @a[111][222] = 333; @a[444][555] = 666; emitp (@a), "s" } actualStdout [32]: s=111,a.222=333 s=444,a.555=666 expectedStdout [32]: s=111,a.222=333 s=444,a.555=666 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0011/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0011/mlr Miller DSL script: end { @a[111][222] = 333; emitp @a, "s", "t" } actualStdout [18]: s=111,t=222,a=333 expectedStdout [18]: s=111,t=222,a=333 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0012/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0012/mlr Miller DSL script: end { @a[111][222] = 333; emitp (@a), "s", "t" } actualStdout [18]: s=111,t=222,a=333 expectedStdout [18]: s=111,t=222,a=333 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0013/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0013/mlr Miller DSL script: end { @a[111][222] = 333; emitp @a[111], "t" } actualStdout [0]: expectedStdout [0]: actualStderr [142]: mlr: cannot parse DSL expression. Parse error on token "[" at line 3 column 11. Please check for missing semicolon. Expected one of: ; } , expectedStderr [142]: mlr: cannot parse DSL expression. Parse error on token "[" at line 3 column 11. Please check for missing semicolon. Expected one of: ; } , actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0014/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0014/mlr Miller DSL script: end { @a[111][222] = 333; emitp (@a[111]), "t" } actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 3 column 12. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 3 column 12. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0015/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0015/mlr Miller DSL script: end { @a = 111; emit @a } actualStdout [6]: a=111 expectedStdout [6]: a=111 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0015/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0015/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0016/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0016/mlr Miller DSL script: end { @a = 111; emit (@a) } actualStdout [6]: a=111 expectedStdout [6]: a=111 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0016/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0016/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0017/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0017/mlr Miller DSL script: end { @a[111] = 222; emit @a, "s" } actualStdout [12]: s=111,a=222 expectedStdout [12]: s=111,a=222 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0017/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0017/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0018/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0018/mlr Miller DSL script: end { @a[111] = 222; emit (@a), "s" } actualStdout [12]: s=111,a=222 expectedStdout [12]: s=111,a=222 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0018/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0018/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0019/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0019/mlr Miller DSL script: end { @a[111] = 222; @a[333] = 444; emit @a, "s" } actualStdout [24]: s=111,a=222 s=333,a=444 expectedStdout [24]: s=111,a=222 s=333,a=444 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0019/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0019/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0020/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0020/mlr Miller DSL script: end { @a[111] = 222; @a[333] = 444; emit (@a), "s" } actualStdout [24]: s=111,a=222 s=333,a=444 expectedStdout [24]: s=111,a=222 s=333,a=444 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0020/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0020/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0021/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0021/mlr Miller DSL script: end { @a[111][222] = 333; emit @a, "s" } actualStdout [14]: s=111,222=333 expectedStdout [14]: s=111,222=333 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0021/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0021/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0022/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0022/mlr Miller DSL script: end { @a[111][222] = 333; emit (@a), "s" } actualStdout [14]: s=111,222=333 expectedStdout [14]: s=111,222=333 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0022/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0022/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0023/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0023/mlr Miller DSL script: end { @a = 111; @b = 222; emitp (@a, @b) } actualStdout [12]: a=111,b=222 expectedStdout [12]: a=111,b=222 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0023/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0023/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0024/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0024/mlr Miller DSL script: end { @a[1] = 111; @b[1] = 222; emitp (@a[1], @b[1]) } actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 12. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 12. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0024/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0024/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0025/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0025/mlr Miller DSL script: end { @a[1][2][3] = 4; @b[1][2][3] = 8; emitp (@a, @b), "s", "t", "u" } actualStdout [20]: s=1,t=2,u=3,a=4,b=8 expectedStdout [20]: s=1,t=2,u=3,a=4,b=8 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0025/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0025/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0026/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0026/mlr Miller DSL script: end { @a[1][2][3] = 4; @b[5][2][3] = 8; emitp (@a[1], @b[5]), "t", "u" } actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 12. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 12. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0026/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0026/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0027/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0027/mlr Miller DSL script: end { @a[1][2][3] = 4; @b[5][6][3] = 8; emitp (@a[1][2], @b[5][6]), "u" } actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 12. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 12. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0027/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0027/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0028/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0028/mlr Miller DSL script: end { @a = 111; @b = 222; emit (@a, @b) } actualStdout [12]: a=111,b=222 expectedStdout [12]: a=111,b=222 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0028/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0028/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0029/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0029/mlr Miller DSL script: end { @a[1] = 111; @b[1] = 222; emit (@a[1], @b[1]) } actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 11. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 11. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0029/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0029/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0030/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0030/mlr Miller DSL script: end { @a[1][2][3] = 4; @b[1][2][3] = 8; emit (@a, @b), "s", "t", "u" } actualStdout [20]: s=1,t=2,u=3,a=4,b=8 expectedStdout [20]: s=1,t=2,u=3,a=4,b=8 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0030/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0030/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0031/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0031/mlr Miller DSL script: end { @a[1][2][3] = 4; @b[5][2][3] = 8; emit (@a[1], @b[5]), "t", "u" } actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 11. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 11. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0031/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0031/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0032/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0032/mlr Miller DSL script: end { @a[1][2][3] = 4; @b[5][6][3] = 8; emit (@a[1][2], @b[5][6]), "u" } actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 11. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 11. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0032/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0032/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0033/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0033/mlr Miller DSL script: end { @a[1][1] = 1; @a[1][2] = 2; @a[2][1] = 3; @a[2][2] = 4; @b[1][1] = 5; @b[1][2] = 6; @b[2][1] = 7; @b[2][2] = 8; emit (@a[1], @b[2]), "t" } actualStdout [0]: expectedStdout [0]: actualStderr [105]: mlr: cannot parse DSL expression. Parse error on token "[" at line 10 column 11. Expected one of: , ) expectedStderr [105]: mlr: cannot parse DSL expression. Parse error on token "[" at line 10 column 11. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0033/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0033/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0034/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0034/mlr Miller DSL script: end { @a[1][1] = 1; @a[1][2] = 2; @a[2][1] = 3; @a[2][2] = 4; @b[1][1] = 5; @b[1][2] = 6; @b[2][1] = 7; @b[2][2] = 8; emit (@a, @b), "s", "t" } actualStdout [64]: s=1,t=1,a=1,b=5 s=1,t=2,a=2,b=6 s=2,t=1,a=3,b=7 s=2,t=2,a=4,b=8 expectedStdout [64]: s=1,t=1,a=1,b=5 s=1,t=2,a=2,b=6 s=2,t=1,a=3,b=7 s=2,t=2,a=4,b=8 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0034/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0034/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0035/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0035/mlr Miller DSL script: end { @a[1][1] = 1; @a[1][2] = 2; @a[2][1] = 3; @a[2][2] = 4; @a[3] = 10; @a[4] = 11; @a[5][6][7] = 12; @b[1][1] = 5; @b[1][2] = 6; @b[2][1] = 7; @b[2][2] = 8; emit (@a, @b), "s", "t" } actualStdout [95]: s=1,t=1,a=1,b=5 s=1,t=2,a=2,b=6 s=2,t=1,a=3,b=7 s=2,t=2,a=4,b=8 s=3,a=10 s=4,a=11 s=5,t=6,7=12 expectedStdout [95]: s=1,t=1,a=1,b=5 s=1,t=2,a=2,b=6 s=2,t=1,a=3,b=7 s=2,t=2,a=4,b=8 s=3,a=10 s=4,a=11 s=5,t=6,7=12 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0035/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0035/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0036/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0036/mlr Miller DSL script: end { @a[1][1] = 1; @a[1][2] = 2; @a[2][1] = 3; @a[2][2] = 4; @a[3] = 10; @a[4] = 11; @a[5][6][7] = 12; @b[1][1] = 5; @b[1][2] = 6; @b[2][1] = 7; @b[2][2] = 8; emit (@b, @a), "s", "t" } actualStdout [64]: s=1,t=1,b=5,a=1 s=1,t=2,b=6,a=2 s=2,t=1,b=7,a=3 s=2,t=2,b=8,a=4 expectedStdout [64]: s=1,t=1,b=5,a=1 s=1,t=2,b=6,a=2 s=2,t=1,b=7,a=3 s=2,t=2,b=8,a=4 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0036/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0036/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0037/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0037/mlr Miller DSL script: end { @a[1][2][3] = 4; @b[5][2][3] = 8; emit (@a[1], @b[3]), "t", "u" } actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 11. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 11. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0037/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0037/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0038/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0038/mlr Miller DSL script: end { @a[1][2][3] = 4; @b[5][2][3] = 8; emit (@a[1][2], @b[5][9]), "t", "u" } actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 11. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 11. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0038/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0038/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0039/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0039/mlr Miller DSL script: end { @a[1][2][3] = 4; @b[5][2][3] = 8; emit (@a[1][2], @b[9][2]), "t", "u" } actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 11. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 11. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0039/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0039/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0040/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0040/mlr Miller DSL script: end { @a[1][2][3] = 4; @b[5][2][3] = 8; emit (@a[9], @b[5]), "t", "u" } actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 11. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 11. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0040/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0040/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0041/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0041/mlr Miller DSL script: end { @a[1][1] = 1; @a[1][2] = 2; @a[2][1] = 3; @a[2][2] = 4; @b[1][1] = 5; @b[1][2] = 6; @b[2][1] = 7; @b[2][2] = 8; emitp (@a[1], @b[2]), "t" } actualStdout [0]: expectedStdout [0]: actualStderr [105]: mlr: cannot parse DSL expression. Parse error on token "[" at line 10 column 12. Expected one of: , ) expectedStderr [105]: mlr: cannot parse DSL expression. Parse error on token "[" at line 10 column 12. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0041/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0041/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0042/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0042/mlr Miller DSL script: end { @a[1][1] = 1; @a[1][2] = 2; @a[2][1] = 3; @a[2][2] = 4; @b[1][1] = 5; @b[1][2] = 6; @b[2][1] = 7; @b[2][2] = 8; emitp (@a, @b), "s", "t" } actualStdout [64]: s=1,t=1,a=1,b=5 s=1,t=2,a=2,b=6 s=2,t=1,a=3,b=7 s=2,t=2,a=4,b=8 expectedStdout [64]: s=1,t=1,a=1,b=5 s=1,t=2,a=2,b=6 s=2,t=1,a=3,b=7 s=2,t=2,a=4,b=8 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0042/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0042/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0043/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0043/mlr Miller DSL script: end { @a[1][1] = 1; @a[1][2] = 2; @a[2][1] = 3; @a[2][2] = 4; @a[3] = 10; @a[4] = 11; @a[5][6][7] = 12; @b[1][1] = 5; @b[1][2] = 6; @b[2][1] = 7; @b[2][2] = 8; emitp (@a, @b), "s", "t" } actualStdout [97]: s=1,t=1,a=1,b=5 s=1,t=2,a=2,b=6 s=2,t=1,a=3,b=7 s=2,t=2,a=4,b=8 s=3,a=10 s=4,a=11 s=5,t=6,a.7=12 expectedStdout [97]: s=1,t=1,a=1,b=5 s=1,t=2,a=2,b=6 s=2,t=1,a=3,b=7 s=2,t=2,a=4,b=8 s=3,a=10 s=4,a=11 s=5,t=6,a.7=12 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0043/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0043/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0044/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0044/mlr Miller DSL script: end { @a[1][1] = 1; @a[1][2] = 2; @a[2][1] = 3; @a[2][2] = 4; @a[3] = 10; @a[4] = 11; @a[5][6][7] = 12; @b[1][1] = 5; @b[1][2] = 6; @b[2][1] = 7; @b[2][2] = 8; emitp (@b, @a), "s", "t" } actualStdout [64]: s=1,t=1,b=5,a=1 s=1,t=2,b=6,a=2 s=2,t=1,b=7,a=3 s=2,t=2,b=8,a=4 expectedStdout [64]: s=1,t=1,b=5,a=1 s=1,t=2,b=6,a=2 s=2,t=1,b=7,a=3 s=2,t=2,b=8,a=4 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0044/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0044/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0045/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0045/mlr Miller DSL script: end { @a[1][2][3] = 4; @b[5][2][3] = 8; emitp (@a[1], @b[3]), "t", "u" } actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 12. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 12. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0045/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0045/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0046/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0046/mlr Miller DSL script: end { @a[1][2][3] = 4; @b[5][2][3] = 8; emitp (@a[1][2], @b[5][9]), "t", "u" } actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 12. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 12. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0046/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0046/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0047/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0047/mlr Miller DSL script: end { @a[1][2][3] = 4; @b[5][2][3] = 8; emitp (@a[1][2], @b[9][2]), "t", "u" } actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 12. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 12. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0047/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0047/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0048/cmd Command: mlr -n put -f test/cases/dsl-lashed-emitp-singles/0048/mlr Miller DSL script: end { @a[1][2][3] = 4; @b[5][2][3] = 8; emitp (@a[9], @b[5]), "t", "u" } actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 12. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "[" at line 4 column 12. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0048/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0048/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0049/cmd Command: mlr --from test/input/abixy-wide --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0049/mlr Miller DSL script: @count[$a] += 1; @sum[$a] += $x; end { for (a, c in @count) { @mean[a] = @sum[a] / @count[a] } emit (@sum, @count, @mean), "a" } actualStdout [198]: a sum count mean cat 207.84396369 413 0.50325415 pan 191.53074006 384 0.49877797 wye 188.11013475 370 0.50840577 dog 215.54151876 424 0.50835264 hat 206.09182367 409 0.50389199 expectedStdout [198]: a sum count mean cat 207.84396369 413 0.50325415 pan 191.53074006 384 0.49877797 wye 188.11013475 370 0.50840577 dog 215.54151876 424 0.50835264 hat 206.09182367 409 0.50389199 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0049/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0049/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0050/cmd Command: mlr --from test/input/abixy-wide --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0050/mlr Miller DSL script: @count[$a][$b] += 1; @sum[$a][$b] += $x; end { for ((a, b), c in @count) { @mean[a][b] = @sum[a][b] / @count[a][b] } emit (@sum, @count, @mean), "a", "b" } actualStdout [956]: a b sum count mean cat pan 42.32715826 89 0.47558605 cat hat 43.18440957 90 0.47982677 cat dog 39.24147285 78 0.50309581 cat wye 45.19677452 77 0.58697110 cat cat 37.89414848 79 0.47967277 pan wye 40.13529971 78 0.51455512 pan pan 36.22633427 77 0.47047187 pan hat 35.11586926 67 0.52411745 pan dog 37.81756019 73 0.51804877 pan cat 42.23567663 89 0.47455816 wye cat 40.80572298 74 0.55142869 wye hat 41.16669670 87 0.47318042 wye dog 40.61954682 76 0.53446772 wye wye 32.49097274 67 0.48493989 wye pan 33.02719552 66 0.50041205 dog hat 43.51516221 88 0.49449048 dog pan 45.61401108 87 0.52429898 dog dog 43.54595570 87 0.50052823 dog wye 37.22379467 79 0.47118727 dog cat 45.64259510 83 0.54991078 hat hat 48.05889742 88 0.54612383 hat wye 34.05426962 70 0.48648957 hat pan 42.53875750 85 0.50045597 hat cat 44.32565470 88 0.50370062 hat dog 37.11424443 78 0.47582365 expectedStdout [956]: a b sum count mean cat pan 42.32715826 89 0.47558605 cat hat 43.18440957 90 0.47982677 cat dog 39.24147285 78 0.50309581 cat wye 45.19677452 77 0.58697110 cat cat 37.89414848 79 0.47967277 pan wye 40.13529971 78 0.51455512 pan pan 36.22633427 77 0.47047187 pan hat 35.11586926 67 0.52411745 pan dog 37.81756019 73 0.51804877 pan cat 42.23567663 89 0.47455816 wye cat 40.80572298 74 0.55142869 wye hat 41.16669670 87 0.47318042 wye dog 40.61954682 76 0.53446772 wye wye 32.49097274 67 0.48493989 wye pan 33.02719552 66 0.50041205 dog hat 43.51516221 88 0.49449048 dog pan 45.61401108 87 0.52429898 dog dog 43.54595570 87 0.50052823 dog wye 37.22379467 79 0.47118727 dog cat 45.64259510 83 0.54991078 hat hat 48.05889742 88 0.54612383 hat wye 34.05426962 70 0.48648957 hat pan 42.53875750 85 0.50045597 hat cat 44.32565470 88 0.50370062 hat dog 37.11424443 78 0.47582365 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0050/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0050/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0051/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0051/mlr Miller DSL script: o=$a.$b; emit o actualStdout [59]: o panpan ekspan wye eks wyepan zeepan ekszee zeewye panwye expectedStdout [59]: o panpan ekspan wye eks wyepan zeepan ekszee zeewye panwye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0051/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0051/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0052/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0052/mlr Miller DSL script: o={"ab":$a.$b}; emit o actualStdout [64]: ab panpan ekspan wye eks wyepan zeepan ekszee zeewye ab panwye expectedStdout [64]: ab panpan ekspan wye eks wyepan zeepan ekszee zeewye ab panwye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0052/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0052/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0053/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0053/mlr Miller DSL script: @o=$a.$b; emit @o actualStdout [66]: o panpan ekspan wye eks wyepan zeepan ekszee zeewye zeewye panwye expectedStdout [66]: o panpan ekspan wye eks wyepan zeepan ekszee zeewye zeewye panwye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0053/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0053/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0054/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0054/mlr Miller DSL script: @o={"ab":$a.$b}; emit @o actualStdout [64]: ab panpan ekspan wye eks wyepan zeepan ekszee zeewye ab panwye expectedStdout [64]: ab panpan ekspan wye eks wyepan zeepan ekszee zeewye ab panwye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0054/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0054/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0055/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0055/mlr Miller DSL script: @o=$a.$b; emit @* actualStdout [66]: o panpan ekspan wye eks wyepan zeepan ekszee zeewye zeewye panwye expectedStdout [66]: o panpan ekspan wye eks wyepan zeepan ekszee zeewye zeewye panwye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0055/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0055/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0056/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0056/mlr Miller DSL script: @o={"ab":$a.$b}; emit @* actualStdout [64]: ab panpan ekspan wye eks wyepan zeepan ekszee zeewye ab panwye expectedStdout [64]: ab panpan ekspan wye eks wyepan zeepan ekszee zeewye ab panwye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0056/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0056/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0057/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0057/mlr Miller DSL script: emit $a.$b actualStdout [0]: expectedStdout [0]: actualStderr [141]: mlr: cannot parse DSL expression. Parse error on token "." at line 1 column 8. Please check for missing semicolon. Expected one of: $ ; , expectedStderr [141]: mlr: cannot parse DSL expression. Parse error on token "." at line 1 column 8. Please check for missing semicolon. Expected one of: $ ; , actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0057/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0057/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0058/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0058/mlr Miller DSL script: emit {"ab":$a.$b} actualStdout [60]: ab panpan ekspan wye eks wyepan zeepan ekszee zeewye panwye expectedStdout [60]: ab panpan ekspan wye eks wyepan zeepan ekszee zeewye panwye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0058/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0058/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0059/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0059/mlr Miller DSL script: func f(a,b) { return a.b } o = f($a, $b); emit o actualStdout [59]: o panpan ekspan wye eks wyepan zeepan ekszee zeewye panwye expectedStdout [59]: o panpan ekspan wye eks wyepan zeepan ekszee zeewye panwye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0059/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0059/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0060/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0060/mlr Miller DSL script: func f(a,b) { return a.b } emit f($a, $b) actualStdout [0]: expectedStdout [0]: actualStderr [142]: mlr: cannot parse DSL expression. Parse error on token "(" at line 1 column 34. Please check for missing semicolon. Expected one of: $ ; , expectedStderr [142]: mlr: cannot parse DSL expression. Parse error on token "(" at line 1 column 34. Please check for missing semicolon. Expected one of: $ ; , actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0060/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0060/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0061/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0061/mlr Miller DSL script: func f(a,b) { return {"ab": a.b} } o = f($a, $b); emit o actualStdout [64]: ab panpan ekspan wye eks wyepan zeepan ekszee zeewye ab panwye expectedStdout [64]: ab panpan ekspan wye eks wyepan zeepan ekszee zeewye ab panwye actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0061/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0061/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0062/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0062/mlr Miller DSL script: func f(a,b) { return {"ab": a.b} } emit f($a, $b) actualStdout [0]: expectedStdout [0]: actualStderr [142]: mlr: cannot parse DSL expression. Parse error on token "(" at line 1 column 42. Please check for missing semicolon. Expected one of: $ ; , expectedStderr [142]: mlr: cannot parse DSL expression. Parse error on token "(" at line 1 column 42. Please check for missing semicolon. Expected one of: $ ; , actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0062/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0062/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0063/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0063/mlr Miller DSL script: emit ($a . "_" . $b, $x . "_" . $y) actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "." at line 1 column 10. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "." at line 1 column 10. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0063/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0063/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0064/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0064/mlr Miller DSL script: o = $a . "_" . $b; p = $x . "_" . $y; emit (o, p) actualStdout [290]: o p pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 expectedStdout [290]: o p pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0064/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0064/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0065/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0065/mlr Miller DSL script: @o = $a . "_" . $b; @p = $x . "_" . $y; emit (@o, @p) actualStdout [290]: o p pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 expectedStdout [290]: o p pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0065/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0065/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0066/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0066/mlr Miller DSL script: func f(a, b) { return a . "_" . b } o = f($a, $b); p = f($x, $y); emit (o, p) actualStdout [290]: o p pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 expectedStdout [290]: o p pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0066/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0066/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0067/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0067/mlr Miller DSL script: func f(a, b) { return a . "_" . b } @o = f($a, $b); @p = f($x, $y); emit (@o, @p) actualStdout [290]: o p pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 expectedStdout [290]: o p pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0067/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0067/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0068/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0068/mlr Miller DSL script: func f(a, b) { return a . "_" . b } emit (f($a, $b), f($x, $y)) actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "(" at line 1 column 44. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "(" at line 1 column 44. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0068/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0068/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0070/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0070/mlr Miller DSL script: o = {"ab": $a . "_" . $b}; p = {"ab": $x . "_" . $y}; emit (o, p) actualStdout [271]: ab pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 expectedStdout [271]: ab pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0070/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0070/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0071/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0071/mlr Miller DSL script: @o = {"ab": $a . "_" . $b}; @p = {"ab": $x . "_" . $y}; emit (@o, @p) actualStdout [271]: ab pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 expectedStdout [271]: ab pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0071/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0071/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0072/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0072/mlr Miller DSL script: func f(a, b) { return {"ab": a . "_" . b} } o = f($a, $b); p = f($x, $y); emit (o, p) actualStdout [271]: ab pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 expectedStdout [271]: ab pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0072/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0072/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0073/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0073/mlr Miller DSL script: func f(a, b) { return {"ab": a . "_" . b} } @o = f($a, $b); @p = f($x, $y); emit (@o, @p) actualStdout [271]: ab pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 expectedStdout [271]: ab pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0073/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0073/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0074/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0074/mlr Miller DSL script: func f(a, b) { return {"ab": a . "_" . b} } emit (f($a, $b), f($x, $y)) actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "(" at line 1 column 52. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "(" at line 1 column 52. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0074/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0074/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0075/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0075/mlr Miller DSL script: emitp ({"ab": $a . "_" . $b}, {"ab": $x . "_" . $y}) actualStdout [0]: expectedStdout [0]: actualStderr [95]: mlr: lashed-emit node types must be local variables, field names, or oosvars; got map literal. expectedStderr [95]: mlr: lashed-emit node types must be local variables, field names, or oosvars; got map literal. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0075/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0075/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0076/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0076/mlr Miller DSL script: o = {"ab": $a . "_" . $b}; p = {"ab": $x . "_" . $y}; emitp (o, p) actualStdout [293]: o.ab p.ab pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 expectedStdout [293]: o.ab p.ab pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0076/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0076/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0077/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0077/mlr Miller DSL script: @o = {"ab": $a . "_" . $b}; @p = {"ab": $x . "_" . $y}; emitp (@o, @p) actualStdout [293]: o.ab p.ab pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 expectedStdout [293]: o.ab p.ab pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0077/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0077/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0078/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0078/mlr Miller DSL script: func f(a, b) { return {"ab": a . "_" . b} } o = f($a, $b); p = f($x, $y); emitp (o, p) actualStdout [293]: o.ab p.ab pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 expectedStdout [293]: o.ab p.ab pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0078/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0078/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0079/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0079/mlr Miller DSL script: func f(a, b) { return {"ab": a . "_" . b} } @o = f($a, $b); @p = f($x, $y); emitp (@o, @p) actualStdout [293]: o.ab p.ab pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 expectedStdout [293]: o.ab p.ab pan_pan 0.34679014_0.72680286 eks_pan 0.75867996_0.52215111 _wye 0.20460331_0.33831853 eks_ 0.38139939_0.13418874 wye_pan _0.86362447 zee_pan 0.52712616_0.49322129 eks_zee 0.61178406_0.18788492 zee_wye 0.59855401_ _ 0.03144188_0.74955076 pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0079/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0079/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0080/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0080/mlr Miller DSL script: func f(a, b) { return {"ab": a . "_" . b} } emit (f($a, $b), f($x, $y)) actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "(" at line 1 column 52. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "(" at line 1 column 52. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0080/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0080/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0082/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0082/mlr Miller DSL script: o = {"ab": $a . "_" . $b}; p = {"ab": $x . "_" . $y}; emit (o, p), "ab" actualStdout [323]: ab o p ab pan_pan 0.34679014_0.72680286 ab eks_pan 0.75867996_0.52215111 ab _wye 0.20460331_0.33831853 ab eks_ 0.38139939_0.13418874 ab wye_pan _0.86362447 ab zee_pan 0.52712616_0.49322129 ab eks_zee 0.61178406_0.18788492 ab zee_wye 0.59855401_ ab _ 0.03144188_0.74955076 ab pan_wye 0.50262601_0.95261836 expectedStdout [323]: ab o p ab pan_pan 0.34679014_0.72680286 ab eks_pan 0.75867996_0.52215111 ab _wye 0.20460331_0.33831853 ab eks_ 0.38139939_0.13418874 ab wye_pan _0.86362447 ab zee_pan 0.52712616_0.49322129 ab eks_zee 0.61178406_0.18788492 ab zee_wye 0.59855401_ ab _ 0.03144188_0.74955076 ab pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0082/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0082/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0083/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0083/mlr Miller DSL script: @o = {"ab": $a . "_" . $b}; @p = {"ab": $x . "_" . $y}; emit (@o, @p), "ab" actualStdout [323]: ab o p ab pan_pan 0.34679014_0.72680286 ab eks_pan 0.75867996_0.52215111 ab _wye 0.20460331_0.33831853 ab eks_ 0.38139939_0.13418874 ab wye_pan _0.86362447 ab zee_pan 0.52712616_0.49322129 ab eks_zee 0.61178406_0.18788492 ab zee_wye 0.59855401_ ab _ 0.03144188_0.74955076 ab pan_wye 0.50262601_0.95261836 expectedStdout [323]: ab o p ab pan_pan 0.34679014_0.72680286 ab eks_pan 0.75867996_0.52215111 ab _wye 0.20460331_0.33831853 ab eks_ 0.38139939_0.13418874 ab wye_pan _0.86362447 ab zee_pan 0.52712616_0.49322129 ab eks_zee 0.61178406_0.18788492 ab zee_wye 0.59855401_ ab _ 0.03144188_0.74955076 ab pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0083/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0083/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0084/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0084/mlr Miller DSL script: func f(a, b) { return {"ab": a . "_" . b} } o = f($a, $b); p = f($x, $y); emit (o, p), "ab" actualStdout [323]: ab o p ab pan_pan 0.34679014_0.72680286 ab eks_pan 0.75867996_0.52215111 ab _wye 0.20460331_0.33831853 ab eks_ 0.38139939_0.13418874 ab wye_pan _0.86362447 ab zee_pan 0.52712616_0.49322129 ab eks_zee 0.61178406_0.18788492 ab zee_wye 0.59855401_ ab _ 0.03144188_0.74955076 ab pan_wye 0.50262601_0.95261836 expectedStdout [323]: ab o p ab pan_pan 0.34679014_0.72680286 ab eks_pan 0.75867996_0.52215111 ab _wye 0.20460331_0.33831853 ab eks_ 0.38139939_0.13418874 ab wye_pan _0.86362447 ab zee_pan 0.52712616_0.49322129 ab eks_zee 0.61178406_0.18788492 ab zee_wye 0.59855401_ ab _ 0.03144188_0.74955076 ab pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0084/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0084/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0085/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0085/mlr Miller DSL script: func f(a, b) { return {"ab": a . "_" . b} } @o = f($a, $b); @p = f($x, $y); emit (@o, @p), "ab" actualStdout [323]: ab o p ab pan_pan 0.34679014_0.72680286 ab eks_pan 0.75867996_0.52215111 ab _wye 0.20460331_0.33831853 ab eks_ 0.38139939_0.13418874 ab wye_pan _0.86362447 ab zee_pan 0.52712616_0.49322129 ab eks_zee 0.61178406_0.18788492 ab zee_wye 0.59855401_ ab _ 0.03144188_0.74955076 ab pan_wye 0.50262601_0.95261836 expectedStdout [323]: ab o p ab pan_pan 0.34679014_0.72680286 ab eks_pan 0.75867996_0.52215111 ab _wye 0.20460331_0.33831853 ab eks_ 0.38139939_0.13418874 ab wye_pan _0.86362447 ab zee_pan 0.52712616_0.49322129 ab eks_zee 0.61178406_0.18788492 ab zee_wye 0.59855401_ ab _ 0.03144188_0.74955076 ab pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0085/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0085/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0086/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0086/mlr Miller DSL script: func f(a, b) { return {"ab": a . "_" . b} } emit (f($a, $b), f($x, $y)), "ab" actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "(" at line 1 column 52. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "(" at line 1 column 52. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0086/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0086/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0088/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0088/mlr Miller DSL script: o = {"ab": $a . "_" . $b}; p = {"ab": $x . "_" . $y}; emitp (o, p), "ab" actualStdout [323]: ab o p ab pan_pan 0.34679014_0.72680286 ab eks_pan 0.75867996_0.52215111 ab _wye 0.20460331_0.33831853 ab eks_ 0.38139939_0.13418874 ab wye_pan _0.86362447 ab zee_pan 0.52712616_0.49322129 ab eks_zee 0.61178406_0.18788492 ab zee_wye 0.59855401_ ab _ 0.03144188_0.74955076 ab pan_wye 0.50262601_0.95261836 expectedStdout [323]: ab o p ab pan_pan 0.34679014_0.72680286 ab eks_pan 0.75867996_0.52215111 ab _wye 0.20460331_0.33831853 ab eks_ 0.38139939_0.13418874 ab wye_pan _0.86362447 ab zee_pan 0.52712616_0.49322129 ab eks_zee 0.61178406_0.18788492 ab zee_wye 0.59855401_ ab _ 0.03144188_0.74955076 ab pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0088/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0088/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0089/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0089/mlr Miller DSL script: @o = {"ab": $a . "_" . $b}; @p = {"ab": $x . "_" . $y}; emitp (@o, @p), "ab" actualStdout [323]: ab o p ab pan_pan 0.34679014_0.72680286 ab eks_pan 0.75867996_0.52215111 ab _wye 0.20460331_0.33831853 ab eks_ 0.38139939_0.13418874 ab wye_pan _0.86362447 ab zee_pan 0.52712616_0.49322129 ab eks_zee 0.61178406_0.18788492 ab zee_wye 0.59855401_ ab _ 0.03144188_0.74955076 ab pan_wye 0.50262601_0.95261836 expectedStdout [323]: ab o p ab pan_pan 0.34679014_0.72680286 ab eks_pan 0.75867996_0.52215111 ab _wye 0.20460331_0.33831853 ab eks_ 0.38139939_0.13418874 ab wye_pan _0.86362447 ab zee_pan 0.52712616_0.49322129 ab eks_zee 0.61178406_0.18788492 ab zee_wye 0.59855401_ ab _ 0.03144188_0.74955076 ab pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0089/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0089/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0090/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0090/mlr Miller DSL script: func f(a, b) { return {"ab": a . "_" . b} } o = f($a, $b); p = f($x, $y); emitp (o, p), "ab" actualStdout [323]: ab o p ab pan_pan 0.34679014_0.72680286 ab eks_pan 0.75867996_0.52215111 ab _wye 0.20460331_0.33831853 ab eks_ 0.38139939_0.13418874 ab wye_pan _0.86362447 ab zee_pan 0.52712616_0.49322129 ab eks_zee 0.61178406_0.18788492 ab zee_wye 0.59855401_ ab _ 0.03144188_0.74955076 ab pan_wye 0.50262601_0.95261836 expectedStdout [323]: ab o p ab pan_pan 0.34679014_0.72680286 ab eks_pan 0.75867996_0.52215111 ab _wye 0.20460331_0.33831853 ab eks_ 0.38139939_0.13418874 ab wye_pan _0.86362447 ab zee_pan 0.52712616_0.49322129 ab eks_zee 0.61178406_0.18788492 ab zee_wye 0.59855401_ ab _ 0.03144188_0.74955076 ab pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0090/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0090/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0091/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0091/mlr Miller DSL script: func f(a, b) { return {"ab": a . "_" . b} } @o = f($a, $b); @p = f($x, $y); emitp (@o, @p), "ab" actualStdout [323]: ab o p ab pan_pan 0.34679014_0.72680286 ab eks_pan 0.75867996_0.52215111 ab _wye 0.20460331_0.33831853 ab eks_ 0.38139939_0.13418874 ab wye_pan _0.86362447 ab zee_pan 0.52712616_0.49322129 ab eks_zee 0.61178406_0.18788492 ab zee_wye 0.59855401_ ab _ 0.03144188_0.74955076 ab pan_wye 0.50262601_0.95261836 expectedStdout [323]: ab o p ab pan_pan 0.34679014_0.72680286 ab eks_pan 0.75867996_0.52215111 ab _wye 0.20460331_0.33831853 ab eks_ 0.38139939_0.13418874 ab wye_pan _0.86362447 ab zee_pan 0.52712616_0.49322129 ab eks_zee 0.61178406_0.18788492 ab zee_wye 0.59855401_ ab _ 0.03144188_0.74955076 ab pan_wye 0.50262601_0.95261836 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lashed-emitp-singles/0091/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0091/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lashed-emitp-singles/0092/cmd Command: mlr --from test/input/abixy-het --opprint put -q -f test/cases/dsl-lashed-emitp-singles/0092/mlr Miller DSL script: func f(a, b) { return {"ab": a . "_" . b} } emitp (f($a, $b), f($x, $y)), "ab" actualStdout [0]: expectedStdout [0]: actualStderr [104]: mlr: cannot parse DSL expression. Parse error on token "(" at line 1 column 53. Expected one of: , ) expectedStderr [104]: mlr: cannot parse DSL expression. Parse error on token "(" at line 1 column 53. Expected one of: , ) actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-lashed-emitp-singles/0092/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lashed-emitp-singles/0092/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-latin1/0001/cmd Command: mlr --xtab --from test/cases/dsl-latin1/0001/input put -f test/cases/dsl-latin1/0001/mlr Miller DSL script: $y = utf8_to_latin1($x); $z = latin1_to_utf8($y); actualStdout [538]: x The quick brown fox jumped over the lazy dogs. y The quick brown fox jumped over the lazy dogs. z The quick brown fox jumped over the lazy dogs. x Victor jagt zwölf Boxkämpfer quer über den großen Sylter Deich. y Victor jagt zwlf Boxkmpfer quer ber den groen Sylter Deich. z Victor jagt zwölf Boxkämpfer quer über den großen Sylter Deich. x Съешь же ещё этих мягких французских булок да выпей чаю. y (error) z (error) x This¹ is² it³. y This is it. z This¹ is² it³. expectedStdout [538]: x The quick brown fox jumped over the lazy dogs. y The quick brown fox jumped over the lazy dogs. z The quick brown fox jumped over the lazy dogs. x Victor jagt zwölf Boxkämpfer quer über den großen Sylter Deich. y Victor jagt zwlf Boxkmpfer quer ber den groen Sylter Deich. z Victor jagt zwölf Boxkämpfer quer über den großen Sylter Deich. x Съешь же ещё этих мягких французских булок да выпей чаю. y (error) z (error) x This¹ is² it³. y This is it. z This¹ is² it³. actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-latin1/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-latin1/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-latin1/0002/cmd Command: mlr --xtab --from test/cases/dsl-latin1/0002/input put -f test/cases/dsl-latin1/0002/mlr Miller DSL script: $* = utf8_to_latin1($*); $* = latin1_to_utf8($*); actualStdout [152]: x The quick brown fox jumped over the lazy dogs. x Victor jagt zwölf Boxkämpfer quer über den großen Sylter Deich. x (error) x This¹ is² it³. expectedStdout [152]: x The quick brown fox jumped over the lazy dogs. x Victor jagt zwölf Boxkämpfer quer über den großen Sylter Deich. x (error) x This¹ is² it³. actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-latin1/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-latin1/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-leafcount/0001/cmd Command: mlr --opprint --from test/input/s.dkvp put -f ./test/cases/dsl-leafcount/0001/mlr Miller DSL script: $lcx = leafcount($x); $lcn = leafcount($nonesuch); $lca1 = leafcount([1,2,3]); $lca2 = leafcount([1,[4,5,6],3]); $lca3 = leafcount([1,{"s":4,"t":[7,8,9],"u":6},3]); $lcm1 = leafcount({"s":1,"t":2,"u":3}); $lcm2 = leafcount({"s":1,"t":[4,5,6],"u":3}); $lcm3 = leafcount({"s":1,"t":[4,{"x":8, "y": 9},6],"u":3}); actualStdout [318]: a b i x y lcx lca1 lca2 lca3 lcm1 lcm2 lcm3 pan pan 1 0.34679014 0.72680286 1 3 5 7 3 5 6 eks pan 2 0.75867996 0.52215111 1 3 5 7 3 5 6 wye wye 3 0.20460331 0.33831853 1 3 5 7 3 5 6 eks wye 4 0.38139939 0.13418874 1 3 5 7 3 5 6 expectedStdout [318]: a b i x y lcx lca1 lca2 lca3 lcm1 lcm2 lcm3 pan pan 1 0.34679014 0.72680286 1 3 5 7 3 5 6 eks pan 2 0.75867996 0.52215111 1 3 5 7 3 5 6 wye wye 3 0.20460331 0.33831853 1 3 5 7 3 5 6 eks wye 4 0.38139939 0.13418874 1 3 5 7 3 5 6 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-leafcount/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-leafcount/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length/0001/cmd Command: mlr put -f test/cases/dsl-length/0001/mlr ./test/cases/dsl-length/0001/input Miller DSL script: $n = length($x) actualStdout [22]: x=1,y=abcdefg,z=3,n=1 expectedStdout [22]: x=1,y=abcdefg,z=3,n=1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length/0002/cmd Command: mlr put -f test/cases/dsl-length/0002/mlr ./test/cases/dsl-length/0002/input Miller DSL script: $n = length($y) actualStdout [22]: x=1,y=abcdefg,z=3,n=1 expectedStdout [22]: x=1,y=abcdefg,z=3,n=1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length/0003/cmd Command: mlr put -f test/cases/dsl-length/0003/mlr ./test/cases/dsl-length/0003/input Miller DSL script: $n = length($nonesuch) actualStdout [22]: x=1,y=abcdefg,z=3,n=0 expectedStdout [22]: x=1,y=abcdefg,z=3,n=0 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length/0004/cmd Command: mlr put -f test/cases/dsl-length/0004/mlr ./test/cases/dsl-length/0004/input Miller DSL script: $n = length($*) actualStdout [22]: x=1,y=abcdefg,z=3,n=3 expectedStdout [22]: x=1,y=abcdefg,z=3,n=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length/0005/cmd Command: mlr put -f test/cases/dsl-length/0005/mlr ./test/cases/dsl-length/0005/input Miller DSL script: $n = length([]) actualStdout [22]: x=1,y=abcdefg,z=3,n=0 expectedStdout [22]: x=1,y=abcdefg,z=3,n=0 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length/0006/cmd Command: mlr put -f test/cases/dsl-length/0006/mlr ./test/cases/dsl-length/0006/input Miller DSL script: $n = length([5,6,7]) actualStdout [22]: x=1,y=abcdefg,z=3,n=3 expectedStdout [22]: x=1,y=abcdefg,z=3,n=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length/0007/cmd Command: mlr put -f test/cases/dsl-length/0007/mlr ./test/cases/dsl-length/0007/input Miller DSL script: $n = length({}) actualStdout [22]: x=1,y=abcdefg,z=3,n=0 expectedStdout [22]: x=1,y=abcdefg,z=3,n=0 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length/0008/cmd Command: mlr put -f test/cases/dsl-length/0008/mlr ./test/cases/dsl-length/0008/input Miller DSL script: $n = length({"a":5,"b":6,"c":7}) actualStdout [22]: x=1,y=abcdefg,z=3,n=3 expectedStdout [22]: x=1,y=abcdefg,z=3,n=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length-depth-leafcount/0001/cmd Command: mlr --from test/input/abixy-het put '$length = length($a)' actualStdout [525]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,length=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,length=1 aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853,length=0 a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874,length=1 a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447,length=1 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,length=1 a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492,length=1 a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139,length=1 aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076,length=0 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,length=1 expectedStdout [525]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,length=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,length=1 aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853,length=0 a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874,length=1 a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447,length=1 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,length=1 a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492,length=1 a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139,length=1 aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076,length=0 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,length=1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length-depth-leafcount/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length-depth-leafcount/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length-depth-leafcount/0002/cmd Command: mlr --from test/input/abixy-het put '$length = length($*)' actualStdout [525]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,length=5 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,length=5 aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853,length=5 a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874,length=5 a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447,length=5 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,length=5 a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492,length=5 a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139,length=5 aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076,length=5 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,length=5 expectedStdout [525]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,length=5 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,length=5 aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853,length=5 a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874,length=5 a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447,length=5 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,length=5 a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492,length=5 a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139,length=5 aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076,length=5 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,length=5 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length-depth-leafcount/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length-depth-leafcount/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length-depth-leafcount/0003/cmd Command: mlr --from test/input/xyz2 put '$length= length({3:4, 5:{6:7}, 8:{9:{10:11}}})' actualStdout [42]: x=3,y=4,z=5,length=3 x=6,y=7,u=8,length=3 expectedStdout [42]: x=3,y=4,z=5,length=3 x=6,y=7,u=8,length=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length-depth-leafcount/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length-depth-leafcount/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length-depth-leafcount/0004/cmd Command: mlr --from test/input/xyz2 put 'o = {3:4, 5:{6:7}, 8:{9:{10:11}}}; $length = length(o)' actualStdout [42]: x=3,y=4,z=5,length=3 x=6,y=7,u=8,length=3 expectedStdout [42]: x=3,y=4,z=5,length=3 x=6,y=7,u=8,length=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length-depth-leafcount/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length-depth-leafcount/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length-depth-leafcount/0005/cmd Command: mlr --from test/input/xyz2 put '@o = {3:4, 5:{6:7}, 8:{9:{10:11}}}; $length = length(@o)' actualStdout [42]: x=3,y=4,z=5,length=3 x=6,y=7,u=8,length=3 expectedStdout [42]: x=3,y=4,z=5,length=3 x=6,y=7,u=8,length=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length-depth-leafcount/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length-depth-leafcount/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length-depth-leafcount/0006/cmd Command: mlr --from test/input/abixy-het put '$depth = depth($a)' actualStdout [499]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,depth=0 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,depth=0 aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874,depth=0 a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447,depth=0 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,depth=0 a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492,depth=0 a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139,depth=0 aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,depth=0 expectedStdout [499]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,depth=0 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,depth=0 aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874,depth=0 a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447,depth=0 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,depth=0 a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492,depth=0 a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139,depth=0 aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,depth=0 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length-depth-leafcount/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length-depth-leafcount/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length-depth-leafcount/0007/cmd Command: mlr --from test/input/abixy-het put '$depth = depth($*)' actualStdout [515]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,depth=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,depth=1 aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853,depth=1 a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874,depth=1 a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447,depth=1 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,depth=1 a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492,depth=1 a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139,depth=1 aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076,depth=1 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,depth=1 expectedStdout [515]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,depth=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,depth=1 aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853,depth=1 a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874,depth=1 a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447,depth=1 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,depth=1 a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492,depth=1 a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139,depth=1 aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076,depth=1 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,depth=1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length-depth-leafcount/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length-depth-leafcount/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length-depth-leafcount/0008/cmd Command: mlr --from test/input/xyz2 put '$depth= depth({3:4, 5:{6:7}, 8:{9:{10:11}}})' actualStdout [40]: x=3,y=4,z=5,depth=3 x=6,y=7,u=8,depth=3 expectedStdout [40]: x=3,y=4,z=5,depth=3 x=6,y=7,u=8,depth=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length-depth-leafcount/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length-depth-leafcount/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length-depth-leafcount/0009/cmd Command: mlr --from test/input/xyz2 put 'o = {3:4, 5:{6:7}, 8:{9:{10:11}}}; $depth = depth(o)' actualStdout [40]: x=3,y=4,z=5,depth=3 x=6,y=7,u=8,depth=3 expectedStdout [40]: x=3,y=4,z=5,depth=3 x=6,y=7,u=8,depth=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length-depth-leafcount/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length-depth-leafcount/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length-depth-leafcount/0010/cmd Command: mlr --from test/input/xyz2 put '@o = {3:4, 5:{6:7}, 8:{9:{10:11}}}; $depth = depth(@o)' actualStdout [40]: x=3,y=4,z=5,depth=3 x=6,y=7,u=8,depth=3 expectedStdout [40]: x=3,y=4,z=5,depth=3 x=6,y=7,u=8,depth=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length-depth-leafcount/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length-depth-leafcount/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length-depth-leafcount/0011/cmd Command: mlr --from test/input/abixy-het put '$leafcount = leafcount($a)' actualStdout [531]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,leafcount=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,leafcount=1 aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874,leafcount=1 a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447,leafcount=1 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,leafcount=1 a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492,leafcount=1 a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139,leafcount=1 aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,leafcount=1 expectedStdout [531]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,leafcount=1 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,leafcount=1 aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853 a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874,leafcount=1 a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447,leafcount=1 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,leafcount=1 a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492,leafcount=1 a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139,leafcount=1 aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,leafcount=1 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length-depth-leafcount/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length-depth-leafcount/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length-depth-leafcount/0012/cmd Command: mlr --from test/input/abixy-het put '$leafcount = leafcount($*)' actualStdout [555]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,leafcount=5 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,leafcount=5 aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853,leafcount=5 a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874,leafcount=5 a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447,leafcount=5 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,leafcount=5 a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492,leafcount=5 a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139,leafcount=5 aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076,leafcount=5 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,leafcount=5 expectedStdout [555]: a=pan,b=pan,i=1,x=0.34679014,y=0.72680286,leafcount=5 a=eks,b=pan,i=2,x=0.75867996,y=0.52215111,leafcount=5 aaa=wye,b=wye,i=3,x=0.20460331,y=0.33831853,leafcount=5 a=eks,bbb=wye,i=4,x=0.38139939,y=0.13418874,leafcount=5 a=wye,b=pan,i=5,xxx=0.57328892,y=0.86362447,leafcount=5 a=zee,b=pan,i=6,x=0.52712616,y=0.49322129,leafcount=5 a=eks,b=zee,iii=7,x=0.61178406,y=0.18788492,leafcount=5 a=zee,b=wye,i=8,x=0.59855401,yyy=0.97618139,leafcount=5 aaa=hat,bbb=wye,i=9,x=0.03144188,y=0.74955076,leafcount=5 a=pan,b=wye,i=10,x=0.50262601,y=0.95261836,leafcount=5 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length-depth-leafcount/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length-depth-leafcount/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length-depth-leafcount/0013/cmd Command: mlr --from test/input/xyz2 put '$leafcount= leafcount({3:4, 5:{6:7}, 8:{9:{10:11}}})' actualStdout [48]: x=3,y=4,z=5,leafcount=3 x=6,y=7,u=8,leafcount=3 expectedStdout [48]: x=3,y=4,z=5,leafcount=3 x=6,y=7,u=8,leafcount=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length-depth-leafcount/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length-depth-leafcount/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length-depth-leafcount/0014/cmd Command: mlr --from test/input/xyz2 put 'o = {3:4, 5:{6:7}, 8:{9:{10:11}}}; $leafcount = leafcount(o)' actualStdout [48]: x=3,y=4,z=5,leafcount=3 x=6,y=7,u=8,leafcount=3 expectedStdout [48]: x=3,y=4,z=5,leafcount=3 x=6,y=7,u=8,leafcount=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length-depth-leafcount/0014/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length-depth-leafcount/0014/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-length-depth-leafcount/0015/cmd Command: mlr --from test/input/xyz2 put '@o = {3:4, 5:{6:7}, 8:{9:{10:11}}}; $leafcount = leafcount(@o)' actualStdout [48]: x=3,y=4,z=5,leafcount=3 x=6,y=7,u=8,leafcount=3 expectedStdout [48]: x=3,y=4,z=5,leafcount=3 x=6,y=7,u=8,leafcount=3 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-length-depth-leafcount/0015/cmd ---------------------------------------------------------------- end ./test/cases/dsl-length-depth-leafcount/0015/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lhs-indexing/0001/cmd Command: mlr --ojson --from test/input/2.dkvp put -f test/cases/dsl-lhs-indexing/0001/mlr Miller DSL script: $abc[FILENAME] = "def" actualStdout [257]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "abc": { "test/input/2.dkvp": "def" } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "abc": { "test/input/2.dkvp": "def" } } ] expectedStdout [257]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "abc": { "test/input/2.dkvp": "def" } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "abc": { "test/input/2.dkvp": "def" } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lhs-indexing/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lhs-indexing/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lhs-indexing/0002/cmd Command: mlr --ojson --from test/input/2.dkvp put -f test/cases/dsl-lhs-indexing/0002/mlr Miller DSL script: $abc[NR] = "def" actualStdout [225]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "abc": { "1": "def" } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "abc": { "2": "def" } } ] expectedStdout [225]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "abc": { "1": "def" } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "abc": { "2": "def" } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lhs-indexing/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lhs-indexing/0002/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lhs-indexing/0003/cmd Command: mlr --ojson --from test/input/2.dkvp put -f test/cases/dsl-lhs-indexing/0003/mlr Miller DSL script: $abc[FILENAME][NR] = "def" actualStdout [295]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "abc": { "test/input/2.dkvp": { "1": "def" } } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "abc": { "test/input/2.dkvp": { "2": "def" } } } ] expectedStdout [295]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "abc": { "test/input/2.dkvp": { "1": "def" } } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "abc": { "test/input/2.dkvp": { "2": "def" } } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lhs-indexing/0003/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lhs-indexing/0003/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lhs-indexing/0004/cmd Command: mlr --ojson --from test/input/2.dkvp put -f test/cases/dsl-lhs-indexing/0004/mlr Miller DSL script: $abc[NR][FILENAME] = "def" actualStdout [295]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "abc": { "1": { "test/input/2.dkvp": "def" } } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "abc": { "2": { "test/input/2.dkvp": "def" } } } ] expectedStdout [295]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "abc": { "1": { "test/input/2.dkvp": "def" } } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "abc": { "2": { "test/input/2.dkvp": "def" } } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lhs-indexing/0004/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lhs-indexing/0004/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lhs-indexing/0005/cmd Command: mlr --ojson --from test/input/2.dkvp put -f test/cases/dsl-lhs-indexing/0005/mlr Miller DSL script: @abc[FILENAME] = "def"; $ghi = @abc actualStdout [257]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "ghi": { "test/input/2.dkvp": "def" } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "ghi": { "test/input/2.dkvp": "def" } } ] expectedStdout [257]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "ghi": { "test/input/2.dkvp": "def" } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "ghi": { "test/input/2.dkvp": "def" } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lhs-indexing/0005/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lhs-indexing/0005/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lhs-indexing/0006/cmd Command: mlr --ojson --from test/input/2.dkvp put -f test/cases/dsl-lhs-indexing/0006/mlr Miller DSL script: @abc[NR] = "def"; $ghi = @abc actualStdout [241]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "ghi": { "1": "def" } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "ghi": { "1": "def", "2": "def" } } ] expectedStdout [241]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "ghi": { "1": "def" } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "ghi": { "1": "def", "2": "def" } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lhs-indexing/0006/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lhs-indexing/0006/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lhs-indexing/0007/cmd Command: mlr --ojson --from test/input/2.dkvp put -f test/cases/dsl-lhs-indexing/0007/mlr Miller DSL script: @abc[FILENAME][NR] = "def"; $ghi = @abc actualStdout [313]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "ghi": { "test/input/2.dkvp": { "1": "def" } } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "ghi": { "test/input/2.dkvp": { "1": "def", "2": "def" } } } ] expectedStdout [313]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "ghi": { "test/input/2.dkvp": { "1": "def" } } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "ghi": { "test/input/2.dkvp": { "1": "def", "2": "def" } } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lhs-indexing/0007/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lhs-indexing/0007/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lhs-indexing/0008/cmd Command: mlr --ojson --from test/input/2.dkvp put -f test/cases/dsl-lhs-indexing/0008/mlr Miller DSL script: @abc[NR][FILENAME] = "def"; $ghi = @abc actualStdout [346]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "ghi": { "1": { "test/input/2.dkvp": "def" } } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "ghi": { "1": { "test/input/2.dkvp": "def" }, "2": { "test/input/2.dkvp": "def" } } } ] expectedStdout [346]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "ghi": { "1": { "test/input/2.dkvp": "def" } } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "ghi": { "1": { "test/input/2.dkvp": "def" }, "2": { "test/input/2.dkvp": "def" } } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lhs-indexing/0008/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lhs-indexing/0008/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lhs-indexing/0009/cmd Command: mlr --from test/input/2.dkvp --ojson put -f test/cases/dsl-lhs-indexing/0009/mlr Miller DSL script: @a = 3; $new=@a actualStdout [187]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "new": 3 }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "new": 3 } ] expectedStdout [187]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "new": 3 }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "new": 3 } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lhs-indexing/0009/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lhs-indexing/0009/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lhs-indexing/0010/cmd Command: mlr --from test/input/2.dkvp --ojson put -f test/cases/dsl-lhs-indexing/0010/mlr Miller DSL script: @a = 3; @a[1]=4; $new=@a actualStdout [191]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "new": [4] }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "new": [4] } ] expectedStdout [191]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "new": [4] }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "new": [4] } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lhs-indexing/0010/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lhs-indexing/0010/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lhs-indexing/0011/cmd Command: mlr --from test/input/2.dkvp --ojson put -f test/cases/dsl-lhs-indexing/0011/mlr Miller DSL script: @a = 3; @a[1]=4;@a[1][1]=5; $new=@a actualStdout [211]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "new": [ [5] ] }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "new": [ [5] ] } ] expectedStdout [211]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "new": [ [5] ] }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "new": [ [5] ] } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lhs-indexing/0011/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lhs-indexing/0011/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lhs-indexing/0012/cmd Command: mlr --from test/input/2.dkvp --ojson put -f test/cases/dsl-lhs-indexing/0012/mlr Miller DSL script: @a = 3; @a["x"]=4; $new=@a actualStdout [217]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "new": { "x": 4 } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "new": { "x": 4 } } ] expectedStdout [217]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "new": { "x": 4 } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "new": { "x": 4 } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lhs-indexing/0012/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lhs-indexing/0012/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-lhs-indexing/0013/cmd Command: mlr --from test/input/2.dkvp --ojson put -f test/cases/dsl-lhs-indexing/0013/mlr Miller DSL script: @a = 3; @a["x"]=4;@a["x"]["x"]=5; $new=@a actualStdout [255]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "new": { "x": { "x": 5 } } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "new": { "x": { "x": 5 } } } ] expectedStdout [255]: [ { "a": "pan", "b": "pan", "i": 1, "x": 0.34679014, "y": 0.72680286, "new": { "x": { "x": 5 } } }, { "a": "eks", "b": "pan", "i": 2, "x": 0.75867996, "y": 0.52215111, "new": { "x": { "x": 5 } } } ] actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-lhs-indexing/0013/cmd ---------------------------------------------------------------- end ./test/cases/dsl-lhs-indexing/0013/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-line-number-column-number/cond/cmd Command: mlr -n put -f test/cases/dsl-line-number-column-number/cond/mlr Miller DSL script: # line padding # line padding # line padding end { 0 { } } actualStdout [0]: expectedStdout [0]: actualStderr [91]: mlr: conditional expression did not evaluate to boolean at DSL expression line 5 column 3. expectedStderr [91]: mlr: conditional expression did not evaluate to boolean at DSL expression line 5 column 3. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-line-number-column-number/cond/cmd ---------------------------------------------------------------- end ./test/cases/dsl-line-number-column-number/cond/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-line-number-column-number/do-while/cmd Command: mlr -n put -f test/cases/dsl-line-number-column-number/do-while/mlr Miller DSL script: # line padding # line padding # line padding end { do { } while (0); } actualStdout [0]: expectedStdout [0]: actualStderr [92]: mlr: conditional expression did not evaluate to boolean at DSL expression line 6 column 12. expectedStderr [92]: mlr: conditional expression did not evaluate to boolean at DSL expression line 6 column 12. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-line-number-column-number/do-while/cmd ---------------------------------------------------------------- end ./test/cases/dsl-line-number-column-number/do-while/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-line-number-column-number/for/cmd Command: mlr -n put -f test/cases/dsl-line-number-column-number/for/mlr Miller DSL script: # line padding # line padding # line padding end { for (;0;) { } } actualStdout [0]: expectedStdout [0]: actualStderr [90]: mlr: for-loop continuation did not evaluate to boolean at DSL expression line 5 column 9. expectedStderr [90]: mlr: for-loop continuation did not evaluate to boolean at DSL expression line 5 column 9. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-line-number-column-number/for/cmd ---------------------------------------------------------------- end ./test/cases/dsl-line-number-column-number/for/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-line-number-column-number/if/cmd Command: mlr -n put -f test/cases/dsl-line-number-column-number/if/mlr Miller DSL script: # line padding # line padding # line padding end { if (0) { } } actualStdout [0]: expectedStdout [0]: actualStderr [91]: mlr: conditional expression did not evaluate to boolean at DSL expression line 5 column 7. expectedStderr [91]: mlr: conditional expression did not evaluate to boolean at DSL expression line 5 column 7. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-line-number-column-number/if/cmd ---------------------------------------------------------------- end ./test/cases/dsl-line-number-column-number/if/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-line-number-column-number/warn/cmd Command: mlr -n put -w -f test/cases/dsl-line-number-column-number/warn/mlr Miller DSL script: # line padding # line padding # line padding end { x = y; } actualStdout [0]: expectedStdout [0]: actualStderr [84]: Variable name y might not have been assigned yet at DSL expression line 5 column 7. expectedStderr [84]: Variable name y might not have been assigned yet at DSL expression line 5 column 7. actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-line-number-column-number/warn/cmd ---------------------------------------------------------------- end ./test/cases/dsl-line-number-column-number/warn/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-line-number-column-number/while/cmd Command: mlr -n put -f test/cases/dsl-line-number-column-number/while/mlr Miller DSL script: # line padding # line padding # line padding end { while (0) { } } actualStdout [0]: expectedStdout [0]: actualStderr [92]: mlr: conditional expression did not evaluate to boolean at DSL expression line 5 column 10. expectedStderr [92]: mlr: conditional expression did not evaluate to boolean at DSL expression line 5 column 10. actualExitCode: 1 expectedExitCode: 1 pass ./test/cases/dsl-line-number-column-number/while/cmd ---------------------------------------------------------------- end ./test/cases/dsl-line-number-column-number/while/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-load/0001/cmd Command: mlr --opprint --load test/stdlib --from test/input/abixy put -f test/cases/dsl-load/0001/mlr Miller DSL script: $fibo = fibo($i); $factorial = factorial($i); actualStdout [471]: a b i x y fibo factorial pan pan 1 0.34679014 0.72680286 1 1 eks pan 2 0.75867996 0.52215111 1 2 wye wye 3 0.20460331 0.33831853 2 6 eks wye 4 0.38139939 0.13418874 3 24 wye pan 5 0.57328892 0.86362447 5 120 zee pan 6 0.52712616 0.49322129 8 720 eks zee 7 0.61178406 0.18788492 13 5040 zee wye 8 0.59855401 0.97618139 21 40320 hat wye 9 0.03144188 0.74955076 34 362880 pan wye 10 0.50262601 0.95261836 55 3628800 expectedStdout [471]: a b i x y fibo factorial pan pan 1 0.34679014 0.72680286 1 1 eks pan 2 0.75867996 0.52215111 1 2 wye wye 3 0.20460331 0.33831853 2 6 eks wye 4 0.38139939 0.13418874 3 24 wye pan 5 0.57328892 0.86362447 5 120 zee pan 6 0.52712616 0.49322129 8 720 eks zee 7 0.61178406 0.18788492 13 5040 zee wye 8 0.59855401 0.97618139 21 40320 hat wye 9 0.03144188 0.74955076 34 362880 pan wye 10 0.50262601 0.95261836 55 3628800 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-load/0001/cmd ---------------------------------------------------------------- end ./test/cases/dsl-load/0001/cmd ---------------------------------------------------------------- begin ./test/cases/dsl-load/0002/cmd Command: mlr --opprint --mload test/stdlib/fibo.mlr test/stdlib/factorial.mlr -- --from test/input/abixy put -f test/cases/dsl-load/0002/mlr Miller DSL script: $fibo = fibo($i); $factorial = factorial($i); actualStdout [471]: a b i x y fibo factorial pan pan 1 0.34679014 0.72680286 1 1 eks pan 2 0.75867996 0.52215111 1 2 wye wye 3 0.20460331 0.33831853 2 6 eks wye 4 0.38139939 0.13418874 3 24 wye pan 5 0.57328892 0.86362447 5 120 zee pan 6 0.52712616 0.49322129 8 720 eks zee 7 0.61178406 0.18788492 13 5040 zee wye 8 0.59855401 0.97618139 21 40320 hat wye 9 0.03144188 0.74955076 34 362880 pan wye 10 0.50262601 0.95261836 55 3628800 expectedStdout [471]: a b i x y fibo factorial pan pan 1 0.34679014 0.72680286 1 1 eks pan 2 0.75867996 0.52215111 1 2 wye wye 3 0.20460331 0.33831853 2 6 eks wye 4 0.38139939 0.13418874 3 24 wye pan 5 0.57328892 0.86362447 5 120 zee pan 6 0.52712616 0.49322129 8 720 eks zee 7 0.61178406 0.18788492 13 5040 zee wye 8 0.59855401 0.97618139 21 40320 hat wye 9 0.03144188 0.74955076 34 362880 pan wye 10 0.50262601 0.95261836 55 3628800 actualStderr [0]: expectedStderr [0]: actualExitCode: 0 expectedExitCode: 0 pass ./test/cases/dsl-load/0002/cmd ---------------------------------------------------------------- end ./test/cases/dsl-load/0002/cmd FAILED CASE DIRECTORIES: ./test/cases/chaining/ ./test/cases/cli-csv-rs-environment-defaults/ ./test/cases/cli-getoptish/ ./test/cases/cli-mfrom/ ./test/cases/dsl-absent-empty/dsl-absent-empty/ ./test/cases/dsl-absent-empty/ ./test/cases/dsl-argpass-typedecl/ ./test/cases/dsl-array-map-indexing/ ./test/cases/dsl-arrayify/ ./test/cases/dsl-asserting/ ./test/cases/dsl-basic/ ./test/cases/dsl-begin-end/ ./test/cases/dsl-block-exit/ ./test/cases/dsl-break-continue/ ./test/cases/dsl-clean-whitespace/ ./test/cases/dsl-collection-equality/ ./test/cases/dsl-comments/ ./test/cases/dsl-concat/ ./test/cases/dsl-context-specific-validation/ ./test/cases/dsl-context-validation/ ./test/cases/dsl-depth/ ./test/cases/dsl-do-while/ ./test/cases/dsl-do-while-loops/ ./test/cases/dsl-dump-print/ ./test/cases/dsl-emit/ ./test/cases/dsl-emit-basic-indexing/ ./test/cases/dsl-emit-het/ ./test/cases/dsl-emit1/ ./test/cases/dsl-empty/ ./test/cases/dsl-empty-statements/ ./test/cases/dsl-env/ ./test/cases/dsl-extended-typeof/ ./test/cases/dsl-filter/ ./test/cases/dsl-filter-pattern-action/ ./test/cases/dsl-first-class-functions/ ./test/cases/dsl-flatten-unflatten/ ./test/cases/dsl-for-bind-loops-for-valgrind/ ./test/cases/dsl-for-map-depth/ ./test/cases/dsl-for-multi/ ./test/cases/dsl-for-one/ ./test/cases/dsl-for-oosvar-loops/ ./test/cases/dsl-for-srec-loops/ ./test/cases/dsl-for-two/ ./test/cases/dsl-for-variants/ ./test/cases/dsl-forbind-typedecl/ ./test/cases/dsl-format/ ./test/cases/dsl-from-file/ ./test/cases/dsl-func-decl-hoist/ ./test/cases/dsl-functional-tests/ ./test/cases/dsl-gmt-date-time-functions/ ./test/cases/dsl-haskey/ ./test/cases/dsl-if-chain/ ./test/cases/dsl-if-chaining/ ./test/cases/dsl-indexing/ ./test/cases/dsl-indirect-oosvar-assignments/ ./test/cases/dsl-indirect-srec-assignments/ ./test/cases/dsl-is-predicates/ ./test/cases/dsl-json-collection-output/ ./test/cases/dsl-json-parse-json-stringify/ ./test/cases/dsl-lashed-emitp-singles/ ./test/cases/dsl-latin1/ ./test/cases/dsl-leafcount/ ./test/cases/dsl-length/ ./test/cases/dsl-length-depth-leafcount/ ./test/cases/dsl-lhs-indexing/ ./test/cases/dsl-line-number-column-number/ ./test/cases/dsl-load/ ./test/cases/ NUMBER OF CASES PASSED 3090 NUMBER OF CASES FAILED 1317 NUMBER OF CASE-DIRECTORIES PASSED 188 NUMBER OF CASE-DIRECTORIES FAILED 68 FAIL overall make[1]: *** [debian/rules:14: override_dh_auto_test] Error 1 make[1]: Leaving directory '/build/reproducible-path/miller-6.6.0' make: *** [debian/rules:7: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration E: Failed autobuilding of package I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/57880 and its subdirectories Sun Jan 7 21:22:37 UTC 2024 W: No second build log, what happened?