![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AIX version | masquerer | AIX | 4 | 05-10-2008 06:34 PM |
| TAR version help!!! | marlonus999 | UNIX for Advanced & Expert Users | 2 | 03-27-2007 10:18 AM |
| VERSIOn | huhuloa | UNIX for Dummies Questions & Answers | 1 | 09-26-2005 03:06 AM |
| ssh version | csaunders | SUN Solaris | 2 | 06-15-2005 12:49 PM |
| what version | kymberm | Linux | 1 | 12-16-2003 10:12 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
sed version
Hi,
Can anyone help me out in finding the version of sed being used. any commands to find the version of sed. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
sed -V should work..
-V, --version output version information and exit |
|
#3
|
|||
|
|||
|
Re:sed version
No Its not working in HP-UX
|
|
#4
|
|||
|
|||
|
Quote:
http://hpux.cs.utah.edu/hppd/hpux/Gn...4.1.5/man.html |
|
#5
|
||||
|
||||
|
Quote:
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. |
||||
| Google The UNIX and Linux Forums |