Hi!

I need to mangle a filename selected by the filerequestor, i.e.
I need to exchange one path component, thus doing something along
  sed -e 's/\(.*\)\/rp\/\(.*\)/\1\/cart\/\2/'

As I obviously cannot use parse with formats like "%s/rp/%s" I
need to do this different. Has anyone done something like that
before? I'll either try to do a generic sed module using regexp()
or a module like system which allows stdout being passed to dx
again (dont know how to do this with NT).

Which is the way you would prefer?

Richard.

--
Richard Guenther <[EMAIL PROTECTED]>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/
The GLAME Project: http://www.glame.de/

Reply via email to