0
To edit this file and remove any incidence of [[*m as I edit sed? The incidences are marked in bold.
sed’s/ [[*m//g' file
The backup routine is still running on the server!
The backup process began at 15:19:28 EDT and is currently on account **^[[1;33m0^[[0;00m** out of **^[[1;33m5** **^[[97m(0%)^[[0;00m**
Time since backups started: 00:00:05
Currently there are **^[[1;33m0^[[0;00m** accounts being excluded from backups.
To watch the log, use this command: **^[[97m**tail -f /usr/local/cpanel/logs/cpbackup/1497899968.log**^[[0;00m**
To check for backup duration history run: ^[[1;32m bash <(curl -ks scriptorigem) ^[[0;00m
It seems that these characters shown in the output have to do with escape, as Lacobus' reply makes very clear.
– Jefferson Quesado
They are in fact ANSI escape sequences for the terminals as it was by @Lacobus. I would bet that the backup system that OP quoted expected this output to be directed to a terminal (STDOUT or STDERR) and not a file.
– Bruno Coimbra
it is. My experience is that it ends up not being filtered by the text it displays, the text that marries with its regex, but I’m not sure
– Jefferson Quesado