Hi gurus,
I was working on a shell script on an AIX 5.3 server. I have a parameter in the form YYYYMMDD which is in a variable within the shell script. I need to check if
i) the value in the variable YYYYMMDD is a valid date
ii) compute the date previous to it
Can anyone suggest what might be an easy way to go around it? Someone was suggesting the use of awk for ii).
thanks in advance
philipose
I was working on a shell script on an AIX 5.3 server. I have a parameter in the form YYYYMMDD which is in a variable within the shell script. I need to check if
i) the value in the variable YYYYMMDD is a valid date
ii) compute the date previous to it
Can anyone suggest what might be an easy way to go around it? Someone was suggesting the use of awk for ii).
thanks in advance
philipose