Marc
Le dim 24/11/2002 à 22:24, bbogart@ryerson.ca a écrit :
Hi all,
I need to create a message as follows (a gem pix_image open command)
open ../../db/0/10
Where 0 and 10 are numbers generated by math objects, its a hierarhcy of Images I'm mapping to an equation.
Its a lot like makefilename, but I need to do two subsitutions.
Best solution would be something like printf which replaces a placeholder with incoming data:
pack 0 10 | foo "open ../../db/%s/%s"
fine if it can only do strings... I looked in the pdb without luck, any suggestions?
Thanks Ben
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list