2 ms·
> It makes everyone a little smarter > One thing Dan did here that I really appreciate was to document the commands he ran at each stage. This can be a great l
by Fnoord 7y ago
> It makes everyone a little smarter
> One thing Dan did here that I really appreciate was to document the commands he ran at each stage. This can be a great lightweight way to spread knowledge around a team. By reading this commit message, someone can learn quite a few useful tips about the Unix toolset:
> [..]
In the spirit of making everyone smarter: simplicity matters. Using the combination of find -print0 and piping that to xargs -0 is much easier than the mentioned abacadabra of characters.
From the xargs(1) manual:
> The options are as follows:
> -0 Change xargs to expect NUL (``\0'') characters as separators,
> instead of spaces and newlines. This is expected to be used in
> concert with the -print0 function in find(1).