On Feb 7, 2008 2:01 PM, Stefan Baebler <[EMAIL PROTECTED]> wrote: > > > Would "-" have a meaning somewhere else? read xml change, write xml > > > ... all file operations perhaps? > > Yep, ideally this should be done for all tasks with a file argument. > It still won't be possible to use 2 input streams (eg planet.osm + > planet.osc) on stdin, but at least one (probably bigger source) as it > was now with /dev/stdin. Named pipes could solve that, but AFAIK they > are not supported in Java. Sockets could work, but are not as > convenient for scripting.
Actually, named pipes would work, since osmosis doesn't seek. Something like: mkfifo /tmp/buffer bzcat x.bz2 >/tmp/buffer & osmosis .... --read /tmp/buffer rm /tmp/buffer Should do fine. Have a nice day, -- Martijn van Oosterhout <[EMAIL PROTECTED]> http://svana.org/kleptog/ _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

