- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: SEARCH argument - opinion asked
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
10-12-2004 07:24 AM
10-12-2004 07:24 AM
SEARCH argument - opinion asked
At the Dutch edition of the Technical Update Days today (GREAT event!! They move to London Thursday & Friday, then Austra somewhere - didn't get where exactly - Monday & Tuesday, and then Frankfurt a.M. Thurstday & Friday IIRC. Pick one, but, Europeans, BE THERE!!) and one of the sessions was by Guy Peleg on DCL enhancements.
Of course he ended asking for customer input, and one of the suggestions was for SEARCH
to incluse end-of-line in the argument.
One quick, non-trivial example: Find the lines NOT ending on "."
That would be done by
$ pipe SEARCH
Another example:
Find all line beginning with "abc"
$ SEARCH
After some discussion the temporary conclusion was to go after user reactions eighther in support of the idea, or not interested.
So,
what does our ITRC crowd think?
I will stand as the second vote in support(obviously the first vote goes to Frits Storms as the suggester).
Cheers.
Havo one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 07:51 AM
10-12-2004 07:51 AM
Re: SEARCH argument - opinion asked
NO...
How can there even be a discusion on this?!
There is only one way to solve this: Regular expressions!
The EOL anchor is "$"
The BOL anchor is "^"
That's just the way it is... in Unix land.
If you need to search for either character then either disable, or do not request, regexprs. Or 'escape' them with a "\".
Why "\"? Because that is just the way it is... in Unix land.
;-) ;-) ;-)
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 07:53 AM
10-12-2004 07:53 AM
Re: SEARCH argument - opinion asked
But in that case I rather like to see full support for regular expressions. Well, I guess that is what 'grep' is for ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 08:23 AM
10-12-2004 08:23 AM
Re: SEARCH argument - opinion asked
http://h71000.www7.hp.com/freeware/freeware60/find015/
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 08:29 AM
10-12-2004 08:29 AM
Re: SEARCH argument - opinion asked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 09:06 AM
10-12-2004 09:06 AM
Re: SEARCH argument - opinion asked
So my vote is for but with caution to backward compatibility.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 10:55 AM
10-12-2004 10:55 AM
Re: SEARCH argument - opinion asked
>If part or whole regexp (or something similar) will be implemented in SEARCH there must be a qualifier (say /REGEXP or something like this)
As of V8.2, SEARCH has a new qualifier: /WILDCARD_MATCHING allowing * (match any string) and % (match any single character) to be used as wildcards in the search string. There's also /SKIP=n to skip the first n matches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 08:08 PM
10-12-2004 08:08 PM
Re: SEARCH argument - opinion asked
the new support for VMS wildcards in SEARCH V8.2 looks good and I see can see uses for it. However I still think regular expression support (selected with a new qualifier) would also be useful.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 11:09 PM
10-12-2004 11:09 PM
Re: SEARCH argument - opinion asked
I agree with John, to keep SEARCH as simple as possible. But this one is quite trivial.
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 11:36 PM
10-12-2004 11:36 PM
Re: SEARCH argument - opinion asked
:-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 12:13 AM
10-13-2004 12:13 AM
Re: SEARCH argument - opinion asked
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 01:15 AM
10-13-2004 01:15 AM
Re: SEARCH argument - opinion asked
Keep SEARCH simple, new qualifier for regoular expression.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 06:20 AM
10-13-2004 06:20 AM
Re: SEARCH argument - opinion asked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 09:16 AM
10-13-2004 09:16 AM
Re: SEARCH argument - opinion asked
See $ SEARCH/KEY=(pos:n,size:m)
(since V6.2)
My point about regular expressions is that GREP (and variants) already exist, with well known semantics and behaviour. They already work on OpenVMS. If SEARCH requires a qualifier to enable regular expressions then you're comparing:
$ grep parameters...
with:
$ SEARCH/GREP parameters...
So what's gained except a more complex SEARCH command? How will it interact with other qualifiers? Will all the standard Unix switches be implemented? How?
We have the luxury of being able to sequester any useful Unix commands. So, if you want GREP, then use GREP, rather than a reimplementation (which will inevitably have minor, but annoying differences). There's no need to re-invent that particular wheel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 09:55 PM
10-13-2004 09:55 PM
Re: SEARCH argument - opinion asked
This whole stream will be presented to Guy Peleg, and I think we can trust him to take all remarks into account, and come up with something that will be the best possible synthesis of all these ideas.
I know he is in Europe till end of next week, so any brilliant additions can be posted until then.
Cheers.
Have one on me.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2004 07:53 AM
10-16-2004 07:53 AM
Re: SEARCH argument - opinion asked
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 06:03 PM
10-21-2004 06:03 PM
Re: SEARCH argument - opinion asked
One thing I really like about DCL is that is was architected, and consistent. I hope that any new command or addon to Search is done to the same high standard.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 06:16 PM
10-21-2004 06:16 PM
Re: SEARCH argument - opinion asked
I don't think anybody asked that established programs morph into their Unix counterparts, but some features like regular expressions are really useful.