ALIGN(1)

NAME
align - center or right-align a text file

SYNOPSIS
align -C|c|R|r [-w width]

DESCRIPTION
Copies a file from standard input to standard output, indented with spaces to be centered or right-align, depending on the chosen mode:

-C  Center as a block
-c  Center per line
-R  Right-align as a block
-r  Right-align per line

Tabs are expanded. The target width can be set with -w width and defaults to the COLUMNS environment variable, or 80 if unset.

EXAMPLES
Centering a file block and per-line modes respectively:

    $ align -C <poem.txt
           Into the machine
           The soul descended
           Speaking to its creator
           Greeting the world
    $ align -c <poem.txt
              Into the machine
             The soul descended
           Speaking to its creator
             Greeting the world

AUTHORS
Sijmen J. Mulder <ik@sjmulder.nl>