[Toybox] [PATCH] find: support -printf \0 octal escapes and \c.
enh
enh at google.com
Sat Aug 31 21:31:27 PDT 2019
I think when I wrote this I tested the named escapes like \n and hex
escapes, and when I found \x wasn't supported I didn't even think of
octal. And I only learned about \c when I was looking at echo and printf
to compare their escape implementations a few weeks back.
Add the missing escapes and corresponding tests.
Fixes #139.
---
tests/find.test | 7 +++++++
toys/posix/find.c | 10 +++++++++-
2 files changed, 16 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-find-support-printf-0-octal-escapes-and-c.patch
Type: text/x-patch
Size: 2398 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190831/718a10c6/attachment.bin>
More information about the Toybox
mailing list