|
From: | Antonio |
Subject: | [bug #28237] strange behavior (maybe a bug, maybe not...) |
Date: | Wed, 09 Dec 2009 00:52:12 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 |
URL: <http://savannah.gnu.org/bugs/?28237> Summary: strange behavior (maybe a bug, maybe not...) Project: findutils Submitted by: antoniomac5 Submitted on: Wed 09 Dec 2009 00:52:11 GMT Category: find Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.4.0 Fixed Release: None _______________________________________________________ Details: $ mkdir "spa ce" new$'\n'line $ touch "spa ce/spa ce" $ touch new$'\n'line/new$'\n'line $ find . -depth -regextype posix-egrep -regex ".*[[:cntrl:] ].*" -execdir rename 's/[[:cntrl:] ]/_/g' {} \; $ ls -bR .: new_line/ spa_ce/ ./new_line: new\nline ./spa_ce: spa_ce ################## rename (prename) alone works good _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?28237> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |