16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

csplit<br />

Related Information<br />

awk, sed<br />

For more information about regexp, see Appendix C.<br />

ctags — Create tag files for ex, more, and vi<br />

Format<br />

Description<br />

Options<br />

Localization<br />

ctags [–aBFwx] [–f tagfile] sourcefile ...<br />

ctags creates a file named tags in the current directory. It summarizes the locations<br />

of various objects in the C source files named on the command line. All files with a<br />

.c or .h suffix are treated as C source files.<br />

For C source code, ctags summarizes function, macro and typedef definitions. See<br />

Appendix H for a description of the format of the tags file.<br />

The tags file is used by ex, more, and vi to support the tag command. The tag<br />

command can be used to edit the file containing a name in the tags file.<br />

For ex and vi, the command is:<br />

: tag name<br />

For more, the command is:<br />

:tname<br />

After these commands are run, the tags file is searched for name. If it is found, the<br />

file associated in the tags file with that name is loaded and the line containing the<br />

name is made the current line.<br />

–a Appends output to the existing tags file rather than overwriting the file.<br />

–B Produces a tags file that searches backward from the current position to<br />

find the pattern matching the tag.<br />

–F Searches for tag patterns in the forward direction. This is the default.<br />

–f Generates a file named tagfile rather than the default tags file.<br />

–w Suppresses warning messages.<br />

–x Produces a report on the standard output. The report gives the definition<br />

name, the line number of where it appears in the file, the name of the file in<br />

which it appears, and the text of that line. ctags arranges this output in<br />

columns and sorts it in order by tag name according to the current locale’s<br />

collation sequence. This option does not produce a tags file.<br />

ctags uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_COLLECT<br />

v LC_CTYPE<br />

176 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!