[REBOL] Re: [clean-script shebang] Anyone fixed clean-script.r for shebang lines?
From: gregg::pointillistic::com at: 23-Feb-2008 21:49
> Has anyone fixed %clean-script.r so it doesn't alter shebang lines? It
> sees the line as an issue!, refinements!, etc. %clean-script-heavy.r
> does the same thing.
My simple fix for now is to do this before the SOME in the parse rule:
opt [str: "#!" thru newline new: (emit str new)]
Doesn't work if you have newlines before the shebang, but you shouldn't
do that anyway, right?
--Gregg