The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Replace spaces recursively
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Replace spaces recursively
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
08-31-2007
ahmedwaseem2000
Registered User
Join Date: Aug 2005
Location: Bangalore
Posts: 219
Try This:
Code:
find . -name "*" |
sed
'1,$s/ /\-/g; s/\-\-/\-/g'
ahmedwaseem2000
View Public Profile
Find all posts by ahmedwaseem2000
Find ahmedwaseem2000's past nominations received
Find ahmedwaseem2000's present nominations given