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
Alternative to date +%s Data469 HP-UX 6 03-31-2008 03:28 PM
alternative for mailx achneaz1 Shell Programming and Scripting 1 10-18-2007 01:29 AM
Using awk (or an alternative) michaeltravisuk Shell Programming and Scripting 5 03-08-2007 11:37 PM
.NET Alternative goon12 UNIX for Dummies Questions & Answers 3 04-06-2005 12:07 PM
cut -f (or awk alternative) gefa Shell Programming and Scripting 6 03-02-2005 01:26 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-17-2008
aixjadoo aixjadoo is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 32
an alternative of sed command..--imp

Hi

Is there a better alternative to sed command..

or any command as an alternate to sed.

Thanks!!
  #2 (permalink)  
Old 06-17-2008
vino's Avatar
vino vino is offline Forum Staff  
Supporter (in vino veritas)
  
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,798
Quote:
Originally Posted by aixjadoo View Post
Hi

Is there a better alternative to sed command..

or any command as an alternate to sed.

Thanks!!
Perl. It is not an alternative but works similar to sed and much more.
  #3 (permalink)  
Old 06-17-2008
aixjadoo aixjadoo is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 32
can u telll how the perl command replicates the funtionality of sed..

I mean the syntax

thanks!
  #4 (permalink)  
Old 06-17-2008
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,749
I'm guessing:
You do not understand regular expressions, so a lot of sed examples do not make sense.
try this to get started understanding sed -
sed, a stream editor

There is a section on learning about regular expressions. perl uses regular expressions as well. so does awk. Along with grep (uses regex as well) these utilities are probably the most commonly used tools on unix systems. So learning a little bit about regex ( regular expresssions) is very important.
Closed Thread

Bookmarks

Tags
perl, perl regex, regex, regular expressions

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 08:02 AM.


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