drdhaval2785 / SanskritSorting

Codes written by Dr. Dhaval Patel for Sanskrit Natural Language Programming
2 stars 1 forks source link

Commandline issues #39

Closed drdhaval2785 closed 9 years ago

drdhaval2785 commented 9 years ago

@funderburkjim As I am new to Commandline - you will have to handhold me now and then.

When I run reverse22.php or multi13.php from commandline I get the following thing 2014-11-11_10-30-09

The same code when run from a browser gives the following.

capture

Is this some encoding issue? I just removed header from the PHP code which specified charset as UTF-8 (because it was echoing header in the commandline)

drdhaval2785 commented 9 years ago

Sorry to bother about this thing. It is resolved.

The culprit were the included files dev-slp.php and slp-dev.php. Netbeans had added a - before <?php in each of them. Therefore two -- gave the wrong output in commandline.

Now stands resolved

gasyoun commented 9 years ago

How about adding time attribute? http://askubuntu.com/questions/53444/how-can-i-measure-the-execution-time-of-a-terminal-process

funderburkjim commented 9 years ago

@drdhaval2785 OK - Sounds like you resolved. I won't worry about it.