Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 1997 17:25:43 -0600 (MDT)
From:      Brandon Gillespie <brandon@roguetrader.com>
To:        freebsd-hackers@freebsd.org
Subject:   pkg_* commands vs 'pkg' command
Message-ID:  <Pine.BSF.3.96.970728172106.318A-200000@roguetrader.com>

next in thread | raw e-mail | index | archive | help
  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: <Pine.BSF.3.96.970728172543.318B@roguetrader.com>
Content-Description: 

IyEvYmluL3NoDQoNCmNtZD0iIg0KYXJncz0iIg0Kc3ludGF4KCkgew0KICAg
IGNhdCA8PEVORA0KU3ludGF4OiBwa2cgPGFkZHxkZWx8bGlzdHxjcmVhdGU+
IFthcmdzXQ0KDQpXaGVyZSBbYXJnc10gYXJlIGFkZC9kZWwvbGlzdC9jcmVh
dGUgc3BlY2lmaWMgYXJndW1lbnRzLg0KRU5EDQp9DQoNCmlmIFsgIiQxIiA9
ICIiIF07IHRoZW4NCiAgICBzeW50YXgNCiAgICBleGl0IDENCmZpDQoNCmNh
c2UgJDEgaW4NCiAgICBsaXN0KQ0KICAgICAgICBjbWQ9InBrZ19pbmZvIg0K
ICAgICAgICBhcmdzPSIkYXJncyAtYUkiIDs7DQogICAgYWRkKQ0KICAgICAg
ICBjbWQ9InBrZ19hZGQiIDs7DQogICAgZGVsIHwgZGVsZXRlIHwgcm0pDQog
ICAgICAgIGNtZD0icGtnX2RlbGV0ZSIgOzsNCiAgICBjcmVhdGUpDQogICAg
ICAgIGNtZD0icGtnX2NyZWF0ZSIgOzsNCiAgICAqKQ0KICAgICAgICBzeW50
YXggOzsNCmVzYWMNCg0Kc2hpZnQNCg0KZXhlYyAkY21kICRhcmdzICQqDQo=
--0-891458119-870132343=:318--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970728172106.318A-200000>