update/add date posix shell, ruby