Handle prepended whitespace for hashbang
Related to: #199 (closed)
This patch fixes the shebang handler to eat whitespace prepended to the interpreter (or whitespace trailing the hashbang). For example, this should work:
#! /bin/sh
echo "Hello from Redox"
Interestingly, the original incarnation of the shebang included a prepended space.
The shebang should also handle interpreter arguments as the issue mentions. I intend to (attempt to!) fix that as well, but I decided to split the work into two patches in case the latter issue is too difficult for me.
Useful sources:
Edited by Josh Megnauth