On 29 Jun 2024 06:12 -0500, from rowl...@access.net (Richard Owlett): >>> $ for v in $(seq 1 119); do sed -i 's,<span class="verse" >>> id="V'$v'">,<sup>,g' ./*.html; done >> >> Having done that (or similar), don't forget to change the relevant >> </span> closing tags to </sup> closing tags. However, there may be >> other </span> closing tags you don't want to change because they close >> other <span> tags we haven't seen. > > Chuckle ;} The appropriate "</span>" to be replaced by "</sup>" is ALWAYS > preceded by "#160;" .
As far as I can see, neither of this was stated in the original question. Please don't add arbitrary requirements later to invalidate potential answers. -- Michael Kjörling 🔗 https://michael.kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”