The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
AIX version masquerer AIX 4 05-10-2008 10:34 PM
TAR version help!!! marlonus999 UNIX for Advanced & Expert Users 2 03-27-2007 02:18 PM
VERSIOn huhuloa UNIX for Dummies Questions & Answers 1 09-26-2005 07:06 AM
ssh version csaunders SUN Solaris 2 06-15-2005 04:49 PM
what version kymberm Linux 1 12-16-2003 01:12 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 Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
  #1 (permalink)  
Old 05-07-2007
tinivt tinivt is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 10
sed version

Hi,

Can anyone help me out in finding the version of sed being used.
any commands to find the version of sed.
  #2 (permalink)  
Old 05-07-2007
dennis.jacob dennis.jacob is offline Forum Advisor  
dj - the student
  
 

Join Date: Feb 2007
Location: Singapore/Bangalore/Cochin
Posts: 611
sed -V should work..
-V, --version output version information and exit
  #3 (permalink)  
Old 05-07-2007
tinivt tinivt is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 10
Re:sed version

No Its not working in HP-UX
  #4 (permalink)  
Old 05-07-2007
dennis.jacob dennis.jacob is offline Forum Advisor  
dj - the student
  
 

Join Date: Feb 2007
Location: Singapore/Bangalore/Cochin
Posts: 611
Quote:
Originally Posted by tinivt
No Its not working in HP-UX
Check this out:

http://hpux.cs.utah.edu/hppd/hpux/Gn...4.1.5/man.html
  #5 (permalink)  
Old 05-07-2007
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,131
Quote:
Originally Posted by jacoden

That link describes the functionality of the gnu version of sed. The Porting and Archive Centre has ported a lot of open source software to HP-UX including the gnu sed. But if you have the standard version of sed that comes with HP-UX this link would be more appropriate:
http://docs.hp.com/en/B2355-90690/sed.1.html

Asking which version of sed comes with HP-UX does not make a lot of sense. The version numbers would only be understood by someone deeply familiar with HP-UX. But the command "what /usr/bin/sed" should display them. But the way most HP-UX would proceed is to run "uname -a" as a start. If uname says you are running, say, HP-UX 11.0, then you would have the the HP-UX 11.0 version of sed. So the release of the OS is the first big factor. Next, you might ask which patches have been installed. If you are having trouble with sed, you might go looking for a sed patch. This is where that "what /usr/bin/sed" would come in. HP support might ask you to run that to see if you have the latest version of sed for HP-UX 11.0.

If you are asking if HP-UX has the extended features present in nawk on Solaris, the answer is yes.
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 11:26 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