diff options
| author | dacctal <120422854+dacctal@users.noreply.github.com> | 2026-03-13 09:50:28 +0000 |
|---|---|---|
| committer | dacctal <120422854+dacctal@users.noreply.github.com> | 2026-03-13 09:50:28 +0000 |
| commit | c19258a3e31aabc1a0aca42cbf3d6af2eee61c8f (patch) | |
| tree | f0141b9db59be3c985da3bb17cf95dcf5134a85d /main.v | |
init
Diffstat (limited to 'main.v')
| -rw-r--r-- | main.v | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +import os + +fn main() { + if os.args.len <= 1 { + println("usage: prile [filename]...") + exit(1) + } + for arg in os.args[1..] { + if !os.is_file(arg) { continue } + println(os.read_file(arg) or {""}) + } +} |
