[GRASS-dev] problems with mkftcap

Glynn Clements glynn at gclements.plus.com
Wed May 2 04:00:03 EDT 2007

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>

More information about the grass-dev mailing list