<p>And I am transported back 1992  when I would use my WAN account to gopher CARL.  Mkay poor choice of words ..do a  cli search of the uny of colorado </p>
<p><blockquote type="cite">On Jul 6, 2010 3:33 PM, &quot;John L. Cunningham&quot; &lt;<a href="mailto:djohngo@gmail.com">djohngo@gmail.com</a>&gt; wrote:<br><br>The redesigned Howard County Public Library site is too pointy-clicky<br>

for my taste.  Therefore, I have written a rudementary bash script that<br>
allows me to search the catalog from the command line.<br>
<br>
<br>
--- BEGIN hcllookup.sh ---<br>
#!/bin/bash<br>
<br>
OPTION=&quot;$1&quot;<br>
shift<br>
SEARCH_TERM=&quot;$*&quot;<br>
<br>
case &quot;$OPTION&quot; in<br>
        -a)<br>
        firefox --new-tab &quot;<a href="http://polaris.hclibrary.org/polaris/search/searchresults.aspx?ctx=1.1033.0.0.6&amp;type=Advanced&amp;term=$SEARCH_TERM&amp;term2=&amp;term3=&amp;term4=&amp;by=AU&amp;by2=KW&amp;by3=KW&amp;by4=KW&amp;bool1=And&amp;bool2=And&amp;bool3=And&amp;limit=TOM=*&amp;sort=RELEVANCE&amp;page=0" target="_blank">http://polaris.hclibrary.org/polaris/search/searchresults.aspx?ctx=1.1033.0.0.6&amp;type=Advanced&amp;term=$SEARCH_TERM&amp;term2=&amp;term3=&amp;term4=&amp;by=AU&amp;by2=KW&amp;by3=KW&amp;by4=KW&amp;bool1=And&amp;bool2=And&amp;bool3=And&amp;limit=TOM=*&amp;sort=RELEVANCE&amp;page=0</a>&quot;<br>

        ;;<br>
        -i)<br>
        firefox --new-tab &quot;<a href="http://polaris.hclibrary.org/polaris/search/searchresults.aspx?ctx=1.1033.0.0.6&amp;type=Advanced&amp;term=$SEARCH_TERM&amp;term2=&amp;term3=&amp;term4=&amp;by=ISBN&amp;by2=KW&amp;by3=KW&amp;by4=KW&amp;bool1=And&amp;bool2=And&amp;bool3=And&amp;limit=TOM=*&amp;sort=RELEVANCE&amp;page=0" target="_blank">http://polaris.hclibrary.org/polaris/search/searchresults.aspx?ctx=1.1033.0.0.6&amp;type=Advanced&amp;term=$SEARCH_TERM&amp;term2=&amp;term3=&amp;term4=&amp;by=ISBN&amp;by2=KW&amp;by3=KW&amp;by4=KW&amp;bool1=And&amp;bool2=And&amp;bool3=And&amp;limit=TOM=*&amp;sort=RELEVANCE&amp;page=0</a>&quot;<br>

        ;;<br>
        -t)<br>
        firefox --new-tab &quot;<a href="http://polaris.hclibrary.org/polaris/search/searchresults.aspx?ctx=1.1033.0.0.6&amp;type=Advanced&amp;term=$SEARCH_TERM&amp;term2=&amp;term3=&amp;term4=&amp;by=TI&amp;by2=KW&amp;by3=KW&amp;by4=KW&amp;bool1=And&amp;bool2=And&amp;bool3=And&amp;limit=TOM=*&amp;sort=RELEVANCE&amp;page=0" target="_blank">http://polaris.hclibrary.org/polaris/search/searchresults.aspx?ctx=1.1033.0.0.6&amp;type=Advanced&amp;term=$SEARCH_TERM&amp;term2=&amp;term3=&amp;term4=&amp;by=TI&amp;by2=KW&amp;by3=KW&amp;by4=KW&amp;bool1=And&amp;bool2=And&amp;bool3=And&amp;limit=TOM=*&amp;sort=RELEVANCE&amp;page=0</a>&quot;<br>

        ;;<br>
        *)<br>
        printf &quot;Usage: hcllookup [OPTION] [SEARCH TERM(S)...]\n\t-a, Author\n\t-i, ISBN\n\t-t, Title\n&quot;<br>
        ;;<br>
esac<br>
--- END hcllookup.sh ---<br>
<br>
<br>
John<br>
<br>
_______________________________________________<br>
CALUG mailing list<br>
<a href="mailto:CALUG@unknownlamer.org">CALUG@unknownlamer.org</a><br>
<a href="http://lists.unknownlamer.org/listinfo/calug" target="_blank">http://lists.unknownlamer.org/listinfo/calug</a><br>
</blockquote></p>