Search Results

Search: Posts Made By: bzb23
9,232
Posted By bzb23
That's I wrote, fi after done work's better, but...
That's I wrote, fi after done work's better, but we still have error :
- ./script.sh: erreur de syntaxe ligne 18: `t=$' inattendue
- ./script.sh: syntax error line 18: `t=$' unexpected.

I...
9,232
Posted By bzb23
This is all code, before modification : ...
This is all code, before modification :

#!/bin/sh

for i in /opt/product/arsystem/test/
do file "$i"
x=${i##*.}
z=${perl -e 'print time;}
r=LicenseReport.txt.$x
...
9,232
Posted By bzb23
The traduction is, after bad interpreter :...
The traduction is, after bad interpreter : missing file or directory.

- I'm get confuse, the expression ((t>>86400)) try to put the value of "t" into 86400 file, but my wish is to test "t" to...
9,232
Posted By bzb23
Done but same error, In my opinion there is...
Done but same error,

In my opinion there is something wrong with the test : "if ((t>>86400))"
9,232
Posted By bzb23
bad interpreter when running script
Hi All,

I'm not confortable in writing script, can someone can help me, when I run that script below i found this error code : -bash: ./script.sh: /bin/sh.: bad interpreter:

Here is the script...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 12:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy