summaryrefslogtreecommitdiff
path: root/usr.bin/xstr
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>2002-04-20 12:18:28 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>2002-04-20 12:18:28 +0000
commite8937ba00998cca6f259b3fdf32a7f7a38bc26ec (patch)
tree9eb4b7d718b67229ee4b8e61e9cad466a5a36945 /usr.bin/xstr
parent1c2451c24d59abde50b89c0d506523298e1ae1e1 (diff)
downloadsrc-test-e8937ba00998cca6f259b3fdf32a7f7a38bc26ec.tar.gz
src-test-e8937ba00998cca6f259b3fdf32a7f7a38bc26ec.zip
Use `The .Nm utility'
Notes
Notes: svn path=/head/; revision=95124
Diffstat (limited to 'usr.bin/xstr')
-rw-r--r--usr.bin/xstr/xstr.121
1 files changed, 11 insertions, 10 deletions
diff --git a/usr.bin/xstr/xstr.1 b/usr.bin/xstr/xstr.1
index 2adbcc74bc344..390e398a5248b 100644
--- a/usr.bin/xstr/xstr.1
+++ b/usr.bin/xstr/xstr.1
@@ -45,8 +45,9 @@
.Op Fl v
.Op Ar file
.Sh DESCRIPTION
-.Nm Xstr
-maintains a file
+The
+.Nm
+utility maintains a file
.Pa strings
into which strings in component parts of a large program are hashed.
These strings are replaced with references to this common area.
@@ -56,11 +57,9 @@ are also read-only.
Available options:
.Bl -tag -width Ds
.It Fl
-.Nm Xstr
-reads from the standard input.
+Read from the standard input.
.It Fl c
-.Nm Xstr
-will extract the strings from the C source
+Extract the strings from the C source
.Ar file
or the standard input
.Pq Fl ,
@@ -98,8 +97,9 @@ of the program.
If possible, the array can be made read-only (shared) saving
space and swap overhead.
.Pp
-.Nm Xstr
-can also be used on a single file.
+The
+.Nm
+utility can also be used on a single file.
A command
.Bd -literal -offset indent
xstr name
@@ -128,8 +128,9 @@ cc \-c x.c
mv x.o name.o
.Ed
.Pp
-.Nm Xstr
-does not touch the file
+The
+.Nm
+utility does not touch the file
.Pa strings
unless new items are added, thus
.Xr make 1