[GRASS-dev] problems with mkftcap

Michael Barton michael.barton at asu.edu
Wed May 2 12:06:47 EDT 2007

In fact, I was too hasty in my optimistic report. mkftcap works, but it
doesn't put the output into my $GISBASE/etc/freetypecap file. It just
outputs it to the terminal. I can manually deal with this


but something is not working right. Maybe need to recompile.


On 5/2/07 8:41 AM, "William Kyngesburye" <woklist at kyngchaos.com> wrote:

> I'm having a different problem with mkftcap - it's getting hung up
> doing nothing.  One on my processors maxes out and there is no disk
> activity for the find operations.
> I tried cutting out each part separately - find and fc-list - to see
> if one of those was the problem, but no go.
> Further cutting points to something wrong in the sed lines - if I
> remove those so the raw find and fc-list results are returned, it
> finishes.
> On May 2, 2007, at 3:00 AM, Glynn Clements 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.
>> -- 
>> Glynn Clements <glynn at gclements.plus.com>
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at grass.itc.it
>> http://grass.itc.it/mailman/listinfo/grass-dev
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
> First Pogril: Why is life like sticking your head in a bucket filled
> with hyena offal?
> Second Pogril: I don't know.  Why IS life like sticking your head in
> a bucket filled with hyena offal?
> First Pogril: I don't know either.  Wretched, isn't it?
> -HitchHiker's Guide to the Galaxy

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