xargs -0 touch < foo

Where foo is a file containing no NUL bytes that is longer than 128Kb.
If the file is shorter, I get an error from touch instead, which seems
reasonable (file name too long). But why does xargs complain?

In fact, I got the error message slightly wrong, it is:

"argument line too long"

-- 
xargs complains command line is too long, but kernel allows command lines of 
arbitrary length
https://bugs.launchpad.net/bugs/249937
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to