Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Finding short DNS names from long text

by dwhite20899 (Friar)
on Jul 12, 2009 at 20:54 UTC ( [id://779413]=note: print w/replies, xml ) Need Help??


in reply to Re: Finding short DNS names from long text
in thread Finding short DNS names from long text

You're correct, I left that (multiple results) out.

To be extremely specific, I want to mimic the vendor name part of the MITRE Common Platform Enumeration found on page 10 of http://cpe.mitre.org/files/cpe-specification_2.2.pdf

They deal with multiple results by using the shortest string. They also deal with saving ".com" or ".org" in certain cases.

It's certainly got it's shortcomings, but I want to sync up with http://nvd.nist.gov .

Yahoo::Search looks good!

  • Comment on Re^2: Finding short DNS names from long text

Replies are listed 'Best First'.
Re^3: Finding short DNS names from long text
by hossman (Prior) on Jul 13, 2009 at 01:22 UTC

    "To be extremely specific, I want to mimic the vendor name part of the MITRE Common Platform Enumeration found on page 10 of http://cpe.mitre.org/files/cpe-specification_2.2.pdf "

    FWIW: That was how you should have asked the question in the first place.

    Knowing only what 30 seconds of googling has told me about CPE, wouldn't the best way to mimic CPE's behavior be to directly use the Official CPE Database of names?

      Yes, it's easy to get the dictionary of vendor strings used in the database, but I just have all these long text strings of company names. Probably including a bunch of companies that aren't in the CPE database. If I get the mapping done, I'll just stick to CPE vendor strings.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://779413]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (1)
As of 2026-01-17 17:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (121 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.