sed version


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting sed version
# 1  
Old 05-07-2007
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  
Old 05-07-2007
sed -V should work..
-V, --version output version information and exit
# 3  
Old 05-07-2007
Re:sed version

No Its not working in HP-UX
# 4  
Old 05-07-2007
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  
Old 05-07-2007
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

OS version and Firmware version

Guys, How to find OS version and firmware version in LINUX? Like in AIX. uname -a will show me the version 5.3, 6.1,7.1. lsmcode -c will show me - system firmware image as SF240_417. What are the similar commands in Linux. I checked uname -a and cat /etc/release. uname... (1 Reply)
Discussion started by: ElizabethPJ
1 Replies

2. Shell Programming and Scripting

Copy a file from directroy/ prior version to the directory/ new version

How to copy a file from directroy/ prior version to the directory/ new version automatically. (4 Replies)
Discussion started by: roy1912
4 Replies

3. UNIX for Advanced & Expert Users

Advanced Search * View * Edit JAVA version to WORK in GLASSFISH Forum topic JAVA version

Would like to confirm the ff. I got confused actually with the version I needed to download that will work on glassfish 3.0.1 a. Debian Squeeze (HP DL360). Need to use java version6 On Debian, I did apt-get install sun-java6-jdk. So when I check it's java version "1.6.0_22" Java(TM) SE... (1 Reply)
Discussion started by: lhareigh890
1 Replies

4. Shell Programming and Scripting

version of OS

How to know the whether the system in IBM-AIX, or HP-UX or Sun Solaris? I have typed command "version" at the prompt and i got machine hardware: sun4us OS version:5.9 and more.... So is my system Sun Solaris Please let me know how can i find the OS (2 Replies)
Discussion started by: vasuarjula
2 Replies

5. Solaris

Migrate unix version 8 to version 9

i have a program writing in PRO C which currently running in unix version 8 tie with oracle 8i, but in the future company gonna migrate this OS to version 9. Anything i have to prepare for my PRO C program to run in unix version 9? or anything would that impact my program couldn't run well? what... (2 Replies)
Discussion started by: lsy
2 Replies

6. Shell Programming and Scripting

Single v. double quotes in sed (GNU utilities for Win32 version)

I'm using sed for Windows at a WinNT command prompt. Wrapping the expressions with single quotes doesn't work. I have to use double quotes. Is this the norm for the Windows implementation? (2 Replies)
Discussion started by: daddydojo
2 Replies

7. UNIX for Dummies Questions & Answers

What OS version am I on?

I'm trying to figure out the exact version of the AIX box I'm on. Like whether it's 5.1 or 5.2. I tried lsconf and smit but they didn't give the answer. Does anyone know a command that returns this value? I don't have root access. (3 Replies)
Discussion started by: rein
3 Replies

8. UNIX for Advanced & Expert Users

OS version

Hi, how find my OS version ? I tape uname -a : uname -a AIX servername 2 5 00C1B4AD4C00 What is then my OS version ? Many thanks. (2 Replies)
Discussion started by: big123456
2 Replies

9. Linux

what version

can someone tell me exactly what version of red hat i have? When i do a uname -a it pops up with 2.2.12-10 1999. thanks (1 Reply)
Discussion started by: kymberm
1 Replies
Login or Register to Ask a Question