[Toybox] "bad xform" not very helpful
Rob Landley
rob at landley.net
Mon Aug 15 23:41:04 PDT 2022
On 8/15/22 15:52, enh via Toybox wrote:
> the kernel folks are trying to use `tar --transform` and getting the "bad xform"
> error that's not really helping them much. it seems like it would be hard to
> list the _relevant_ sed expression(s), so perhaps just showing the specific
> filename we tried that failed is a better choice?
Something like error_exit("bad xform '%s' on '%s'", TT.xfsed, hname); you mean?
In theory I didn't intercept sed's stderr if it had a pattern parsing error that
should pass through...?
Rob
More information about the Toybox
mailing list