bug-findutils
[Top][All Lists]
Advanced

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

Re: -ok not totally OK


From: jidanni
Subject: Re: -ok not totally OK
Date: Sun, 09 Nov 2008 06:14:46 +0800

JY> If you would like to propose an illustrative problem for which
JY> your workaround is the most effective solution, we can probably
JY> include that in the documentation as an example.

OK, please mention something like:
-ok in contrast to -exec, has its stdin redirected for various reasons.
To workaround this, where one would normally use -ok, one should use e.g.,
-ok true \; -exec ed {} \; #to edit selected files
-ok true \; -exec mplayer {} \; #to play selected songs





reply via email to

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