glookbib - Unix, Linux Command


Advertisements


NAME

lookbib - search bibliographic databases

SYNOPSIS

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

TagDescription
-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

TagDescription
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.