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.
9 More Discussions You Might Find Interesting
1. Linux
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
2. UNIX for Advanced & Expert Users
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
3. UNIX for Dummies Questions & Answers
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
4. Shell Programming and Scripting
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
5. Solaris
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
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
7. UNIX for Advanced & Expert Users
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
8. Shell Programming and Scripting
How to copy a file from directroy/ prior version to the directory/ new version automatically. (4 Replies)
Discussion started by: roy1912
4 Replies
9. Red Hat
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
NWBPSET(1) nwbpset NWBPSET(1)
NAME
nwbpset - Create a bindery property or set its value
SYNOPSIS
nwbpset [ -h ] [ -S server ] [ -U user name ] [ -P password | -n ] [ -C ]
DESCRIPTION
nwbpset Reads a property specification from the standard input and creates and sets the corresponding property. The format is determined by
the output of 'nwbpvalues -c'. nwbpset will hopefully become an important part of the bindery management suite of ncpfs, together with
As another example, look at the following command line:
nwbpvalues -t 1 -o supervisor -p user_defaults -c |
sed '2s/.*/ME/'|
sed '3s/.*/LOGIN_CONTROL/'|
nwbpset
With this command, the property user_defaults of the user object 'supervisor' is copied into the property login_control of the user object
'me'.
nwbpvalues -t 1 -o me -p login_control -c |
sed '9s/.*/ff/'|
nwbpset
This command disables the user object me.
Feel free to contribute other examples!
nwbpset looks up the file $HOME/.nwclient to find a file server, a user name and possibly a password. See nwclient(5) for more information.
Please note that the access permissions of $HOME/.nwclient MUST be 600 for security reasons.
OPTIONS
-h
-h is used to print out a short help text.
-S server
server is the name of the server you want to use.
-U user
user is the user name to use for login.
-P password
password is the password to use for login. If neither -n nor -P are given, and the user has no open connection to the server, nwbpset
prompts for a password.
-n
-n should be given if no password is required for the login.
-C
By default, passwords are converted to uppercase before they are sent to the server, because most servers require this. You can turn off
this conversion by -C.
AUTHORS
nwbpset was written by Volker Lendecke. See the Changes file of ncpfs for other contributors.
nwbpset 8/7/1996 NWBPSET(1)