Couldn't really make sense of the posts in the linked 2022 thread as I didn't want images or think significant changes should be needed just get rid of the boxes. They appear to be caused by a stray carriage return (CR) left in the related text files. As someone still getting my feet wet with Linux, with a bit of research and some careful experimentation, a fairly simple solution was found.
?
After , you don't have to replace the entire fetchsolar script. The only thing required is an easy edit to one line in each of the "clean up" sections (aindex, kindex, sflux, & sunspots). You can see where this file resides in the video starting about the 9:30 mark. The changes are highlighted in bold:
?
original: sed -i 's/<\/aindex>//' $DIR/aindex.txt
new: sed -i 's/<\/aindex>.*//' $DIR/aindex.txt
?
original: sed -i 's/<\/kindex>//' $DIR/kindex.txt
new: sed -i 's/<\/kindex>.*//' $DIR/kindex.txt
?
original: sed -i 's/<\/solarflux>//' $DIR/sflux.txt
new: sed -i 's/<\/solarflux>.*//' $DIR/sflux.txt
?
original: sed -i 's/<\/sunspots>//' $DIR/sunspots.txt
new: sed -i 's/<\/sunspots>.*//' $DIR/sunspots.txt
?
Jason, please feel free to add these changes to the github pi-scripts fetchsolar file.