tv.debian@googlemail.com:
>
> On Sid:
>
> aptitude show cant
>
> Paquet : cant
> État: non installé
> Version : 0.8.15-1
> Priorité : supplémentaire
> Section : admin
> Responsable : Alexander Reichle-Schmehl <tolimar@debian.org>
This installs the following shell script as /usr/bin/cant:
|#!/bin/bash
|
|args=(${@})
|comand=${args[0]}
|packages=${args[@]:1}
|
|case $comand in
| install)
| apt-get install ${packages[@]}
| ;;
| remove)
| apt-get remove ${packages[@]}
| ;;
| stand)
| apt-get remove --purge cant
| ;;
| search)
| apt-cache search ${packages[@]}
| ;;
| show)
| apt-cache show ${packages[@]}
| ;;
| *|help)
| echo "The Canterbury Distribution Package Manager"
| echo ''
| echo "usage: cant [option] <packages>"
| echo 'options:'
| echo ' install install packages'
| echo ' remove remove packages'
| echo ' search search packages'
| echo ' stand remove the Canterbury Distribution Package Manager'
| echo ' help this text'
| echo ''
| ;;
|esac
'cant stand', nice!
J.
--
As a child I pulled the legs from a spider.
[Agree] [Disagree]
<http://www.slowlydownward.com/NODATA/data_enter2.html>
Attachment:
signature.asc
Description: Digital signature