Files
oldlinux-files/Minix/2.0.0/wwwman/man1/width.1.html
2024-02-19 00:21:39 -05:00

74 lines
1.0 KiB
HTML

<HTML>
<HEAD>
<TITLE>width(1)</TITLE>
</HEAD>
<BODY>
<H1>width(1)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
width - force all the lines of a file to a given width
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>width</STRONG> [<STRONG>-</STRONG><EM>n</EM> [ <EM>infile</EM> [<EM>outfile</EM>]
</PRE>
<H2>OPTIONS</H2><PRE>
<STRONG>-</STRONG><EM>n</EM> Outline line size
</PRE>
<H2>EXAMPLES</H2><PRE>
<STRONG>width</STRONG> <STRONG>-60</STRONG> <STRONG>x</STRONG> <STRONG>y</STRONG> # Copy <EM>x</EM> to <EM>y</EM>, force lines to 60 cols
<STRONG>width</STRONG> <STRONG>x</STRONG> # Copy default (80) column lines to <EM>stdout</EM>
</PRE>
<H2>DESCRIPTION</H2><PRE>
The input file is copied to the output file. All lines are forced to a
given size (default: 80 columns) by padding with spaces or truncating.
Tabs are expanded to spaces.
</PRE>
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="../man1/fold.1.html">fold(1)</A></STRONG>.
</PRE>
</BODY>
</HTML>