{#}  Replies are directed back to [EMAIL PROTECTED]
{#}  To reply to the author, write to Theo Schlossnagle <[EMAIL PROTECTED]>

So,

in CVS, the data format for sessions has been changed (for disk logs).  
It is now %Y-%m-%d, %a %H:%M

Like now (for me EST US -- GMT -5) it is:

2002-01-23, Wed 14:41

This sorts, while giving one the invaluable "day of the week".

For those that aren't unix savvy, I thought I would drop this on the 
list to clean up your existing sessions:

find ~/Library/Application\ Support/Fire/Sessions/ -depth | perl -ni -e 
'chomp; ($n=$_) =~ s/\/(\d\d) (\d\d) (0\d), (...) (\d\d):(\d\d) 
(AM|PM)/"\/20$3-$1-$2, $4 ".(($7 eq "PM")?($5+12):($5)).":$6"/e && 
rename($_,$n);'

This will find old session names from 2000+ and convert them to the new 
date format.

--
Theo Schlossnagle
1024D/82844984/95FD 30F1 489E 4613 F22E  491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA  3D 90 B9 9F BE 27 24 E7


{#} ----------------------------------------------------+[ fire ]+---


Reply via email to