Linus Torvalds writes: (Summary)
It doesn't work if you don't limit it to *.c files:
It doesn't work if you don't limit it to *.c files:
[torvalds@i7 linux]$ grep some-value $(find .)
-bash: /usr/bin/grep: Argument list too long
-bash: /usr/bin/grep: Argument list too long
so when the kernel expanded the argument list from the traditional 128kB, it was for _convenience_, it was not meant for people who do proper scripting and use xargs.
proper scripting and use xargs.
See the difference?
See the difference?
Oh, I can do that on Fedora too.
Oh, I can do that on Fedora too.
But the thing is, nobody actually seems to do that.
-bash: /usr/bin/grep: Argument list too long
-bash: /usr/bin/grep: Argument list too long
so when the kernel expanded the argument list from the traditional 128kB, it was for _convenience_, it was not meant for people who do proper scripting and use xargs.
proper scripting and use xargs.
See the difference?
See the difference?
[...]
999999999Oh, I can do that on Fedora too.
Oh, I can do that on Fedora too.
But the thing is, nobody actually seems to do that.