Skip to content

Tag: formatting

Draw table in C — like table on manual page of Linux

I want to make nice tables like you see on some manual page of Linux documentation in C programming language. Is there any library or functions to create a table like them. For example a table that you can find on man syslog like the following, produced by running man syslog: Answer You can take a look at the…

How to format 2nd and 3rd lines on the first line?

I am using VIM, and I want to format 2nd and 3rd lines. I can do it by :2,3left<number of spaces> How to do it easier to get something like this? Answer try this pres Esc+: then press v then press enter , select the second and third lines , press = https://www.cs.swarthmore.edu/help/vim/reformatting.htm…