- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- searhing multiple words in vi
Operating System - HP-UX
1753563
Members
5948
Online
108796
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО08-08-2006 12:37 PM
тАО08-08-2006 12:37 PM
Hi,
Is there a command to search in vi words
which starts with a paricular word and ends with another particular word ?
I know the command which searches only one word in vi.
Thanks,
Shiv
Is there a command to search in vi words
which starts with a paricular word and ends with another particular word ?
I know the command which searches only one word in vi.
Thanks,
Shiv
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2006 01:41 PM
тАО08-08-2006 01:41 PM
Solution
Shalom Shiv,
Shlash to start the search function.
"Search vi"
Enclose the search parameter in double quotes.
This stops the tool from interpreting the space as end of search parameter.
SEP
Shlash to start the search function.
"Search vi"
Enclose the search parameter in double quotes.
This stops the tool from interpreting the space as end of search parameter.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2006 01:48 PM
тАО08-08-2006 01:48 PM
Re: searhing multiple words in vi
You can do text matching for any phrase (within a single line) that starts with word1 and ends with word2 like so:
:/word1.*word2
The . signifies any character and the * means zero or more of the character just specified, so together they means zero or more of any character.
:/word1.*word2
The . signifies any character and the * means zero or more of the character just specified, so together they means zero or more of any character.
Decay is inherent in all compounded things. Strive on with diligence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2006 03:32 PM
тАО08-08-2006 03:32 PM
Re: searhing multiple words in vi
Hi Shiv,
vi cheat sheet which contains many tips and tricks : http://www.lagmonster.org/docs/vi.html
-Arun
vi cheat sheet which contains many tips and tricks : http://www.lagmonster.org/docs/vi.html
-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP