1
From doko@cs.tu-berlin.de Fri Mar 08 19:44:43 2002
2
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
3
["1580" "Friday" "8" "March" "2002" "10:41:37" "-0800" "Ian Macdonald" "ian@caliban.org" nil "55" "dpkg completion" "^From:" nil nil "3" nil nil nil nil nil]
5
Received: from localhost ([127.0.0.1] ident=smbadmin)
6
by gate.local with esmtp (Exim 3.35 #1 (Debian))
8
for <doko@localhost>; Fri, 08 Mar 2002 19:44:30 +0100
10
Received: from einhorn.in-berlin.de [192.109.42.8]
11
by localhost with POP3 (fetchmail-5.9.8)
12
for doko@localhost (single-drop); Fri, 08 Mar 2002 19:44:30 +0100 (MET)
13
Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13])
14
by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with ESMTP id g28Ioq3g019309
15
for <doko@klose.in-berlin.de>; Fri, 8 Mar 2002 19:50:52 +0100
16
Received: (from doko@localhost)
17
by mail.cs.tu-berlin.de (8.9.3/8.9.3) id TAA19084
18
for doko@klose.in-berlin.de; Fri, 8 Mar 2002 19:46:12 +0100 (MET)
19
Received: from cartero.cs.tu-berlin.de (postfix@cartero.cs.tu-berlin.de [130.149.17.20])
20
by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id TAA18363
21
for <doko@cs.tu-berlin.de>; Fri, 8 Mar 2002 19:41:41 +0100 (MET)
22
Received: from caliban.org (caliban.org [66.125.233.130])
23
by cartero.cs.tu-berlin.de (Postfix) with ESMTP id EDDD8130BA0
24
for <doko@cs.tu-berlin.de>; Fri, 8 Mar 2002 19:41:39 +0100 (MET)
25
Received: from jiskefet.caliban.org (hades.caliban.org [66.125.233.131])
26
by caliban.org (Postfix) with ESMTP id 9C67E1DE21A
27
for <doko@cs.tu-berlin.de>; Fri, 8 Mar 2002 10:41:37 -0800 (PST)
28
Received: by jiskefet.caliban.org (Postfix, from userid 500)
29
id 522CA4C01C; Fri, 8 Mar 2002 10:41:37 -0800 (PST)
30
Message-ID: <20020308104137.B19547@caliban.org>
32
Content-Type: text/plain; charset=us-ascii
33
Content-Disposition: inline
34
User-Agent: Mutt/1.2.5.1i
35
X-PGP-Fingerprint: 5549 8FFB CE82 CF71 B0D7 14E0 BB98 B98B BFBA F0E8
36
X-Operating-System: Linux 2.4.18 i686
37
X-MailScanner: Found to be clean
38
From: Ian Macdonald <ian@caliban.org>
39
To: doko@cs.tu-berlin.de
40
Subject: dpkg completion
41
Date: Fri, 8 Mar 2002 10:41:37 -0800
45
Please ignore the dpkg completion I just sent. My Emacs made a mess of
48
Here's the correct one:
55
cur=${COMP_WORDS[COMP_CWORD]}
56
prev=${COMP_WORDS[COMP_CWORD-1]}
59
-i|--install|--unpack|-A|--record-avail)
60
COMPREPLY=( $( compgen -f -X '!*.deb' -- $cur ) \
61
$( compgen -d -- $cur ) )
64
-s|--status|-p|--print-avail|-L|--listfiles)
65
COMPREPLY=( $( apt-cache pkgnames | grep ^$cur ) )
72
COMPREPLY=( $( compgen -W '-i --install --unpack -A --record-avail \
73
--configure -r --remove --purge --get-selections \
74
--set-selections --update-avail --merge-avail \
75
--clear-avail --command-fd --forget-old-unavail -s \
76
--status -p --print-avail -L --listfiles -l --list \
77
-S --search -C --audit --print-architecture \
78
--print-gnu-build-architecture \
79
--print-installation-architecture \
80
--compare-versions --help --version --force-help -Dh \
81
--debug=help --licence --admindir= --root= --instdir= \
82
-O --selected-only -E --skip-same-version \
83
-G --refuse-downgrade -B --auto-deconfigure \
84
--no-debsig --no-act -D --debug= --status-fd \
85
--ignore-depends= --abort-after' -- $cur ) )
87
complete -F _dpkg -o filenames dpkg
92
Ian Macdonald | C makes it easy for you to shoot yourself
93
ian@caliban.org | in the foot. C++ makes that harder, but
94
| when you do, it blows away your whole leg.
95
| -- Bjarne Stroustrup