DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T f

⟦a0a60e484⟧ TextFile

    Length: 1865 (0x749)
    Types: TextFile
    Names: »findsrc.man«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec1/shar/findsrc.man« 

TextFile

.TH FINDSRC 1 LOCAL
.\" $Header: findsrc.man,v 1.2 87/03/06 14:02:49 rs Exp $
.SH NAME
findsrc \- walk directories, trying to find source files
.SH SYNOPSIS
.B findsrc
[
.B \-.
] [
.BI \-d y_or_n
] [
.BI \-o output_file
] [
.B \-R
] [
.B \-S
] [
.B \-v
] [ file... ]
.SH DESCRIPTION
.I Findsrc
recursively examines all directories and files specified on the command
line, and determines, based on the file name, whether the file contains
source code or not.
All directories are listed first, followed by all regular files,
with one item per line.
.PP
If
.I findsrc
is unable to make a decision, it invokes the
.IR file (1)
command, and prompts the user for a decision.
In reply to the prompt, type the letter ``y'' or ``n'' (either case);
RETURN means yes.
If the reply starts with an exclamation point, the rest of the line
is passed off to a sub-shell and the question is repeated.
The ``\-d'' option may be used with an argument of ``y'' or ``n''
to by-pass the interaction, and provide a default answer.
.PP
The ``\-o'' option may be used to specify an output filename.
This is designed to prevent confusion if a command like the following
is executed:
.RS
findsrc . * >LIST
.RE
.PP
By default,
.I findsrc
ignores files whose names begin with a period, like ``.newsrc'' or
``.tags''; such files may be included by using the ``\-.'' option.
.I Findsrc
also normally ignores
.SM RCS
and
.SM SCCS
files and directories; using either the ``\-R'' or ``\-S'' option causes
both to be included.
.PP
.I Findsrc
normally lists only the names of those files that have been selected.
If the ``\-v'' option is used, rejected files are also listed preceeded
by the word ``PUNTED.''
.PP
If no files are specified on the command line, the program operates as
a filter, reading a list of files and directories from the standard
input, one per line.
.SH "SEE ALSO"
makekit(1L).