From 93b9385f594f86b215fb786953b792473234b59d Mon Sep 17 00:00:00 2001 From: Dan Harkless Date: Thu, 10 Aug 2000 21:32:33 +0000 Subject: [PATCH] Changed my mind again on scan.MMDDYY and scan.YYYYMMDD. Put the replied / encrypted column back in, because it's useful to "always" (at least when you aren't using replied / encrypted) have a space in between the message number and date, so you can use awk (with the default field separators) to grab message numbers from scan output. --- ChangeLog | 8 +++++--- etc/scan.MMDDYY | 5 ++--- etc/scan.YYYYMMDD | 5 ++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index f475a01..a8a566b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,9 +4,11 @@ Thu Aug 10 13:22:13 2000 Dan Harkless scan.MMDDYY and scan.YYYYMMDD (to try to regain space taken by extra date info) was ill-conceived. It's not that tough to get past 999 messages, though I imagine it's rather rare to exceed - 9999. Changed these to 4. I had already removed the "replied / - encrypted" column in YYYYMMDD, but this time I removed it on - MMDDYY as well (I've never seen it used...). + 9999. Changed these to 4. Also put the "replied / encrypted" + column back in YYYYMMDD -- I've never seen it show anything but a + space, but that space is useful if you use scan, grep, and awk + (with the default field separator) to grab message numbers (I know + -- pick should really be used for these purposes...). Mon Aug 7 20:11:09 CEST 2000 Ruud de Rooij diff --git a/etc/scan.MMDDYY b/etc/scan.MMDDYY index 0f1fff2..dd20b29 100644 --- a/etc/scan.MMDDYY +++ b/etc/scan.MMDDYY @@ -1,10 +1,9 @@ %; scan.MMDDYY %; %; Like scan.default, but the date is printed in MM/DD/YY format rather than -%; MM/DD. Leaves out the apparently little-used replied/encrypted column in -%; order to make space. +%; MM/DD. %; -%4(msg)%<(cur)+%| %>\ +%4(msg)%<(cur)+%| %>%<{replied}-%?{encrypted}E%| %>\ %02(mon{date})/%02(mday{date})/%(void(year{date}))%02(modulo 100)%<{date} %|*%>\ %<(mymbox{from})%<{to}To:%14(decode(friendly{to}))%>%>\ %<(zero)%17(decode(friendly{from}))%> \ diff --git a/etc/scan.YYYYMMDD b/etc/scan.YYYYMMDD index f8bee9f..741681d 100644 --- a/etc/scan.YYYYMMDD +++ b/etc/scan.YYYYMMDD @@ -1,10 +1,9 @@ %; scan.YYYYMMDD %; %; Like scan.default, but the date is printed in YYYY-MM-DD format rather than -%; MM/DD. Leaves out the apparently little-used replied/encrypted column in -%; order to make space. +%; MM/DD. %; -%4(msg)%<(cur)+%| %>\ +%4(msg)%<(cur)+%| %>%<{replied}-%?{encrypted}E%| %>\ %4(year{date})-%02(mon{date})-%02(mday{date})%<{date} %|*%>\ %<(mymbox{from})%<{to}To:%14(decode(friendly{to}))%>%>\ %<(zero)%17(decode(friendly{from}))%> \ -- 1.7.10.4