6

How long ago since time - Using perl

view full story
linux-howto

http://www.unix.com – Code: echo "1337124526" | perl -pe 's/(\d+)/easttime($1)/e' the above gives a date and time. how can i subtract the date and time given by this command, from the current present date? can this be a one liner or as close to a one-liner as possible? (HowTos)