On 5/20/22 18:02, scsijon wrote: > > On 21/5/22 00:05, Rob Landley wrote: >> On 5/19/22 18:55, scsijon wrote: >>> https://www.gnu.org/software/tar/manual/html_section/transform.html#transform >>> is the refreance page for this. Look about halfway down for 's' and 'S'. >> >> I did: >> >> The expression is a sed-like replace expression of the form: >> s/regexp/replace/[flags] > > try > > s,regexp/replace/[flags]
$ tar c one --xform s,three/zero/ | tar t tar: Invalid transform expression > it should use sed correctly then, the problem is that transform > looks for it's flags first and can 'mess-up'. they have been told, > and the easy fix, but ignored the email. You could to test your suggestions against the tar on your own system. Just a thought. Rob _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
