-2

Im looking for some kind of C text manual or man pages for C syntax or cockbook which i can check in command line shell mode . Thanks

user63898
  • 29,839
  • 85
  • 272
  • 514

2 Answers2

1

You could use pandoc (available here) to convert pretty much anything that you like the style of into manpages - whether that is HTML, MS-Word documents or ePUB books.

So, take the "GNU C Reference Manual" here, and convert that into manpages with pandoc as follows:

pandoc -V title="C Programming" -V section=1 -s -t man https://www.gnu.org/software/gnu-c-manual/gnu-c-manual.html -o C.1

Then you could copy that to usr/local/share/man/man1 and access it with:

man C

Or, don't mix it in with your system manpages, and instead change your MANPATH environment variable.

Or you could use the "GNU C Library" as your starting point (here), or heck, have them both!

Mark Setchell
  • 191,897
  • 31
  • 273
  • 432
0

The man page for "C" syntax alone would be huge :-) "The C Programming Language" by Kernighan & Ritchie is still a thorough and readable way to learn C.

Mischa
  • 2,240
  • 20
  • 18