[Toybox] "bad xform" not very helpful

enh enh at google.com
Tue Aug 16 10:07:00 PDT 2022


On Mon, Aug 15, 2022 at 11:33 PM Rob Landley <rob at landley.net> wrote:

> 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?
>

yeah.


> In theory I didn't intercept sed's stderr if it had a pattern parsing
> error that
> should pass through...?
>

yeah, it's not clear what the problem is here, especially because you say
you can't repro; i'll try myself and get back to you...


> Rob
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20220816/4bb8f0e2/attachment.htm>


More information about the Toybox mailing list