Responding To: era eriksson <era(_at_)iki(_dot_)fi>
Original Date: Sun, 15 Jun 1997 21:54:07 +0300 (EET DST)
Message-ID:
<199706151854(_dot_)VAA03425(_at_)kontti(_dot_)Helsinki(_dot_)FI>
I was under the impression that you wanted to grab either of the two
time stamps from the generated reply but of course, I suppose the
message you send off should have a good enough time stamp of its own.
I did. Then I changed my mind. :-)
I can only see part of it anyway, so I might as well just take the part in
between the " marks. If I can do that, then I'll be happy... I tried this at
the commandline:
echo 'Your message regarding \"bug again\" of Sat Jun 14 1997 12:27:25 -0400
was read on Sat Jun 14 1997 19:02:08 +0200.' | sed -e N -e'2{' -e 'y/\n/ /'
-e 's/ */ /g' -e 's/^[^"]*"//' -e 's/"[^"]*$/' -eq -e'}'
and I got this:
sed: strings for y command are different lengths
That was with GNUsed.
My regular sed gave me this:
Unrecognized command: -e
(I guess NeXT has an old sed :-(
TjLD
--
TjL <luomat(_at_)peak(_dot_)org> / http://www.peak.org/~luomat/next/
NeXT bookmarks: http://www.peak.org/~luomat/next/bookmarks.html
sed 's/End\ of\ sig/pithy\ quotation/g'