Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Searching BiBTeX

by Abigail-II (Bishop)
on Jul 22, 2002 at 16:32 UTC ( #184115=note: print w/replies, xml ) Need Help??


in reply to Searching BiBTeX

If each entry is just like this, that is, terminated with \n}\n, you could just set $/ to \n}\n, read in the records one by one and print if there's a match.

If the BiBTeX file is a bit more of a mess, you will have to parse the file. Text::Balanced might help you, or Parse::RecDescent, depending on how exactly the file looks like.

Abigail

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2022-05-17 20:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (68 votes). Check out past polls.

    Notices?