note
MacScissor
Thank you for your fast reply!
The perl script generates yesterdays date, saves it in $day $month and $year and prints these 3 variables.
I can use this date as one string, that is no problem.
But the perl script also has the variable $counter which is also printed.
The final output looks like this:
<code>
print "Backup date: $day\.$month\.$year\n";
print "$counter files have been successfully saved.\n";
</code>
I need to use the date and the $counter value in bash.
994221
994224