UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: manChapter 2
UNIX Commands
Next: Reference: mesg
 

mcs

mcs [options] files

Manipulate the comment section. mcs is used to add to, compress, delete, or print a section of one or more ELF object files. The default section is .comment. If any input file is an archive, mcs acts on each component file and removes the archive symbol table (unless -p was the only option specified). Use ar s to regenerate the symbol table. At least one option must be supplied.

Options

-a string

Append string to the comment section of files.

-c

Compress the comment section of files and remove duplicate entries.

-d

Delete the comment section (including header).

-n name

Act on section name instead of .comment.

-p

Print the comment section on standard output.

-V

Print the version of mcs on standard error.

Example

mcs -p kernel.o	Print the comment section of kernel.o


Previous: Reference: manUNIX in a Nutshell: System V EditionNext: Reference: mesg
Reference: manBook IndexReference: mesg

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System