On Tue, Jan 4, 2011 at 10:33 PM,  <[email protected]> wrote:
> David Scheidt schrieb:
>>
>> I don't know, b ut the archive at
>> http://mail.sjgames.com/pipermail/gurpsnet-l/
>> goes back to 2003.
>
> Oh, yes - my reading skill is low :)
> Thanx!
>
> Still, older archives may be "somewhere" ...
>
>
>>> 2)
>>
>> It's only necessary to change the first line.
>> I used the following bit of sed:
>> sed 's/^From \(.*\) at \(.*\)/From \...@\2/' infile.txt > outfile.mbox
>>
>> and my version of mutt (actually, a whole range of versions on my
>> isp's shell machines) read them just fine.
>
> You are right!
> I had a mistake in my sed line - now i used:
>
> sed -i 's/^From \(.*\) at \(.*\) /From \...@\2 /g;s/^From: \(.*\) at \(.*\)
> /From: \...@\2 /g' *.txt

Probably not a real problem, but a pattern that's anchored to the
start of a line (with ^) can't match more than once, so you don't need
the 'g' option (which means "replace every occurance on a line").

-- 
David Scheidt
[email protected]
_______________________________________________
GurpsNet-L mailing list <[email protected]>
http://mail.sjgames.com/mailman/listinfo/gurpsnet-l

Reply via email to