linux shell program problem
hi,all,
I have a very simple linux shell program, but it can not run properly, can anyone tell me what wrong with the program. Code:
#!/bin/sh Thanks |
Hi,
I tried your code and it worked fined... Perhaps you could try commenting the first line to see if that one makes you trouble,but its not very likely. Or perhaps there is some alias or something defined for the name timeofday. You could try changing the name for that variable to see if it works. Just some thoughts ;) Cheers! |
Works for me:
Code:
$ cat > test.sh |
All times are GMT -5. The time now is 01:23 AM. |