bore

basic core utilities (PD)
git clone git://bvnf.space/bore.git
Log | Files | Refs | README

commit 363562f945625d981fd2a389d83738a3f7b84b0a
parent 76fba6a8af46436c47ce09e5478417b0d2a041fa
Author: phoebos <ben@bvnf.space>
Date:   Sun, 27 Mar 2022 17:53:46 +0100

grep: stdin is called standardinput in POSIX locale

according to the spec

Diffstat:
Mgrep.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grep.c b/grep.c @@ -135,7 +135,7 @@ main(int argc, char **argv) { char *fname = NULL; if (**argv == '-' && *(*argv + 1) == '\0') { f = stdin; - fname = "stdin"; + fname = "standardinput"; } else { f = fopen(*argv, "r"); if (f == NULL) {