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:
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) {