forked from adolfopa/miscutils
26 lines
397 B
Groff
26 lines
397 B
Groff
|
.Dd April 14, 2022
|
||
|
.Dt ROT 1
|
||
|
.Os
|
||
|
.Sh NAME
|
||
|
.Nm rot
|
||
|
.Nd Rotate stdin 90 degrees
|
||
|
.Sh SYNOPSIS
|
||
|
.Nm
|
||
|
.Sh DESCRIPTION
|
||
|
Visually rotate stdin 90 degrees counter clockwise,
|
||
|
swapping rows and columns.
|
||
|
.Sh EXIT STATUS
|
||
|
.Ex -std
|
||
|
.Sh EXAMPLES
|
||
|
.Bd -literal -offset indent
|
||
|
$ printf 'Aa\\nBb\\nCc\\n'
|
||
|
Aa
|
||
|
Bb
|
||
|
Cc
|
||
|
$ printf 'Aa\\nBb\\nCc\\n' | rot
|
||
|
abc
|
||
|
ABC
|
||
|
.Ed
|
||
|
.Sh AUTHORS
|
||
|
.An Adolfo Perez Alvarez Aq Mt adolfopa@sdf.org
|