I'm trying to translate the epoch time from a command output in AIX to human readable form. However, it does not seem to be picking up the replacement expression with the correct result rather it's reporting now. Any ideas ?
lsuser -f username | perl -pe "print s/([0-9]{8,})/scalar localtime $1/e"In reply to lsuser epoch translate by dcronin135
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |