element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Chat (English) Is there a better search ULP
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1 reply
  • Subscribers 178 subscribers
  • Views 207 views
  • Users 0 members are here
Related

Is there a better search ULP

autodeskguest
autodeskguest over 12 years ago

 

  • Sign in to reply
  • Cancel
Parents
  • wwmartin
    wwmartin over 12 years ago

    On 09/23/2012 05:24 AM, fred wrote:

    ...Or am I still missing something?

    >

    Yes - I think so.

    As I think I mentioned originally - if you "use *" you can ineed do the

    search as you describe.

    But that messes up the current in use list. I dont want to keep losing

    that list just to search for something I might not even find.

     

    (I have already developed my own libraries and am slowly populating them

    by the way - it seems pretty easy in eagle)

     

    >

    You might write a small parser that for example, works like this:

    cd ~/eagle-6.4.0/lbr; ls | lbr_parse  would match *80??FIO, just

    an arbitrary choice, match whatever regx is appropriate for your search.

    Obviously, all the other xml sections relating to the symbol name match

    would be extracted as well. Then my_sub_lbr would have your matched

    search item appended to the file.

     

    This assumes, of course, that you are using an os that doesn't cripple

    your access to the filesystem in some perverse way...Linux or Unix in

    this example. Cygwin if you "must" run Windows.

    -bill

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • wwmartin
    wwmartin over 12 years ago

    On 09/23/2012 05:24 AM, fred wrote:

    ...Or am I still missing something?

    >

    Yes - I think so.

    As I think I mentioned originally - if you "use *" you can ineed do the

    search as you describe.

    But that messes up the current in use list. I dont want to keep losing

    that list just to search for something I might not even find.

     

    (I have already developed my own libraries and am slowly populating them

    by the way - it seems pretty easy in eagle)

     

    >

    You might write a small parser that for example, works like this:

    cd ~/eagle-6.4.0/lbr; ls | lbr_parse  would match *80??FIO, just

    an arbitrary choice, match whatever regx is appropriate for your search.

    Obviously, all the other xml sections relating to the symbol name match

    would be extracted as well. Then my_sub_lbr would have your matched

    search item appended to the file.

     

    This assumes, of course, that you are using an os that doesn't cripple

    your access to the filesystem in some perverse way...Linux or Unix in

    this example. Cygwin if you "must" run Windows.

    -bill

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube