Package: grml-scripts
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, less, dialog, perl, zsh, dash, links | w3m | links2, screen, grml-network, grml-etc-core, libterm-readkey-perl, lockfile-progs, grml-scripts-core
-Suggests: ruby, python, grml-x, ipcalc, hwinfo, antiword, grml-etc, grml-rebuildfstab, grml-files, grml-hwinfo, pptp-linux, flite, wmii, mutt, slrn, grml-docs, grml-autoconfig, dirvish, sudo, idesk, xlockmore, python-dbus, notification-daemon, grml-quickconfig, libwebservice-google-suggest-perl, lzop
+Suggests: ruby, python, grml-x, ipcalc, hwinfo, antiword, grml-etc, grml-rebuildfstab, grml-files, grml-hwinfo, pptp-linux, flite, wmii, mutt, slrn, grml-docs, grml-autoconfig, dirvish, sudo, idesk, xlockmore, python-dbus, notification-daemon, grml-quickconfig, lzop
Breaks: grml-autoconfig (<< 0.9.19)
Description: Scripts for the Grml system for an easier life
Some scripts which should make life easier.
grml-scripts: script-with-language-extension usr/bin/bincompare.pl
-grml-scripts: script-with-language-extension usr/bin/gsuggest.pl
grml-scripts: script-with-language-extension usr/bin/hgrep.sh
grml-scripts: script-with-language-extension usr/bin/irclog2html-2.1.pl
grml-scripts: script-with-language-extension usr/bin/notifyd.py
manpages/reread_partition_table.8 manpages/random-hostname.1 \
manpages/grml-setkeyboard.8 manpages/grml-setlang.8 manpages/getsf.1 \
manpages/grml-iptstate.8 manpages/qma.1 manpages/grml-swapon.8 \
- manpages/grml2ram.8 manpages/gsuggest.1 manpages/dirvish-setup.8 \
+ manpages/grml2ram.8 manpages/dirvish-setup.8 \
manpages/iso-term.1 manpages/alignmargins.8 manpages/get_3ware.1 \
manpages/grml-init-multitail.1 manpages/grml-setservices.8
# cp --no-dereference man/*.1.gz debian/grml-scripts/usr/share/man/man1/
/usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/xsay.1.gz \
/usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/XF86AudioLowerVolume.1.gz \
/usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/XF86AudioMute.1.gz \
- /usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/XF86AudioRaiseVolume.1.gz \
- /usr/share/man/man1/gsuggest.1.gz /usr/share/man/man1/gsuggest.pl.1.gz
+ /usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/XF86AudioRaiseVolume.1.gz
dh_strip
dh_compress
mkdir -p $(CURDIR)/debian/grml-scripts/usr/share/lintian/overrides/
+++ /dev/null
-.TH GSUGGEST.PL 1
-.SH NAME
-gsuggest.pl \- google suggest on the commandline
-.SH SYNOPSIS
-.B gsuggest.pl
-.RI keyword " [ another-keyword ]"
-.SH DESCRIPTION
-This manual page documents briefly the
-.B gsuggest.pl
-command.
-.PP
-\fBgsuggest.pl\fP is a program that asks google for keyword suggestions
-for the given keyword[s].
-.SH USAGE EXAMPLE
-.TP
-.B gsuggest.pl grml
-This will ask google for keyword suggestions based on the keyword 'grml'
-and will return the results to standard out (stdout).
-.SH OPTIONS
-gsuggest.pl does not support any options.
-.SH AUTHOR
-gsuggest.pl was written by Michael Prokop <mika@grml.org>.
-.PP
-This manual page was written by Michael Prokop <mika@grml.org>
-for the grml project (but may be used by others).
+++ /dev/null
-#!/usr/bin/perl
-# Filename: gsuggest.pl
-# Purpose: google suggest - ask google for keyword suggestions
-# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
-# Bug-Reports: see http://grml.org/bugs/
-# License: This file is licensed under the GPL v2.
-################################################################################
-
-use strict;
-use warnings;
-use WebService::Google::Suggest;
-
-unless (@ARGV) {
- print "usage: gsuggest <keyword[s]>\n";
- exit(1);
-}
-
-my $suggest = WebService::Google::Suggest->new();
-
-while (@ARGV) {
- my @suggestions = $suggest->complete(shift);
- for my $suggestion (@suggestions) {
- print "$suggestion->{query}: $suggestion->{results} results\n";
- }
-}
-
-## END OF FILE #################################################################