From owner-freebsd-hackers Mon Jul 28 16:25:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA11846 for hackers-outgoing; Mon, 28 Jul 1997 16:25:32 -0700 (PDT) Received: from roguetrader.com (cold.org [206.81.134.103]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA11840 for ; Mon, 28 Jul 1997 16:25:26 -0700 (PDT) Received: from localhost (brandon@localhost) by roguetrader.com (8.8.5/8.8.5) with SMTP id RAA00331 for ; Mon, 28 Jul 1997 17:25:44 -0600 (MDT) Date: Mon, 28 Jul 1997 17:25:43 -0600 (MDT) From: Brandon Gillespie To: freebsd-hackers@freebsd.org Subject: pkg_* commands vs 'pkg' command Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-891458119-870132343=:318" Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-891458119-870132343=:318 Content-Type: TEXT/PLAIN; charset=US-ASCII Just curious, but does anybody else find having to use '_' in ANY command clunky and unweildy? I recently had to take a little bit of light flack (nothing serious 8) from a debian linux user because they have a simple 'dpkg' command (I think it was). In response to this I hacked up a simple wrapper to the various 'pkg_' commands, and added a 'list' option as well (see attachment). This is just a shell script which I personally have dropped in /usr/sbin/pkg (alongside the counterparts it execs). Yeah, it simply nixes the '_' in typing, but it saves a keystroke and stretch of the finger--not to mention it feels better from a UI point of view :) Has anybody ever considered unifying the various seperate package commands? At least in a manner similar to how mount is unified? (i.e. seperate commands for specific things, but still one central command for ease of use). -Brandon Gillespie --0-891458119-870132343=:318 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=pkg Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: IyEvYmluL3NoDQoNCmNtZD0iIg0KYXJncz0iIg0Kc3ludGF4KCkgew0KICAg IGNhdCA8PEVORA0KU3ludGF4OiBwa2cgPGFkZHxkZWx8bGlzdHxjcmVhdGU+ IFthcmdzXQ0KDQpXaGVyZSBbYXJnc10gYXJlIGFkZC9kZWwvbGlzdC9jcmVh dGUgc3BlY2lmaWMgYXJndW1lbnRzLg0KRU5EDQp9DQoNCmlmIFsgIiQxIiA9 ICIiIF07IHRoZW4NCiAgICBzeW50YXgNCiAgICBleGl0IDENCmZpDQoNCmNh c2UgJDEgaW4NCiAgICBsaXN0KQ0KICAgICAgICBjbWQ9InBrZ19pbmZvIg0K ICAgICAgICBhcmdzPSIkYXJncyAtYUkiIDs7DQogICAgYWRkKQ0KICAgICAg ICBjbWQ9InBrZ19hZGQiIDs7DQogICAgZGVsIHwgZGVsZXRlIHwgcm0pDQog ICAgICAgIGNtZD0icGtnX2RlbGV0ZSIgOzsNCiAgICBjcmVhdGUpDQogICAg ICAgIGNtZD0icGtnX2NyZWF0ZSIgOzsNCiAgICAqKQ0KICAgICAgICBzeW50 YXggOzsNCmVzYWMNCg0Kc2hpZnQNCg0KZXhlYyAkY21kICRhcmdzICQqDQo= --0-891458119-870132343=:318--