rev 162 - trunk/pr
SVN User <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: bcollins
Date: 2004-03-27 16:56:00 -0500 (Sat, 27 Mar 2004)
New Revision: 162
Modified:
trunk/pr/hex.pr
trunk/pr/oops.pr
trunk/pr/re_test.pr
trunk/pr/test.pr
Log:
Add sh-bang and interp path to head of each script and make them
executable. So we can run scripts like normal interp's do :)
Modified: trunk/pr/hex.pr
===================================================================
--- trunk/pr/hex.pr 2004-03-27 21:49:01 UTC (rev 161)
+++ trunk/pr/hex.pr 2004-03-27 21:56:00 UTC (rev 162)
@@ -1,3 +1,5 @@
+#!/usr/local/bin/prothon
+
import String
def hex(n):
Property changes on: trunk/pr/hex.pr
___________________________________________________________________
Name: svn:executable
+ *
Modified: trunk/pr/oops.pr
===================================================================
--- trunk/pr/oops.pr 2004-03-27 21:49:01 UTC (rev 161)
+++ trunk/pr/oops.pr 2004-03-27 21:56:00 UTC (rev 162)
@@ -1,3 +1,4 @@
+#!/usr/local/bin/prothon
Emp_proto = Object()
@@ -16,4 +17,4 @@
Emp_proto.hello()
emp = Emp_proto("Jim")
-emp.hello()
\ No newline at end of file
+emp.hello()
Property changes on: trunk/pr/oops.pr
___________________________________________________________________
Name: svn:executable
+ *
Modified: trunk/pr/re_test.pr
===================================================================
--- trunk/pr/re_test.pr 2004-03-27 21:49:01 UTC (rev 161)
+++ trunk/pr/re_test.pr 2004-03-27 21:56:00 UTC (rev 162)
@@ -1,3 +1,5 @@
+#!/usr/local/bin/prothon
+
import Re
def findall(r,s):
Property changes on: trunk/pr/re_test.pr
___________________________________________________________________
Name: svn:executable
+ *
Modified: trunk/pr/test.pr
===================================================================
--- trunk/pr/test.pr 2004-03-27 21:49:01 UTC (rev 161)
+++ trunk/pr/test.pr 2004-03-27 21:56:00 UTC (rev 162)
@@ -1,3 +1,5 @@
+#!/usr/local/bin/prothon
+
print Sys.version
/*
@@ -14,14 +16,4 @@
f.close()
f = File("test.txt", "r")
-<<<<<<< .mine
-print f.read(4)
-=======
-f.seek(2)
-print f.read(4)
->>>>>>> .r95
-
*/
-
-
-
Property changes on: trunk/pr/test.pr
___________________________________________________________________
Name: svn:executable
+ *