gforth
[
Top
][
All Lists
]
Advanced
[Date Prev][
Date Next
][Thread Prev][
Thread Next
][
Date Index
][
Thread Index
]
[gforth] shebang support
From
:
Andrew Pennebaker
Subject
:
[gforth] shebang support
Date
:
Sat, 6 Oct 2012 09:44:09 -0400
Can we treat shebangs like comments, so that gforth programs can be run using dot slash notation in Unix?
hello.fs:
#!/usr/bin/env gforth
.\" Hello World!\n"
bye
Example:
$ chmod +x hello.fs
$ ./hello.fs
Hello World!
--
Cheers,
Andrew Pennebaker
www.yellosoft.us
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[gforth] shebang support
,
Andrew Pennebaker
<=
Re: [gforth] shebang support
,
Josh Grams
,
2012/10/06
Re: [gforth] shebang support
,
Andrew Pennebaker
,
2012/10/10
Re: [gforth] shebang support
,
Marcos Cruz
,
2012/10/06
Next by Date:
[gforth] How do I access the program name / argv[0] in Forth?
Next by thread:
Re: [gforth] shebang support
Index(es):
Date
Thread