Deleted Added
full compact
strfile.8 (48793) strfile.8 (49463)
1.\" Copyright (c) 1989, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\"
5.\" This code is derived from software contributed to Berkeley by
6.\" Ken Arnold.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE.
35.\"
36.\" @(#)strfile.8 8.1 (Berkeley) 6/9/93
1.\" Copyright (c) 1989, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\"
5.\" This code is derived from software contributed to Berkeley by
6.\" Ken Arnold.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE.
35.\"
36.\" @(#)strfile.8 8.1 (Berkeley) 6/9/93
37.\" $Id$
37.\" $Id: strfile.8,v 1.2 1999/07/12 20:30:26 nik Exp $
38.\"
39.Dd June 9, 1993
40.Dt STRFILE 8
41.Os BSD 4
42.Sh NAME
43.Nm strfile ,
44.Nm unstr
45.Nd "create a random access file for storing strings"

--- 10 unchanged lines hidden (view full) ---

56reads a file containing groups of lines separated by a line containing
57a single percent
58.Ql \&%
59sign and creates a data file which contains
60a header structure and a table of file offsets for each group of lines.
61This allows random access of the strings.
62.Pp
63The output file, if not specified on the command line, is named
38.\"
39.Dd June 9, 1993
40.Dt STRFILE 8
41.Os BSD 4
42.Sh NAME
43.Nm strfile ,
44.Nm unstr
45.Nd "create a random access file for storing strings"

--- 10 unchanged lines hidden (view full) ---

56reads a file containing groups of lines separated by a line containing
57a single percent
58.Ql \&%
59sign and creates a data file which contains
60a header structure and a table of file offsets for each group of lines.
61This allows random access of the strings.
62.Pp
63The output file, if not specified on the command line, is named
64.Ar source_file Ns Sy .out .
64.Ar source_file Ns Sy .dat .
65.Pp
66The options are as follows:
67.Bl -tag -width "-c char"
68.It Fl c Ar char
69Change the delimiting character from the percent sign to
70.Ar char .
71.It Fl i
72Ignore case when ordering the strings.

--- 59 unchanged lines hidden (view full) ---

132.Nm strfile
133is run and then using
134.Nm unstr
135to dump them out in the table order.
136.Sh SEE ALSO
137.Xr byteorder 3 ,
138.Xr fortune 6
139.Sh FILES
65.Pp
66The options are as follows:
67.Bl -tag -width "-c char"
68.It Fl c Ar char
69Change the delimiting character from the percent sign to
70.Ar char .
71.It Fl i
72Ignore case when ordering the strings.

--- 59 unchanged lines hidden (view full) ---

132.Nm strfile
133is run and then using
134.Nm unstr
135to dump them out in the table order.
136.Sh SEE ALSO
137.Xr byteorder 3 ,
138.Xr fortune 6
139.Sh FILES
140.Bl -tag -width strfile.out -compact
141.It Pa strfile.out
140.Bl -tag -width strfile.dat -compact
141.It Pa strfile.dat
142default output file.
143.El
144.Sh HISTORY
145The
146.Nm strfile
147utility first appeared in 4.4BSD.
142default output file.
143.El
144.Sh HISTORY
145The
146.Nm strfile
147utility first appeared in 4.4BSD.