The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
A sed doubt - need explanation
.
User Name
Remember Me?
Password
google site
Forums
Register
Blog
Man Pages
Forum Rules
Links
Albums
FAQ
Users
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
A sed doubt - need explanation
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
09-18-2008
royalibrahim
Registered User
Join Date: Jun 2007
Posts: 104
A sed doubt - need explanation
Hi,
The following command works fine for me, but I could not grasp the logic working behind of
sed
command, it's obscure to me
Code:
echo "./20080916/core/audioex.amr" |
sed
"s%\([^.]\)/%\1_%g"
o/p
:
./20080916_core_audioex.amr
Could anyone please explain to me in detail, that how the
sed
is working here?
Remove advertisements
Sponsored Links
royalibrahim
View Public Profile
Find all posts by royalibrahim