(untested)
perl -i.bak -pe '$. == 2 && print("BEGIN { \$ENV{\"TZ\"}=\"EST5EDT\"; +}\n");' `find . -name "*.pl"`
voila! 50 fixed scripts :)
In reply to Re^5: Time zones
by ikegami
in thread Time zones
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |