On 2018-01-24 12:44, David T-G wrote:
Carlos & jdd, et al --
...and then Carlos E. R. said... % % On Tuesday, 2018-01-23 at 23:08 -0500, David T-G wrote:
... % % Ok, then, adapting another example in the info find page, this: % % find -printf "%3n %-8u %-8g %8s %T+ %p\n->%l\0" | cat
Interesting... Why bother to null-terminate if you aren't sending to xargs with -0? Although I do see a newline \n in there, so I really should try it ... later.
No idea, I just took an example from the documentation; it should be correct ™ Sigh.
% % (which fails on the '.' entry, by the way)
Try
find * .??* -printf ...
to avoid it. [Hmmm... That might break on weird characters again.] Maybe
find ./ -printf ...
but I doubt it. Of course, you could always just jump past the first line, too, but that's cheating :-)
-- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)