[hackers] [sbase] grep: Fix typo || Roberto E. Vargas Caballero
commit ee7ff4fb9583a15b89c54002a5b0000c7fe38746
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.net>
AuthorDate: Wed Nov 5 14:45:04 2025 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.net>
CommitDate: Wed Nov 5 14:45:04 2025 +0100
grep: Fix typo
diff --git a/grep.c b/grep.c
index 5520422..f541d44 100644
--- a/grep.c
+++ b/grep.c
_AT_@ -46,7 +46,7 @@ addpattern(const char *pattern)
patlen = strlen(pattern);
bol = pattern[0] == '^';
- eol = patlen > 0 && pattern[patlen - 1] == '$')
+ eol = patlen > 0 && pattern[patlen - 1] == '$';
if (!Fflag && xflag) {
tmp = enmalloc(Error, patlen + 3);
Received on Wed Nov 05 2025 - 14:45:21 CET
This archive was generated by hypermail 2.3.0
: Wed Nov 05 2025 - 14:48:37 CET