1

ESC[70G[ and ^M characters in text file

view story
linux-howto

http://www.unix.com – Hi, I have a text file which when I do a 'cat' on it looks like below with the OK’s showing in green and any FAIL showing in red. cat filename output: ===== MySQL Query Check ===== DB mpuser is alive. 733 = Expected 733 Tables. [ OK ] DB mpuser_wf is alive. 61 = Expected 61 Tables. [ OK ] ===== MySQL Uptime Check ===== UpTime is 33024426 [ OK ] ===== Ensure all interfaces and DB connections are OK ===== =====> Determining DBM-01 & DBM-02 state ... The states of DBM-0 (HowTos)