hmmmmm...
Do you think a good alternative would be to insert metadata, specifying type of 'script'?
Perhaps, depending on if ash, bash, python, etc... is present or not, it will show that particular script.
e.g.
script_type: python
info: this is a hello world script in python
Targeted_OS: tinycore, all_linuxes
<!--start content -->
print "hello world"
<!--end content -->
---------------
Additional reason for this feature in tinycore!
With a single click (or maybe even a bootcode), you can automatically install a number of applications. E.g. you can tell a newcomer who wants a simple familiar desktop with flash browser to run an ash script. It will then download and execute a command instructing appbrowser or scm manager to download xfce, firefox, and flash automagically.
---------------
Second potential idea to making this more powerful.
Allow for 'constants to be defined' before running a script. The script may show a number of predefined variables that needs to be defined in GUI/Console (But will always give the user full control to enter any text in that field). The program will then do a simple search and replace command to fill in the blanks.
e.g.
script_type: python
info: this is a hello world script in python
Targeted_OS: tinycore, all_linuxes
<!--start parameters-->
MSG_STRING: "Hello world"
CHOICES: "option1" | "option2" | "option3" | "option4"
<!--end parameters-->
<!--start content -->
print "Message"
print MSG_STRING
print "You picked"
print CHOICES
<!--end content -->