git: 4f7562588931 - stable/14 - look(1): Correct the example's description
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Oct 2024 03:57:25 UTC
The branch stable/14 has been updated by lwhsu:
URL: https://cgit.FreeBSD.org/src/commit/?id=4f7562588931ab0b7822c15ba1b6e36ab54cebed
commit 4f7562588931ab0b7822c15ba1b6e36ab54cebed
Author: Raghu Ranganathan <razetime@gapp.nthu.edu.tw>
AuthorDate: 2023-11-30 12:57:35 +0000
Commit: Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2024-10-21 03:57:01 +0000
look(1): Correct the example's description
Remove an extra 'e' in the example command. It is a prefix, not a typo.
This is from the Advanced UNIX Programming Course (Fall’23) at NTHU.
MFC after: 3 days
Pull Request: https://github.com/freebsd/freebsd-src/pull/913
(cherry picked from commit 7df526eb10c9095e4988e77900f60ba00c42b095)
---
usr.bin/look/look.1 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr.bin/look/look.1 b/usr.bin/look/look.1
index aa0cb771fea7..94506a504e34 100644
--- a/usr.bin/look/look.1
+++ b/usr.bin/look/look.1
@@ -97,7 +97,7 @@ utility exits 0 if one or more lines were found and displayed,
1 if no lines were found, and >1 if an error occurred.
.Sh EXAMPLES
Look for lines starting with
-.Ql xylene
+.Ql xylen
in the file
.Pa /usr/share/dict/words :
.Bd -literal -offset indent