Re: Constellations
- From: David Segall <david@xxxxxxxxxxxxxxx>
- Date: Sun, 04 Jan 2009 15:24:17 GMT
Patricia Shanahan <pats@xxxxxxx> wrote:
Roedy Green wrote:As I understand it Roedy wants to provide that list of files using
On Sat, 3 Jan 2009 17:32:16 +0000, Tom Anderson <twic@xxxxxxxxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :
Why not use find and xargs?
xargs runs the utility multiple times, with an arbitrary sublist of
the files each time. It is a tool to get around too short a command
line. I am after something so that the app can process all the files
at once as a lump, possibly consolidating them, sorting them etc.
I would see constellations as ways of describing files to back up,
to upload to ta website, to tidy, to search etc.
You want a set of dirs, with exceptions, and exceptions to the
exceptions, and exceptions based on regexes, extensions and wildcards.
When I have that sort of problem, I just make the program read a list of
files from standard input. The list of files can be built using any
tools the user likes - I use a mix of find, grep, and sed, but that is a
matter of taste and UNIX experience.
only XML. If he succeeds he can provide a DTD and, consequently, an
easy implementation in most modern IDEs. I think that is likely to be
simpler than your solution for those that don't know UNIX or a
comparable scripting language. Are you arguing that the list cannot be
expressed using XML or that expressing the list using a combination of
find, grep and sed would be significantly simpler than using XML?
.
- Follow-Ups:
- Re: Constellations
- From: Arne Vajhøj
- Re: Constellations
- References:
- Constellations
- From: Roedy Green
- Re: Constellations
- From: Arne Vajhøj
- Re: Constellations
- From: Tom Anderson
- Re: Constellations
- From: Roedy Green
- Re: Constellations
- From: Patricia Shanahan
- Constellations
- Prev by Date: Re: Java Web Start problem
- Next by Date: Switch case
- Previous by thread: Re: Constellations
- Next by thread: Re: Constellations
- Index(es):
Relevant Pages
|