Re: Spliting file and save it with date...

"Jim Hill [email protected] [sed-users]" <[email protected]> Sat, 16 Sep 2017 11:52:37 -0700
Newsgroups gmane.editors.sed.user
Message-ID <CAEE75_0zvJWXvVO6k0LNzBbNqUYkDUSnf757B6S1=fpsN5SqVw@mail.gmail.com>
Yes, that's correct, I see I didn't cc: the list when I sent the
EOD-quoting correction to the OP, oops^2.

The ` *` change is a definite improvement, thanks.

    sed '/^</!{H;$!d};x;1d;s/.*\n$date *= *"\([^"]*\).*/cat >\1.data
<<\\EOD\n&\nEOD/' t.data

Is something like this not in the sed oneliners?


[Non-text portions of this message have been removed]