- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: grep '-w' option
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2001 05:27 PM
тАО11-29-2001 05:27 PM
is this option not available under HP-UX?
(On Solaris, the help for this grep option reads:
-w Search for the expression as a word as
if surrounded by \< and \>.
Is this implying a generic alternative?)
System is HP-UX B.11.00.
Thanks for any info...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2001 12:32 AM
тАО11-30-2001 12:32 AM
Re: grep '-w' option
you can use grep -w under HP/UX 11i, having the same characteristics as the Solaris one.
HTH,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2001 01:26 AM
тАО11-30-2001 01:26 AM
SolutionI believe that 'grep' that comes with the standard HPUX 11.00 (that I use) does not have the '-w' option. You can use, instead, grep-2.5a, that does.
You can take it from:
http://hpux.tn.tudelft.nl/hppd/hpux/Gnu/grep-2.5a/
the man page (read it before installing it, to see it supports '-w' ;) ) is at:
http://hpux.tn.tudelft.nl/hppd/hpux/Gnu/grep-2.5a/man.html
hope this helps,
E.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2001 02:39 AM
тАО11-30-2001 02:39 AM
Re: grep '-w' option
HTH,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2001 09:20 AM
тАО11-30-2001 09:20 AM
Re: grep '-w' option
looks like GNU is the way to go... :-)