bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Enhancement Request: Accept list of files from stdin


From: Jim Thalmann
Subject: Enhancement Request: Accept list of files from stdin
Date: Mon, 8 Dec 2003 12:55:22 -0800

Hi,

I've been using id_utils on HP-UX 10.2 for a while now.  This mkid has
the useful feature of taking a list of source files from stdin.  This
allows one to be selective on a large scale about what source files are
and are not included in the dataset.  Some project which have several
different build targets would benefit from a selective ID database build
that didn't include each and every source file it found.

Yes, it's possible to include everything except the --prune specified
files.  Or to specify only the files and directories you want on the
command line.  Unfortunately these methods are limited to the length of
the command line, so they won't work on a large project.

It should be relatively simple for someone who knows the open-source
mkid source to implement the following feature, which takes a hyphen as
a FILE name designation for stdin:

    cat OnlySrcFilesIwanted | mkid -v -

The list of OnlySrcFilesIwanted could be derived using any mechanism the
operator chose.  This is how the HP-UX 10.2 mkid works.

Or one could do this:

    mkid -v -u OnlySrcFilesIwanted 

Where "-u" is a file containing a list the files to Use when generating
the ID database.

Thank you for maintaining mkid.  It is a very useful tool.

Bye,

--
JimT.
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]