bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xargs broke on GOW 0.8.0


From: Mike Morgan
Subject: xargs broke on GOW 0.8.0
Date: Tue, 25 Mar 2014 21:25:46 -0700

xargs is broke on the latest version of GOW 0.8.0


c:\Temp>xargs --version
GNU xargs version 4.2.20

c:\Temp>head policy.out
DMZS_Life_D_File_Wkly
DMZS_Life_D_File_Wkly
DMZS_Life_D_File_Wkly
DMZS_Life_P_Bkup_Bkuplp02_Wkly
DMZS_Life_P_File_Dly
DMZS_Life_P_File_Dly
DMZS_Life_P_File_Dly
DMZS_Life_P_File_Dly
DMZS_Life_P_File_Lpftp02v_Dly
DMZS_Life_P_File_Lpftp03v_Dly

c:\Temp>head policy.out  | xargs -0
xargs: echo: No such file or directory

c:\Temp>head policy.out  | xargs -n0
xargs: value for -n option should be >= 1
Usage: xargs [-0prtx] [-e[eof-str]] [-i[replace-str]] [-l[max-lines]]
       [-n max-args] [-s max-chars] [-P max-procs] [--null]
[--eof[=eof-str]]
       [--replace[=replace-str]] [--max-lines[=max-lines]] [--interactive]
       [--max-chars=max-chars] [--verbose] [--exit] [--max-procs=max-procs]
       [--max-args=max-args] [--no-run-if-empty] [--arg-file=file]
       [--version] [--help] [command [initial-arguments]]

Report bugs to <address@hidden>.

c:\Temp>head policy.out  | xargs
xargs: echo: No such file or directory

c:\Temp>head policy.out  | xargs -l
xargs: echo: No such file or directory
xargs: echo: No such file or directory
xargs: echo: No such file or directory
xargs: echo: No such file or directory
xargs: echo: No such file or directory
xargs: echo: No such file or directory
xargs: echo: No such file or directory
xargs: echo: No such file or directory
xargs: echo: No such file or directory
xargs: echo: No such file or directory



I normally expect xargs to behave like this:

mspnbu5220:/var/tmp/mike # cat !$
cat junkfile
arg1
arg2
arg3
arg4

mspnbu5220:/var/tmp/mike # cat junkfile | xargs
arg1 arg2 arg3 arg4

mspnbu5220:/var/tmp/mike # cat junkfile | xargs -l
arg1
arg2
arg3
arg4


mspnbu5220:/var/tmp/mike # xargs --version
xargs (GNU findutils) 4.4.0
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Eric B. Decker, James Youngman, and Kevin Dalley.
Built using GNU gnulib version e5573b1bad88bfabcda181b9e0125fb0c52b7d3b


mspnbu5220:/var/tmp/mike # xargs --help
Usage: xargs [-0prtx] [--interactive] [--null] [-d|--delimiter=delim]
       [-E eof-str] [-e[eof-str]]  [--eof[=eof-str]]
       [-L max-lines] [-l[max-lines]] [--max-lines[=max-lines]]
       [-I replace-str] [-i[replace-str]] [--replace[=replace-str]]
       [-n max-args] [--max-args=max-args]
       [-s max-chars] [--max-chars=max-chars]
       [-P max-procs]  [--max-procs=max-procs] [--show-limits]
       [--verbose] [--exit] [--no-run-if-empty] [--arg-file=file]
       [--version] [--help] [command [initial-arguments]]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]