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/