
07-28-2007
|
|
Shell programmer, author
|
|
|
Join Date: Mar 2007
Location: Toronto, Canada
Posts: 2,361
|
|
Quote:
Originally Posted by fwabbly
thanks. its always the little things!
|
What little thing solved it for you? Your original line and all of the alternatives posted should work in ksh.
You would not have got the error message you gave with the line you posted if it was run in a POSIX shell (ksh, bash, etc.)
One alternative posted, EXPHOURINSEC=$((EXPDATEHOUR * 3600)), while a valid POSIX command, would not have worked in /bin/sh on a *BSD system.
|