
- Unix Commands Reference
- Unix - Tutorial Home
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
glookbib - Unix, Linux Command
NAME
lookbib - search bibliographic databasesSYNOPSIS
lookbib [ -v ] [ -istring ] [ -tn ] filename...It is possible to have whitespace between a command line option and its parameter.
DESCRIPTION
lookbib prints a prompt on the standard error (unless the standard input is not a terminal), reads from the standard input a line containing a set of keywords, searches the bibliographic databases filename... for references containing those keywords, prints any references found on the standard output, and repeats this process until the end of input. For each database filename to be searched, if an index filename.i created by indxbib(1) exists, then it will be searched instead; each index can cover multiple databases.OPTIONS
Tag | Description |
---|---|
-v | Print the version number. |
-istring | |
When searching files for which no index exists, ignore the contents of fields whose names are in string. | |
-tn | Only require the first n characters of keys to be given. Initially n is 6. |
FILES
Tag | Description |
---|---|
filename.i | |
Index files. |
EXAMPLES
Consider the file with below contents:
$ cat TestFile THIS FILE IS FOR TESTING... TEST ENDS HERE..
1. Below is the search performed without -t option
$ lookbib TestFile > TES 0 found > TEST THIS FILE IS FOR TESTING... TEST ENDS HERE.. 1 found > BEGIN 0 found >
2. Below is the search performed with -t option
$ lookbib -t 3 TestFile > TES THIS FILE IS FOR TESTING... TEST ENDS HERE.. 1 found > TEST THIS FILE IS FOR TESTING... TEST ENDS HERE.. 1 found > BEGIN 0 found >
In both the examples the search key is same but in first example the key TES is not found but in second it is found.
Advertisements