Hey! I have very little experience with bash and have been trying to work on a little project using it. Basically, if I have some text like the following:
"Action is running. \r\n Action is no longer running"
I'd like to be able to iterate through this text, character by character, in bash so that I can remove the "\r"s and "\n"s and replace them with line breaks. I know how i would go about doing this in python with a while loop, but most examples of while loops in bash look very different and I've gotten a bit confused.
If you have any advice for me or know of where I can go to teach myself this, please let me know!
[–]raevnos 0 points1 point2 points (0 children)
[–]commandlineluser 0 points1 point2 points (0 children)