[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: intend to package 'country'



On Tue, May 18, 1999 at 12:46:27PM -0700, Joey Hess wrote:
> I have to wonder if we really need a package for this, since grep suffices..

If anyone cares; this is what I use:

function domain { look -f "$1" /usr/share/zoneinfo/iso3166.tab|cut -f2; }
function countrycode { grep "$1" /usr/share/zoneinfo/iso3166.tab|cut -f1; }

David


Reply to: