5 * Revision 1.2 1995/02/13 15:15:07 adam
6 * Added handling of qualifiers. Not finished yet.
8 * Revision 1.1 1995/02/13 12:35:21 adam
9 * First version of CCL. Qualifiers aren't handled yet.
21 int main (int argc, char **argv)
27 bibset = ccl_qual_mk ();
39 fprintf (stderr, "%s: unknown option '%s'\n",
46 fprintf (stderr, "%s: no filenames, please\n", prog);
51 ccl_qual_add (bibset, "ti", 1, uses, -1, -1,
54 ccl_qual_add (bibset, "au", 1, uses, -1, -1,
61 printf ("CCLSH>"); fflush (stdout);
62 if (!fgets (buf, 79, stdin))
64 ccl_find_str (bibset, buf, &error, &pos);
67 printf ("%*s^ - ", 6+pos, " ");
68 printf ("%s\n", ccl_err_msg (error));