1
0
Fork
You've already forked center
0
  • C 60.9%
  • Roff 31.2%
  • Makefile 4.3%
  • Shell 3.6%
Find a file
2026年05月31日 16:11:11 +02:00
completions Add support for long options 2022年11月13日 09:17:41 +01:00
.gitignore Initial commit 2022年02月08日 00:41:43 +01:00
.mailmap Update Caspers' default email address 2022年10月04日 10:14:32 +02:00
center.1 Use OpenBSDesque formatting 2022年11月16日 14:10:27 +01:00
center.c Remove useless newline-escape 2023年07月11日 15:42:48 +02:00
LICENSE Initial commit 2022年02月08日 00:41:43 +01:00
Makefile Set PREFIX to /usr/local 2026年05月31日 16:11:11 +02:00
README.md Document new center package 2022年10月13日 02:49:10 +02:00
TODO Mark TODO #2 as complete 2022年10月08日 05:34:21 +02:00

center

center(1) is a very basic UNIX utility to... well... center text. The documentation for the tool can be found here. If you would like to contribute to the project, a list of tasks that need completing can be found in the TODO file in the repo. This utility should be as simple as possible, accepting input from stdin and printing output to stdout. This should be the best utility possible to center text.

Installation

If you're on an arch-based Linux distribution, then you can install center from the aur:

paru -S center # The lastest stable release
paru -S center-git # The most up-to-date release

Otherwise if you would like to build from source, simply run:

git clone git://git.thomasvoss.com/center.git
cd center
make
make install