[File] [PATCH 1/1] doc: magic: Fix the 'clear' example
Luke Shumaker
lukeshu at lukeshu.com
Wed Mar 27 19:23:59 UTC 2024
From: "Luke T. Shumaker" <lukeshu at lukeshu.com>
---
doc/magic.man | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/magic.man b/doc/magic.man
index b9845f5c..2ee28774 100644
--- a/doc/magic.man
+++ b/doc/magic.man
@@ -1,5 +1,5 @@
.\" $File: magic.man,v 1.107 2024/03/01 02:57:32 christos Exp $
-.Dd February 29, 2024
+.Dd March 27, 2024
.Dt MAGIC __FSECTION__
.Os
.\" install as magic.4 on USG, magic.5 on V7, Berkeley and Linux systems.
@@ -764,7 +764,7 @@ If you have a list of known values at a particular continuation level,
and you want to provide a switch-like default case:
.Bd -literal -offset indent
# clear that continuation level match
-\*[Gt]18 clear
+\*[Gt]18 clear x
\*[Gt]18 lelong 1 one
\*[Gt]18 lelong 2 two
\*[Gt]18 default x
--
2.44.0
More information about the File
mailing list