- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sorting and searching
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
Forums
Discussions
Discussions
Discussions
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
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
03-19-2003 11:34 AM
03-19-2003 11:34 AM
2 quick ones today:
1- is there a "sort" program that works on columns instead of fields?
2- How can I browze previous forum history for questions similar to the one I have?
Merci!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 11:43 AM
03-19-2003 11:43 AM
Solution1) Yes, use a restricted sort key:
field_start[type][,field_end[type]]
...which defines a key field beginning at field_start and ending at field_end. See the 'sort' man pages for more information.
You may also want to define the 'field' delimiter. In that case use the 't delimiter' option, too.
2) As for the Forum 'search', click the SEARCH button on the upper left of any page!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 11:44 AM
03-19-2003 11:44 AM
Re: Sorting and searching
Click on the search button on the upper left side of the page - under the HP logo. Check the various options (any word, exact phrase), how you want the output presented (results per page, sort order), click where you want to search (ITRC forums, patch database), key in your search phrase and press the search button.
Question 1 - I'm not sure what you mean.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 11:53 AM
03-19-2003 11:53 AM
Re: Sorting and searching
for example if you want sort bdf command on its fourth field
bdf | sort -nk4
Use -rnk for reverse order.
For second questions click on search and check on community forums to browse on forums
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 11:57 AM
03-19-2003 11:57 AM
Re: Sorting and searching
thanks!
I actually found out how to search by myself... Incredible!
As for the sort question, the "Search" engine returned a hit with the exact answer I wanted:
sort -k
Thanks again.
And I DID assign points.
Please let me know if they don't appear because that seems to happen at times... can't figure out why.
Take care.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 12:04 PM
03-19-2003 12:04 PM
Re: Sorting and searching
In this case it would appear that it's time for a retry.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2003 05:34 AM
03-20-2003 05:34 AM
Re: Sorting and searching
Here goes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2003 05:41 AM
03-20-2003 05:41 AM
Re: Sorting and searching
Merci
Pete