I have a file that has a few hundred lines, 77 of which are a HTML/XML style 
date element

<date>Tue, 15 Jun 2021 17:12:26 -0600</date>

I have another files that has 77 date lines in the same format. Everything is 
different dates, obvs.

I want to replace the first date in file 1 with the first date in file 2, and 
so on through the entire file.

I haven't come up with a goos idea, though I think I have several BAD ideas. 
The one that seems least bad (but really bad) is to format the files with all 
'blocks" onto a single line, then line up all the date fields, and copy and 
paste a multiline paste, but I figure by the time I have lined up the dates I'm 
spent more time than doing it by hand.

I don't want to do it by hand, partly because I would rather waste hours 
figuring out how to do it than undertake the tediuous job, but nastily because 
I know going it by hand things will get borked.

I swear I had a way to do this a couple o months ago.

-- 
Steak and suspicious-organ pie

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/F344F73D-5BF3-4303-A86C-C02325EEFB29%40kreme.com.

Reply via email to