Re: procmail with mutt
* On 2006.01.17, in <20060117180425.GL29893@xxxxxxxxxxxxxxxxxxx>,
* "David Champion" <dgc@xxxxxxxxxxxx> wrote:
>
> * Fixing the MH folder
> unix$ cd FOLDERNAME
> unix$ perl -e 'opendir(D, "."); \
> $n = 1; \
> for $file (grep /^msg/, readdir(D)) { \
> rename $file $n; \
> $n++; \
> }'
Clearly untested. There's a typo here; this should be:
unix$ perl -e 'opendir(D, "."); \
$n = 1; \
for $file (grep /^msg/, readdir(D)) { \
rename $file, $n; \
$n++; \
}'
--
-D. dgc@xxxxxxxxxxxx NSIT University of Chicago