Skip to content
Advertisement

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 ncurses

bash printf not working – decimals [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 4 years ago. Improve this question

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.html

Advertisement