home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] is "xargs" really still useful just for limiting command line size?

On 2018-03-16 10:26 AM, Shawn H Corey wrote:
git ls-files -z | xargs -0 grep 'function_name'

The -z separates the names with a ASCII NUL and the -0 (minus zero)
allows xarg to read them correctly. This is useful if the files have
spaces in their names.

Such files are not permitted to exist in my universe, and are cast down into the pit of hell where they belong.

Mike