git: 7df526eb10c9 - main - look(1): Correct the example's description
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 11 Dec 2023 18:21:58 UTC
The branch main has been updated by lwhsu:
URL: https://cgit.FreeBSD.org/src/commit/?id=7df526eb10c9095e4988e77900f60ba00c42b095
commit 7df526eb10c9095e4988e77900f60ba00c42b095
Author: Raghu Ranganathan <razetime@gapp.nthu.edu.tw>
AuthorDate: 2023-11-30 12:57:35 +0000
Commit: Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2023-12-11 18:19:21 +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
---
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 ff868d129a84..7d0b74b43486 100644
--- a/usr.bin/look/look.1
+++ b/usr.bin/look/look.1
@@ -95,7 +95,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