Since color codes can mess with tools like awk, a query parameter to disable the colorizing should be added to the API for the root resource. Something like curl http://mylitmushost/?color=false should result in no colorization. This will eliminate the need to strip color sequences out with something like sed.
Since color codes can mess with tools like
awk
, a query parameter to disable the colorizing should be added to the API for the root resource. Something likecurl http://mylitmushost/?color=false
should result in no colorization. This will eliminate the need to strip color sequences out with something likesed
.