[GRASS-user] g.parser header definitions

Glynn Clements glynn at gclements.plus.com
Wed Jul 1 12:15:23 EDT 2009


John A Stevenson wrote:

> I am having problems with g.parser.  I am trying to convert one of my 
> shell scripts into a module.
> 
> I've looked at the manual page and can run the example shell script 
> there, but when I change the settings in the top section to describe my 
> own variables it crashes with: 
> 
> execl() failed: Exec format error

Does the file start with "#!/bin/sh"?

Use e.g. "od -t x1z script.sh | head" to ensure that your text editor
hasn't added a UTF-8 BOM at the start of the file.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list