colout
colout copied to clipboard
`colout` is missing the `gray` color
In some version of colout
, I was able to write:
cat /proc/misc | colout cpu gray
And have the output formatted as gray. However, today it seems unable:
# cat /proc/misc | colout cpu gray
234 btrfs-control
56 memory_bandwidth
57 network_throughput
58 network_latency
[colout] ERROR: Unknown color: gray (maybe you forgot to install python3-pygments?)
Neither 0.6.1-3~xenial7
nor 0.6.2.dev21+g70bec38
(aka stdedos/colout@master
aka nojhan/colout@master
+ 2) seem to contain it.
# colout -r all
STYLES: blink, bold, conceal, faint, italic, normal, rapid_blink, reverse, underline
COLORS: black, blue, cyan, green, magenta, none, orange, purple, red, white, yellow
SPECIAL: colormap, Hash, hash, Random, random, Scale, scale
THEMES: clang, cmake, configure, ctest, g++, javac, json, latex, ninja, perm, python, valgrind
COLORMAPS: Default, default, Hash, hash, jet72, Rainbow, rainbow, Random, random, Scale, scale, Spectrum, spectrum
SYNTAX COLORING: abap, abnf, ada, adl, agda, aheui, ahk, alloy, ampl, antlr-as, antlr-cpp, antlr-csharp, antlr-java, antlr-objc, antlr-perl, antlr-python, antlr-ruby, antlr, apacheconf, apl, applescript, arduino, as3, as, aspectj, aspx-cs, aspx-vb, asy, at, autoit, awk, basemake, bash, bat, bbcode, bc, befunge, bib, blitzbasic, blitzmax, bnf, boo, boogie, brainfuck, bro, bst, bugs, c-objdump, ca65, cadl, camkes, capdl, capnp, cbmbas, c, ceylon, cfc, cfengine3, cfm, cfs, chai, chapel, cheetah, cirru, clay, clean, clojure, clojurescript, cmake, cobol, cobolfree, coffee-script, common-lisp, componentpascal, console, control, coq, cpp-objdump, cpp, cpsa, cr, crmsh, croc, cryptol, csharp, csound-document, csound-score, csound, css+django, css+erb, css+genshitext, css+lasso, css+mako, css+mozpreproc, css+myghty, css+php, css+smarty, css, cucumber, cuda, cypher, cython, d-objdump, dart, d, delphi, dg, diff, django, docker, doscon, dpatch, dtd, duel, dylan-console, dylan-lid, dylan, earl-grey, easytrieve, ebnf, ec, ecl, eiffel, elixir, elm, emacs, erb, erlang, erl, evoque, extempore, ezhil, factor, fancy, fan, felix, fish, flatline, forth, fortranfixed, fortran, foxpro, fsharp, gap, gas, genshi, genshitext, glsl, gnuplot, go, golo, gooddata-cl, gosu, groff, groovy, gst, haml, handlebars, haskell, haxeml, hexdump, hsail, html+cheetah, html+django, html+evoque, html+genshi, html+handlebars, html+lasso, html+mako, html+myghty, html+ng2, html+php, html+smarty, html+twig, html+velocity, html, http, hx, hybris, hylang, i6t, idl, idris, iex, igor, inform6, inform7, ini, io, ioke, irc, isabelle, jags, jasmin, java, javascript+mozpreproc, jcl, j, jlcon, js+cheetah, js+django, js+erb, js+genshitext, js+lasso, js+mako, js+myghty, js+php, js+smarty, jsgf, js, json-object, json, jsonld, jsp, julia, juttle, kal, kconfig, koka, kotlin, lagda, lasso, lcry, lean, less, lhs, lidr, lighty, limbo, liquid, live-script, llvm, logos, logtalk, lsl, lua, make, mako, maql, mask, mason, mathematica, matlab, matlabsession, md, minid, modelica, modula2, monkey, monte, moocode, moon, mozhashpreproc, mozpercentpreproc, mql, mscgen, mupad, mxml, myghty, mysql, nasm, ncl, nemerle, nesc, newlisp, newspeak, ng2, nginx, nim, nit, nixos, nsis, numpy, nusmv, objdump-nasm, objdump, objective-c++, objective-c, objective-j, ocaml, octave, odin, ooc, opa, openedge, pacmanconf, pan, parasail, pawn, perl6, perl, php, pig, pike, pkgconfig, plpgsql, postgresql, postscript, pot, pov, powershell, praat, prolog, properties, protobuf, ps1con, psql, pug, puppet, py3tb, pycon, pypylog, pytb, python3, python, qbasic, qml, qvto, racket, ragel-cpp, ragel-c, ragel-d, ragel-em, ragel-java, ragel-objc, ragel-ruby, ragel, raw, rbcon, rb, rconsole, rd, rebol, redcode, red, registry, resource, rexx, rhtml, rnc, roboconf-graph, roboconf-instances, robotframework, rql, rsl, rst, rts, rust, sas, sass, scala, scaml, scheme, scilab, sc, scss, shen, silver, slim, smali, smalltalk, smarty, sml, snobol, snowball, sourceslist, sparql, spec, splus, sp, sqlite3, sql, squidconf, ssp, stan, stata, swift, swig, systemverilog, tads3, tap, tasm, tcl, tcshcon, tcsh, tea, termcap, terminfo, terraform, tex, text, thrift, todotxt, trac-wiki, treetop, tsql, ts, turtle, twig, typoscriptcssdata, typoscripthtmldata, typoscript, urbiscript, vala, vb.net, vclsnippets, vcl, vctreestatus, velocity, verilog, vgl, vhdl, vim, wdiff, whiley, x10, xml+cheetah, xml+django, xml+erb, xml+evoque, xml+lasso, xml+mako, xml+myghty, xml+php, xml+smarty, xml+velocity, xml, xquery, xslt, xtend, xul+mozpreproc, yaml+jinja, yaml, zephir
Output differs slightly between computers
I could assume it is a python3-pygments
issue, but I have no idea how to verify or "why" this happened.
I know I could do something like cat /proc/misc | colout cpu '#xxxxxx'
for x in [0-9a-f]
, but that is besides the point