Hello,

Thank you very much for your explanation and your patience.
But, for me, that line is magic :
$ echo ${foo/bar/baz}
http://mirror.sourceforge.net/baz-1.0.tar.bz2

For me,
$ echo ${foo/bar/baz} must do
http://mirror.sourceforge.net/bar-1.0.tar.bz2/baz-1.0.tar.bz2

So, it is just a replacement ?

Then, if I have an adress like that for ${foo} :
http://mirror.sourceforge.net/blablabla/bar-1.0.tar.bz2
so, ${foo/bar/baz} =
http://mirror.sourceforge.net/blablabla/baz-1.0.tar.bz2
?

And, if I have the same adress for ${foo},
so, ${foo/blablabla/bla} =
http://mirror.sourceforge.net/bla/bar-1.0.tar.bz2
?

It seems to be like "sed" if it is right, no ?

PS : Is my English is understandable ? I don't have the habit to expose what I had understood :-)
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to