📄 entab.man
字号:
.TH ENTAB 1 local.SH NAMEentab - tab processor.SH SYNOPSIS.nfentab [-cdq] [-s min_spaces] [-t tab_width] [file ... ]detab [-cq] [-s min_spaces] [-t tab_width] [file ... ].fi.SH DESCRIPTIONEntab is a program designed to selectively add or remove tabsfrom a file based on user-supplied criteria.In default mode, entab prints the specified files to standard outputwith the optimal mix of tabs and spaces.Tabs default to every 8 characters, and tabs are used only when theycan replace more than one space, unlike 'col' which uses tabs whereverpossible..LPThe options are:.in +0.5i.nf-c Clip trailing tabs and spaces from each line.-d Delete all tabs from output-q Protect single and double-quoted strings from tab replacement. (This option is useful when operating on source code. Line continuation with back-slashes is also understood.)-s Minimum spaces needed to replace with a tab (default = 2).-t Number of spaces in a tab stop (default = 8)..fi.in -0.5iDetab is equivalent to entab -d..SH NOTESEntab has improved tab handling for certain situations.It only replaces tabs if there is a user-defined number of spacesto be saved.Other tab replacement programs put tabs whereverpossible, so if two words are separated by one space, and thatspace is on a tab stop, a tab is inserted.Then, when words are added to the left, the words are shifted over,leaving a large gap.The quote-protection option allows tab replacement withoutquoted strings being changed.Useful when strings in source code will not have the same tab stopswhen executed in the program. .LPTo change a text file created on a system with one size of tabstop to display properly on a device with different tab setting,use detab (or entab -d) to remove tabs from the file with thetab size set to the original tab size, then use entab to re-tabthe file with the new tab size..SH AUTHORBruce Momjian, root@candle.pha.pa.us
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -