Scroll to navigation

ocs(1) General Commands Manual ocs(1)


ocs - creates and maintains the database for cscope on a recursive directory set


ocs [-x] [-f] [-q] [-u]


This manual page briefly documents ocs , a shell script wrapper that automates the creation and maintenance of a cscope(1) database on a recursive set of directories. Under normal circumstances, ocs generates a cscope database on a recursive group of directories starting from the current working directory, before launching cscope(1) in interactive mode.


Enable debugging.
Force. Do not ask about regenerating 'TMP' lists (lists generated by ocs ), just do it; Allow the regeneration of 'CSD' (lists generated by cscope(1) ) lists.
Tell cscope to build a fast reverse index. Database disk space usage is doubled, but searching speed is increased.
Request that the database be updated or regenerated.


If this is an executable shell script, it will be included in the body of ocs in order to override intenal filenames and other options. See the comments at the top of /usr/bin/ocs for more information.


None noted.


cscope(1), /usr/bin/ocs.


This manpage originally prepared by Nick Rusnov <> for the Debian Project.

June 2001 The Debian Project