From 346b90e213bfdf04606372fced4dfe4dd1fb5de8 Mon Sep 17 00:00:00 2001 From: Hiroaki Izu <7583548+akihiro17@users.noreply.github.com> Date: Wed, 3 Jul 2024 06:30:17 +0900 Subject: [PATCH] Use `$(< file)` instead of `$(cat file)` (#264) --- src/std/main.ab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/std/main.ab b/src/std/main.ab index 5aa531c6..187d6967 100644 --- a/src/std/main.ab +++ b/src/std/main.ab @@ -31,7 +31,7 @@ pub fun file_exist(path) { } pub fun file_read(path) { - return $cat "{path}"$? + return $< "{path}"$? } pub fun file_write(path, content) {