I'm trying to create a script in KORN shell which sends a not to remind you that it is friday the 13th. I need to use the banner command to display the date and the message
"beware it's friday the 13th" I could really use some help. so far i got:
#!/bin/ksh
set 'date'
if[[ $1 -eq "Fri" && $3 -eq "13" ]] then
banner date "beware its friday the 13th"
fi
however i seem to have errors with the syntax of [[ $1 -eq "Fri" && $3 -eq "13" ]] and i cant get the banner command to display the date
"beware it's friday the 13th" I could really use some help. so far i got:
#!/bin/ksh
set 'date'
if[[ $1 -eq "Fri" && $3 -eq "13" ]] then
banner date "beware its friday the 13th"
fi
however i seem to have errors with the syntax of [[ $1 -eq "Fri" && $3 -eq "13" ]] and i cant get the banner command to display the date