Avoid using `-c' in a script example.
This commit is contained in:
parent
42a0342109
commit
27e8702ec5
|
@ -102,11 +102,11 @@ command-line arguments to @exec{racket}:
|
||||||
@verbatim[#:indent 2]|{
|
@verbatim[#:indent 2]|{
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
#|
|
#|
|
||||||
exec racket -cu "$0" ${1+"$@"}
|
exec racket -e '(printf "Running...\n")' -u "$0" ${1+"$@"}
|
||||||
|#
|
|#
|
||||||
#lang racket/base
|
#lang racket/base
|
||||||
(printf "This script started slowly, because the use of\n")
|
(printf "The above line of output had been produced via\n")
|
||||||
(printf "bytecode files has been disabled via -c.\n")
|
(printf "a use of the `-e' flag.\n")
|
||||||
(printf "Given arguments: ~s\n"
|
(printf "Given arguments: ~s\n"
|
||||||
(current-command-line-arguments))
|
(current-command-line-arguments))
|
||||||
}|
|
}|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user