This commit is contained in:
Steven Penny 2014-06-28 02:20:26 -05:00
parent 8c91a53a7e
commit 73702ab805
1 changed files with 7 additions and 7 deletions

14
apt-cyg
View File

@ -33,7 +33,7 @@ fi
ARCH=${HOSTTYPE/i6/x} ARCH=${HOSTTYPE/i6/x}
function usage () { function usage () {
sed '1d;$d' <<< ' cat <<+
usage: apt-cyg [command] [options] [packages] usage: apt-cyg [command] [options] [packages]
Commands: Commands:
@ -57,17 +57,17 @@ Options:
-m, --mirror <url> set mirror -m, --mirror <url> set mirror
--help --help
--version --version
' +
} }
function version () { function version () {
sed '1d;$d' <<< ' cat <<+
apt-cyg version 0.59 apt-cyg version 0.59
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2005-9 Stephen Jungels Copyright (c) 2005-9 Stephen Jungels
' +
} }
find-workspace () { find-workspace () {
@ -338,9 +338,9 @@ apt-searchall () {
/-debuginfo-/ {next} /-debuginfo-/ {next}
/-devel-/ && pkg~/\.exe$/ {next} /-devel-/ && pkg~/\.exe$/ {next}
/-src\t$/ {next} /-src\t$/ {next}
mc[$2]++ {next} mc[$1]++ {next}
$0 = $2 $0 = $1
' FS=/ pkg="$pkg" matches ' FS=-[[:digit:]] pkg="$pkg" matches
done done
} }