All pastes #2554571 Raw Edit

Untitled

public unlisted text v1 · immutable
#2554571 ·published 2014-01-17 09:44 UTC
rendered paste body
#!/home/nix/store/v7vpnjlrgs4w3zsgbkqplksnsncl0lv6-bash-4.2/bin/sh

# Choose a locale name that lacks a dot followed by the encoding name.
# This should not confuse `environ_locale_charset'.
# See <http://bugs.gnu.org/10742> for the original bug report.
LC_ALL="en_US"
export LC_ALL
unset LANG
unset LC_CTYPE

exec guile -q -s "$0" "hello"
!#

;; Make sure our argument was suitable decoded.
(exit (string=? (cadr (program-arguments)) "hello"))

;; Local Variables:
;; mode: scheme
;; coding: iso-8859-1
;; End: