beautiful line output with ANSI color code
welcome to beautiful line output
A simple CLI application for testing ANSI color written in C
.
This is an application that you can use on your Console/Terminal.
It provides you some simple + friendly + flexible options which you
can use easily. There is no prerequisite except compile it with a C
compiler.
ESC[Value;...;m
ESC[(38|48);2;...;m
⚫ usage
⚪ examples
⚪ NOTE
⚪ more
⚪ bottom
⚪ top
git clone https://github.com/k-five/bline
cd bline/src/
make build
/usr/bin/
or create your own path in ~/bin/
an put itls | ./bline -a red
⚪ usage
⚫ examples
⚪ NOTE
⚪ more
⚪ bottom
⚪ top
# all lines, foreground red:
ls | bline -a red
# all lines, foreground red, background green:
ls | bline -a red:green
# all lines, foreground is default (NOTE.3), background is green:
ls | bline -a :green
# add color-mode, odd lines (foreground) will be in light,italic,red
ls | bline -o light:red
# add text-mode, as well
ls | bline -o light:italic:cross:red
# combine options are okay:
ls | bline -a light:green -i red -I 7 -r yellow -R 5-10
# using hex value, foreground in red
df | bline -H -a ff00ff
# hex, foreground green, background red
df | bline -H -a 00ff00:ff0000
# hex just background
df | bline -H -a :ffff00
# look for string: 'sda' and make that/those line(s) green
lsblk | bline -m sda light:green
⚪ usage
⚪ examples
⚫ NOTE
⚪ more
⚪ bottom
⚪ top
ansi_code.h
bitwise
operators (see str2hex() function)
⚪ usage
⚪ examples
⚪ NOTE
⚫ more
⚪ bottom
⚪ top
⚪ usage
⚪ examples
⚪ NOTE
⚪ more
⚫ bottom
⚪ top
bline copyright © 2017 Shakiba
▒█▀▀█ ▒█▀▀█ ▒█░░░ █▀▀█
▒█░▄▄ ▒█▄▄█ ▒█░░░ ░░▀▄
▒█▄▄█ ▒█░░░ ▒█▄▄█ █▄▄█