Diff for /gforth/doc/gforth.ds between versions 1.239 and 1.240

version 1.239, 2012/11/22 15:03:47 version 1.240, 2012/11/28 02:55:46
Line 15732  require the sequence @code{#! /}). Line 15732  require the sequence @code{#! /}).
   
 Most Unix systems (including Linux) support exactly one option after  Most Unix systems (including Linux) support exactly one option after
 the binary name.  If that is not enough, you can use the following  the binary name.  If that is not enough, you can use the following
 trick (devised by David Kuehling):  trick:
   
 @example  @example
 #! /bin/sh  #! /bin/sh
Line 15748  first two lines as (mostly) comments, th Line 15748  first two lines as (mostly) comments, th
 which invokes gforth with this script (@code{$0}) as parameter and its  which invokes gforth with this script (@code{$0}) as parameter and its
 parameters as additional parameters (@code{"$@"}).  Then this script  parameters as additional parameters (@code{"$@"}).  Then this script
 is interpreted as Forth script, which first defines a colon definition  is interpreted as Forth script, which first defines a colon definition
 \code{##}, then ignores everything up to \code{[then]} and finally  @code{##}, then ignores everything up to @code{[then]} and finally
 processes the following Forth code.  You can also use  processes the following Forth code.  You can also use
   
 @example  @example

Removed from v.1.239  
changed lines
  Added in v.1.240


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>