The UNIX and Linux Forums  

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
Processes by User's actual names kartikkumar84@g Shell Programming and Scripting 1 05-22-2008 08:52 AM
Processes by Actual names kartikkumar84@g UNIX for Dummies Questions & Answers 2 05-13-2008 03:03 PM
actual filesystem size during backup shorty UNIX for Dummies Questions & Answers 1 02-20-2008 03:05 PM
Need actual bootpd for solaris johnnypark SUN Solaris 0 04-28-2005 07:51 AM
Actual Memory Usage gelbvonn UNIX for Dummies Questions & Answers 5 05-11-2004 07:13 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #8  
Old 09-19-2005
vino's Avatar
Supporter (in vino veritas)
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,683
Possibly your sed version could be the culprit in this case.

I am using this sed

Code:
sh-2.05b$ sed -V
GNU sed version 4.0.7
vino
Reply With Quote
Forum Sponsor
  #9  
Old 09-19-2005
Registered User
 

Join Date: Mar 2005
Posts: 48
Vino,
See below:

sed -V
sed: illegal option -- V

???????
Reply With Quote
  #10  
Old 09-19-2005
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,590
Not strictly speaking what you asked for, but should do what you want.

Code:
sed -e 's#/\./[./]*#/\./#g' file
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:43 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0