[GRASS-dev] problems with mkftcap

Michael Barton michael.barton at asu.edu
Wed May 2 11:16:45 EDT 2007


I just updated. Works great. Thanks.

I'll move ahead on building a listbox control in wxPython that will use
this.

Michael


On 5/2/07 1:00 AM, "Glynn Clements" <glynn at gclements.plus.com> wrote:

> 
> Michael Barton wrote:
> 
>>> The command in question is:
>>> 
>>> find "$dir" -type f -iname '*.ttf' -printf '%f:%p:utf-8:\n'
>>> 
>>> Does OSX have a command called "find" which isn't the standard Unix
>>> "find" command?
>>> 
>> find
>> usage: find [-H | -L | -P] [-EXdsx] [-f file] [file ...] [expression]
>> 
>> Is this different from the standard?
> 
> No, that's the right command; it appears -printf is a GNU extension.
> 
> That shouldn't be a problem in this case; using:
> 
> find "$dir" -type f -iname '*.ttf' -print | sed
> 's!^\(.*\)/\(.*\)$!\2:\1/\2:utf-8:!'
> 
> should do the same job.

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton





More information about the grass-dev mailing list