From bff1e5d501a9643ae03618ba40848b1d85449197 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Thu, 10 Jun 2010 18:19:00 -0700 Subject: [PATCH] compat-wireless: add script to grep out colors This is useful for a cronjobs that do not want the color fluff on output. Signed-off-by: Luis R. Rodriguez --- scripts/skip-colors | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 scripts/skip-colors diff --git a/scripts/skip-colors b/scripts/skip-colors new file mode 100755 index 000000000000..121626fb161c --- /dev/null +++ b/scripts/skip-colors @@ -0,0 +1,2 @@ +#!/bin/bash +perl -pe 's|(\e)\[(\d+)(;*)(\d*)(\w)||g' -- 2.30.2