FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mdcl scripts

 
Post new topic   Reply to topic     Forum Index -> MiniD
View previous topic :: View next topic  
Author Message
Gregor



Joined: 05 May 2006
Posts: 72
Location: Portland, OR

PostPosted: Tue Nov 21, 2006 5:49 pm    Post subject: mdcl scripts Reply with quote

It would be really nice if mdcl ignored the chebang line (#!...) of a script, so us UNIXers could make proper executable MiniD scripts Smile

That is, I'd like to put: "#!/usr/bin/env mdcl" as the first line of my script, set it executable, then just run it in place. Unfortunately, I get this:
Error: test.md(1:0): Statement expected, not '#'

Perfectly correct int erms of parsing MiniD, fairly annoying in terms of using MiniD as a scripting language Smile

Any chance this could be added to the parser as a special exception?
Back to top
View user's profile Send private message AIM Address
JarrettBillingsley



Joined: 20 Jun 2006
Posts: 457
Location: Pennsylvania!

PostPosted: Fri Nov 24, 2006 11:19 am    Post subject: Reply with quote

Sure. I was thinking about this on the drive home for break, in fact.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> MiniD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group