Bash: if condition to check if actual date exists as string in file?

Published --