-p, --prefix
Reformat only lines beginning with STRING, reattaching the prefix to reformatted lines.
An option of fmtx.
Usage
fmtx [-WIDTH] -p STRING [FILE]...
fmtx [-WIDTH] --prefix=STRING [FILE]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-p | --prefix | STRING | reformat only lines beginning with STRING, reattaching the prefix to reformatted lines |
Examples
Reflow a block of shell comments after editing them
fmtx -p '#' -w 72 config.shHelp in the terminal
gnux help fmtx --prefix