3 ms·
We have a script that updates our passwords for some automated processes. So let's just increment a number inside the password every month with some perl! /^
by undersuit 10y ago
We have a script that updates our passwords for some automated processes. So let's just increment a number inside the password every month with some perl!
/^(.*?)(\d+)(.*?)$/
- unpythonic 10y agoLove the /e for executing the substitution $ echo abc9def | perl -pe 's/(\d+)/$1+1/e' abc10def