The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
zip utility on HP-UX jgutierrez29 UNIX for Dummies Questions & Answers 1 06-22-2005 03:10 PM
AWK utility malaymaru UNIX for Dummies Questions & Answers 3 05-05-2005 01:27 AM
BRU utility sherbet808 UNIX Desktop for Dummies Questions & Answers 7 06-20-2003 10:22 AM
sar utility srinivasp UNIX for Advanced & Expert Users 2 11-15-2002 11:31 AM
awk utility dilipluhar High Level Programming 2 06-19-2001 05:13 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-04-2005
malaymaru malaymaru is offline
Registered User
  
 

Join Date: May 2005
Posts: 54
Sed utility

Hi,

Can you explain little bit with example regarding SED utility in UNIX?
How iit is different then grep command?

Thanks in advance.

Malay
  #2 (permalink)  
Old 05-04-2005
vibhor_agarwali vibhor_agarwali is offline
Registered User
  
 

Join Date: Jan 2005
Posts: 259
sed is the stream editor.

Generally used to search and replace some parameters, while its capability is enormous.

Eg. if you want to replace all a with b then

echo abca | sed 's/a/b/g'
bbcb
  #3 (permalink)  
Old 05-04-2005
malaymaru malaymaru is offline
Registered User
  
 

Join Date: May 2005
Posts: 54
Thanks for the reply.

Can you give me a proper link/documents where I can take a look for SED.

Malay
  #4 (permalink)  
Old 05-04-2005
vibhor_agarwali vibhor_agarwali is offline
Registered User
  
 

Join Date: Jan 2005
Posts: 259
How about
man sed
  #5 (permalink)  
Old 05-04-2005
RishiPahuja's Avatar
RishiPahuja RishiPahuja is offline
Registered User
  
 

Join Date: Apr 2005
Location: Bangalore, India
Posts: 203
Sed is the stream line editior where u can do the editing on the fly.
The power provided by sed is enormous.

Grep is used simply for pattern matching in the files.

With sed u can write ur own grep

best reference is man for the OS u r using.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:21 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0