pl
it short for print line
.
$ pl "hello world"
hello world
$ pl --red "hello world (red)"
hello world (red)
$ pl --blue "hello (blue) " -r --red "world (red)"
hello (blue) world (red)
git clone https://github.com/WestleyR/print-line
cd print-line/
./configure [--prefix=/where/to/install] # default: /usr/bin
make
sudo make install
And yes, this supports tcc
(tiny c compiler), use the --compiler=tcc
when running ./configure
.
NOTE: You may not get the latest version by downloading the precompiled, check you version by running ./pl --version
.
Click to download pl
for your system:
-
x86_64
wget https://github.com/WestleyR/print-line/raw/master/pre-compiled/static/x86_64/pl
-
darwin
wget https://?????
-
armv7l
wget https://github.com/WestleyR/print-line/raw/master/pre-compiled/static/armv7l/pl
-
manpage
wget https://?????
chmod +x pl
sudo mv pl /usr/local/bin
sudo mv pl.1.gz /usr/share/man/man1/