Co robi FMT użycie. Konsola command line, or read text from standard input if - (or no file) is.

Czy przydatne?

Polecenie fmt

Wykonanie, użycie: Convert text to specified width by filling lines and removing newlines. Concatenate files on the command line, or read text from standard input if - (or no file) is specified. By default, preserve blank lines, spacing, and indentation. fmt attempts to break lines at the end of sentences and to avoid breaking lines after a sentence's first word or before its last

Opcje wykonania fmt w konsoli

-c,--crown-margin

Crown margin mode. Do not change indentation of each paragraph's first two lines. Use the second line's indentation as the default for subsequent lines.

-p prefix,--prefix=prefix

Format only lines beginning with prefix.

-s,--split-only

Suppress line-joining.

-t,--tagged-paragraph

Tagged paragraph mode. Same as crown mode when the indentations of the first and second lines differ. If the indentation is the same, treat the first line as its own separate paragraph.

-u,--uniform-spacing

Reduce spacing to a maximum of one space between words and two between sentences.

-w width,--width=width

Set output width to width. The default is 75.

--help

Print help message and then exit.

--version

Print version information and then exit.

Przykłady fmt działanie w Słownik polecenie F

Przykład FMT użycie :
Jak użyć files for lines that match the specified text string . Exit status is 0 if any lines match, 1 if not, and 2 for errors. fgrep is faster than normal grep searches, but less flexible: it can only find co znaczy.
Przykład FMT użycie :
Jak użyć administration command. Retrieve mail from mail servers and forward it to the local mail delivery system. fetchmail retrieves mail from servers that support the common mail protocols POP2, POP3 krzyżówka.
Przykład FMT użycie :
Jak użyć and from remote network site hostname . ftp prompts the user for a command. The commands are listed after the options. Some of the commands are toggles, meaning they turn on a feature when it is off co to jest.
Przykład FMT użycie :
Jak użyć the named files so that they are no wider than the specified width. fold breaks lines exactly at the specified width, even in the middle of a word. Reads from standard input when given - as a file słownik.
Przykład FMT użycie :
Jak użyć A null command that returns an unsuccessful (nonzero) exit status. Normally used in bash scripts. See also true czym jest.