Pass date as mandatory arguments in bash script

Pass date as mandatory arguments in bash script I came across a use case where I have to write a shell script to perform some action on two date ranges. The first argument would start date and the second argument as end date. To validate missing argument we can also check $1 and $2 null … Continue reading Pass date as mandatory arguments in bash script