Re: Constellations



Patricia Shanahan <pats@xxxxxxx> wrote:

Roedy Green wrote:
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.
As I understand it Roedy wants to provide that list of files using
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?
.



Relevant Pages

  • Re: Constellations
    ... You want a set of dirs, with exceptions, and exceptions to the ... only XML. ... expressed using XML or that expressing the list using a combination of ...
    (comp.lang.java.programmer)
  • Re: Print the exceptions of a Standard Calendar with descriptions.
    ... "JulieS" wrote: ... Yes, saving it as an XML does show the names of the exceptions, ... does not print the descriptions of the other non-working days I ...
    (microsoft.public.project)
  • Re: XML Parser in EVC++ 4.0
    ... parser, the customer, who was using the MSXML parser, would see a ... Do you mean that it just fails to keep parsing the data ... on you (and not just the spurios messages about it throwing exceptions ... If you really want to be able to parse any garbage XML thrown at you (or as ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Constellations
    ... Why not use find and xargs? ... You want a set of dirs, with exceptions, and exceptions to the ... PM Steven Harper is fixated on the costs of implementing Kyoto, estimated as high as 1% of GDP. ...
    (comp.lang.java.programmer)
  • Re: Print the exceptions of a Standard Calendar with descriptions.
    ... Yes, saving it as an XML does show the names of the exceptions, ... does not print the descriptions of the other non-working days I ... a way to printout the name of the non-working days? ...
    (microsoft.public.project)