[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #24561] find -ok should not redirect stdin
From: |
James Youngman |
Subject: |
[bug #24561] find -ok should not redirect stdin |
Date: |
Sun, 09 Nov 2008 12:09:33 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.3) Gecko/2008092814 Iceweasel/3.0.3 (Debian-3.0.3-3) |
Follow-up Comment #3, bug #24561 (project findutils):
Should we for whatever reason decide not to change the code,
address@hidden suggests an example:
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 to this item at:
<http://savannah.gnu.org/bugs/?24561>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/