ref: 9bf446ab7795f7397bc4fb7ae9e46ce14c3f679c
dir: /test/catfile.myr/
/* checks that we can read a data file. */ use std const main = {args : byte[:][:] var r r = std.slurp("data/catfile-in") match r | `std.Ok dat: std.write(1, dat) | `std.Err msg: std.put("Failed to read file: {}\n", msg) ;; }