connection: main: f:raw_ingredients | l:kitchen | l:quality_control | d:restaurant drain: restaurant: { destination: '-' } faucet: raw_ingredients: { source: './bats-tests/straight_through_pipe/input.txt' } launch: kitchen: cmd: gawk arg: - | { cmd = "echo "$0" | bc" cmd | getline res close(cmd); print INPUT": "$0": "res fflush() } quality_control: cmd: gawk arg: - | BEGIN { FS=":" } ($3 <= 88) { print "TOO_COLD:"$2":"$3; fflush(); next } ($3 >= 93) { print "TOO_HOT:"$2":"$3; fflush(); next } { print "JUST_RIGHT:"$2":"$3; fflush(); next }