Mailinglist Archive: opensuse-factory (562 mails)

< Previous Next >
Re: [opensuse-factory] inxi for acquiring driver info (was: this latest release is proving trouble...)
  • From: Roger Price <roger@xxxxxxxxxxxxxx>
  • Date: Wed, 18 Jan 2017 21:28:20 +0100 (CET)
  • Message-id: <alpine.LSU.2.11.1701182122260.5770@maria>
On Wed, 18 Jan 2017, Felix Miata wrote:

... Color schemes don't seem to be defeatable.

In .bashrc I added

# Remove colour codes from ascii
# See for codes
# See
for sed
alias no-color='sed "s/\x1B\[[0-9;]*[JKmsu]//g"'
alias no-colour='sed "s/\x1B\[[0-9;]*[JKmsu]//g"'

I pipe the inxi outup through no-colo(u)r to remove the colo(u)rs.

To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >