in reply to Inserting Current time and date into an HTML file.
Seriously?
perl -CSDL -MARGV::readonly -pi.orig -e "use constant JID => scalar gmtime; s{\Q<!--junkid-->\E}{JID()}ge; " bunch of files to stamp
In Section
Seekers of Perl Wisdom
in reply to Inserting Current time and date into an HTML file.
perl -CSDL -MARGV::readonly -pi.orig -e "use constant JID => scalar gmtime; s{\Q<!--junkid-->\E}{JID()}ge; " bunch of files to stamp