use upper case P in examples
This commit is contained in:
parent
2e7dc83e22
commit
c9cabb3666
1 changed files with 3 additions and 3 deletions
|
|
@ -115,11 +115,11 @@ special characters that would be recognize by your shell.
|
|||
* Color each line of a file with a different color among a 256 color gradient from cyan to green:
|
||||
`head /var/log/auth.log | colout -c "^.*$" 39,38,37,36,35,34`
|
||||
|
||||
* Color a source code in 8 colors mode:
|
||||
`cat colout.py | colout -s python`
|
||||
* Color a source code in 8 colors mode, without seeing comments:
|
||||
`cat colout.py | grep -v "#" | colout -s python`
|
||||
|
||||
* Color a source code in 256 colors mode:
|
||||
`cat colout.py | colout -s python monokai`
|
||||
`cat colout.py | colout -s Python monokai`
|
||||
|
||||
* Color a JSON stream:
|
||||
`echo '{"foo": "lorem", "bar":"ipsum"}' | python -mjson.tool | colout -t json`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue