Files
2024-02-19 00:21:39 -05:00

66 lines
753 B
Plaintext

Command: width - force all the lines of a file to a given width
Syntax: width [-n [ infile [outfile]
Flags: -n Outline line size
Examples: width -60 x y # Copy x to y, force lines to 60
cols
width x # Copy default (80) column lines to
stdout
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.