shell-script-pt
[Top][All Lists]
Advanced

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

Re: [shell-script] Acho que eh eval


From: Ricardo A. Reis
Subject: Re: [shell-script] Acho que eh eval
Date: Fri, 29 Apr 2005 17:01:43 -0300
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050326)

Felipe Kellermann wrote:

OBS1: No caso do xargs tambem tem problemas com espacos.
  Tanto as versoes GNU e BSD utilizam do -0 ou --null

----- GNU-
--null, -0
Input filenames are terminated by a null character instead of by whitespace, and the quotes and backslash are not special (every character is taken literally). Disables the end of file string, which is treated like any other argument. Useful when arguments might contain white space, quote marks, or backslashes. The GNU find -print0 option produces input suitable for this mode.

----BSD-(NetBSD)

-0 Use NUL (``\0'') instead of whitespace as the argument sepa-
                rator.  This can be used in conjunction with the -print0
                option of find(1).

OBS2: Nao recomendo o uso do `for' justamente por isso.
Concordo com isso, preciso rever alguns scripts onde eu consegui resolver isso sem while, contudo isso e' um outra historia!!



OBS: Alguem leu meu email sobre DEBUG?



reply via email to

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