Fri 11 May 2012 05:16:28 PM UTC, original submission:
I ran an xargs(1) command in the BSD implementation with success and posted the result at [url=http://board.phpbuilder.com/board/showthread.php?t=10384409 PHPBuilder]. Lo & behold, it didn't work in a seven-year old version of GNU xargs(1) ... unless we changed the invocation to put "-I" last, before argument.
On GNU IRC's #gnu, user leo_rockway tested with findutils version 4.4.2, which appears to be the latest available on most(?) public [url=http://ftp.gnu.org/pub/gnu/findutils/ FTP sites].
To recap, this works in a non-GNU xargs(1) implementation:
However, with GNU xargs(1) <=4.4.2, this results in convert complaining:
Changing the invocation of GNU xargs(1) to this:
Allows convert to function normally and complete the command (i.e. it gets the correct arguments). The only difference seems to be the location of the "-I" parameter.
I do apologize if this has been fixed since 4.4.2 --- I see that several other 'releases' seem to be in the Fixed Release selector, but, as I mentioned, I don't see them on the public FTP sites. I'm a bit of a "newb" where GNU/Linux are concerned, having spent years with the BSD family of OSen. Thanks for your time and contributions.
|