On 08/28/2019 07:21:31 PM, Rob Landley wrote: > On 8/28/19 5:15 PM, William Haddon wrote: > > I'm slightly confused about how the existing code is supposed to > handle > > filenames with tabs followed by digits. > > It doesn't, but I thought it would handle the rest of them. But it > turns out it > doesn't because diff -u quotes filenames in that case, so I need to > make a > bigger patch to dequote filenames and add test cases to the test > suite > for that. > (Hard part's figuring out which character trigger quoting, but I've > got ls > torture test plumbing I can repurpose for that...) > > And then yes, a tab would end the line. :) > > Rob
For what it's worth, some older GNU tools I have generate diffs that contain tab and newline characters for files with these characters in their names, but I can not find a patch utility that successfully applies them. > _______________________________________________ > Toybox mailing list > [email protected] > http://lists.landley.net/listinfo.cgi/toybox-landley.net > _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
