[GRASS-SVN] r69073 - grass/trunk/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 3 23:48:10 PDT 2016


Author: neteler
Date: 2016-08-03 23:48:10 -0700 (Wed, 03 Aug 2016)
New Revision: 69073

Modified:
   grass/trunk/lib/init/grass7.html
Log:
grass7 manual: shebang trick more evident now under 'Troubleshooting'

Modified: grass/trunk/lib/init/grass7.html
===================================================================
--- grass/trunk/lib/init/grass7.html	2016-08-04 01:02:38 UTC (rev 69072)
+++ grass/trunk/lib/init/grass7.html	2016-08-04 06:48:10 UTC (rev 69073)
@@ -297,11 +297,14 @@
 </pre></div>
 
 <p>
-The exec interface is also able to execute entire scripts. Importantly, to avoid
-an <tt>"[Errno 8] Exec format error"</tt> there must be a shebang line at the top of
-the script like <tt>#!/bin/sh</tt> or <tt>#!/usr/bin/env python</tt> indicating
-which interpreter to use.
+Note: The exec interface is also able to execute entire scripts.
 
+<p><b>Troubleshooting</b>:
+Importantly, to avoid an <tt>"[Errno 8] Exec format error"</tt> there must be a 
+<a href="https://en.wikipedia.org/wiki/Shebang_%28Unix%29">shebang</a> line at the top of
+the script (like <tt>#!/bin/sh</tt>, <tt>#!/bin/bash</tt>, or <tt>#!/usr/bin/env python</tt>)
+indicating which interpreter to be used for the script.
+
 <h3>Other examples</h3>
 
 There are a variety of ways in which the <i>location environment



More information about the grass-commit mailing list