View Single Post
Old 10-06-2017, 12:55 PM  
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 380
OK, almost...

Excuse my stupidity, but this programming language sounds strange to me.

So, is that it?

Code:
#At the beginning of the script, this:
STARTTIME = date +%s

#My script

#At the last line, this:
ENDTIME = date +%s
echo $ENDTIME - $STARTTIME;
I missed some ";", some "$", something else?

Sorry if it seems trivial and stupid, but from the script I can hardly understand how to do even the dumbest things.
Compared to my world in PHP I miss "$", ";", I do not understand why the variables are all written in uppercase and how the lines end...
I think I understand that everything still works in cascade and that without $ I define a variable, while with the $ I read and use it, but of everything else I'm not sure...

Just to understand, what programming language is this?



Quote:
Unless, you are sending financial data or state secrets, I really would not worry sending a password SCP.
Here the only ones to have a secret are the transsexuals
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote