UNIX/LINUX Command – fmt

March 3, 2019

Comments

Adsense

Adsense

Adsense

Adsense

NAME

fmt—Adjust line-length for paragraphs of text

SYNOPSIS

fmt [–width][files]…

DESCRIPTION

fmt is a simple text formatter. It inserts or deletes newlines, as necessary, to make all lines in a paragraph be approximately the same width. It preserves indentation and word spacing.

The default line width is 72 characters. You can override this with the –width flag. If you don’t name any files on the command line, then fmt will read from stdin.

It is typically used from within vi to adjust the line breaks in a single paragraph. To do this, move the cursor to the top of the paragraph, type !gfmt, and press Return.

Satish Kumar

Satish Kumar

I am Satish Kumar, Founder of LinuxConcept. Linux and F.O.S.S enthusiast, love to work on open source platform and technologies.

Adsense

Adsense

Adsense

Adsense

Adsense

Adsense

Adsense

Adsense

Adsense

Related Posts

UNIX/LINUX Command – strip

UNIX/LINUX Command – strip

NAME strip—Discard symbols from object files. SYNOPSIS strip [ -Fbfdname|–target=bfdname ] [ -Ibfdname|–input-target=bfdname ] [ -Obfdname|–output-target=bfdname ] [-Rsectionname|–remove-section=sectionname ] [ -s|–strip-all ] [-S|-g|–strip-debug ][-x|–discard-all...

UNIX/LINUX Command – expand

UNIX/LINUX Command – expand

NAME expand—Convert tabs to spaces SYNOPSIS expand [–tab1[,tab2[,…]]] [–t tab1[,tab2[,…]]] [–i] [—tabs=tab1[,tab2[,…]]] [–initial] [–help] [–version] [file…] DESCRIPTION This manual page documents the GNU version of expand. expand writes the contents of each given...

0 Comments

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

18 − 3 =

News & Updates

Join Our Newsletter

Adsense

Adsense

Adsense

Adsense