[GRASS-dev] problems with mkftcap

William Kyngesburye woklist at kyngchaos.com
Wed May 2 11:41:48 EDT 2007


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





More information about the grass-dev mailing list