tag 16095 notabug
stop

On 12/09/2013 09:09 PM, [email protected] wrote:
> 
> The --files0-from option appears to generate a spurious last iteration.
> 
> E.g.
> $ wc --files0-from=file_lis
>  20  51 343 nyi
>  25  88 526 parser
>   6   8  64 rx
> wc:                          # These lines appear to be bogus
> : No such file or directory  #
>  51 147 933 total
> 
> $ cat file_lis
> nyiparserrx
> 
> $ od -a file_lis
> 0000000   n   y   i nul   p   a   r   s   e   r nul   r   x nul  nl
> 0000017

Notice the \n at the end for the file.
With \0 as the file delimiter \n is allowed in file names
and thus considered a valid file name to inspect.

thanks,
Pádraig.




Reply via email to