bsd man page for shortc

Query: shortc

OS: bsd

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SHORTC(1)						      General Commands Manual							 SHORTC(1)

NAME
shortc - generate short preprocessor definitions for long C identifiers
SYNOPSIS
shortc [ -symlen ] [ -p ] [ -s ] file ...
DESCRIPTION
Shortc searches for instances of long identifiers in the specified files. In its normal mode of operation shortc generates a list of pre- processor definitions that are unique in their first seven characters. The shortc output is then included into each file (or a common header file) which is processed using a flexnames version of cpp. If no files are given shortc reads from the standard input. The symlen argument may be used to change the default long identifier length from seven characters. The -s option generates a sed script instead of preprocessor definitions. The -p option causes shortc to parse preprocessor lines. These options are most useful together when flexnames support is not available from cpp.
BUGS
When using cpp, preprocessor symbols must be weeded out by hand. Otherwise they will cause (innocuous) redefinition messages. The -p option will incorrectly parse include file names which must be removed by hand from the output. 3rd Berkeley Distribution September 5, 1988 SHORTC(1)
Related Man Pages
cproto(1) - debian
fort77(1) - debian
unifdef(1) - hpux
unifdef(1) - netbsd
unifdefall(1) - netbsd
Similar Topics in the Unix Linux Community
Which Unix Certification is the most needed these days?
escape shortcut and short on history :)
How to create a shortcut for Openoffice?
Illumination shortcut keys are not working
Method to run a shell script using shortcut key in keyboard with out logging to putty