3 # Purpose: query a signature file for a specific keyword and display results
4 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2.
7 # Latest change: Sat Mar 25 17:59:52 CET 2006 [mika]
8 ################################################################################
10 TIPSFILE='/usr/share/grml-tips/grml_tips'
12 if [ -r "$TIPSFILE" ] ; then
14 agrep -d "^-- $" -i "$1" $TIPSFILE && echo "" || \
15 ( echo "Sorry, could not find a tip for '$1'"
16 echo 'If you want to submit a tip please send it to tips@grml.org - thank you!' )
18 echo "Usage: $0 <keyword>" ; exit 1
21 echo "Error: $TIPSFILE not found. Exiting."
25 ## END OF FILE #################################################################