SHORTC(1) General Commands Manual SHORTC(1)NAME
shortc - generate short preprocessor definitions for long C identifiers
shortc [ -symlen ] [ -p ] [ -s ] file ...
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.
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)
Check Out this Related Man Page
CPP(1) General Commands Manual CPP(1)NAME
cpp - C language preprocessor
cpp [ option ... ] [ ifile [ ofile ] ]
Cpp interprets ANSI C preprocessor directives and does macro substitution. The input ifile and output ofile default to standard input and
standard output respectively.
The options are:
-Idir Same as in 2c(1).
-M Generate no output except a list of include files in a form suitable for specifying dependencies to mk(1). Use twice to list files
in angle brackets.
-N Turn off default include directories. All must be specified with -I. Without this option, /$objtype/include and /sys/include are
used as the last two searched directories for include directives, where $objtype is read from the environment.
-V Print extra debugging information.
-+ Understand C++ comments.
The output file contains processed text sprinkled with lines that show the original input line numbering:
#line linenumber "ifile"
The input language is as described in the ANSI C standard. The C compilers do not use cpp; they contain their own simple but adequate pre-
processor, so cpp is usually superfluous.
directory for machine-independent include files
directory for machine-dependent include files
SEE ALSO 2c(1)CPP(1)
Which Unix Certification is the most needed these days? This is a big question think about it...
- SUN unix certification?
- SCO unix certification?
- SOLARIS unix certification?
HP-UX 10.20 ... (7 Replies)
My background as a nuclear engineer has provided me many opportunities to interact with computing. I have now decided to make the career change into the wonderful world of UNIX since my industry continues to die a slow death. Can my vague college experience (beginner at best) using UNIX suffice... (4 Replies)
ok, i've seen a thread similar to this going, but it just seemed to die before any answer surfaced, so -- here i go.
got a sparc 4 running solaris 8 and i'm trying to get my tcp/ip connectivity going. everything is cool so far, i can hit sites via IP addresses -- but can't resolve any domain... (5 Replies)
i am used to press the escape button to automatically fill up the missing words of a file name in an HPUX. how come i cannot do the same thing for Sun? do i have to set anything to activate this? if so is it possible to automatically go to this mode when a user logs in?
how about history? how... (6 Replies)
I'm new to this forum, but i'm getting to work on some unix and i like it a lot. I'm trying to figure out a way i can create a shortcut command for a long pathname for example, if i needed to access a file in a particular directory i would type "cd /sampledata/IFS/IFS_DEV/HDC/files/glitter".... (9 Replies)
Can anybody tell me how to configure the Keyboard shortcuts of Firefox?
I know that there is an extension called keyconfig and I used it with Firefox 1.0 but I it wasn't updated since 2005 or something. I also had a closer look at about:config but didn't find anything. My Google... (7 Replies)
I am having a problem to create a shortcut in a directory linked to another directory in my home directory. For example, I would like to create a shortcut 'outputs', which directly links to the real 'outputs' in my home directory. So, I was wondering if ln is the correct command in this... (5 Replies)
I'm the new user of linux/unix. Can I ask that anybody know how to use the linux/unix shortcut key to search a specific file from a list of directory?
For example, I know the file name that I want to search. But I forget which directory or location is my desired file put.Got any shortcut... (7 Replies)
sorry if this is the wrong forum for this question but I couldnt spot another obvious forum for it.
I have a windows shortcut which opens up a saved session in putty. From this session I then ssh to another remote server. I was wondering is there a way that I can either edit my shortcut... (5 Replies)
I am facing some problem after installing the Openoffice in Solaris 10. The installation is successful but i cannot find any icon or shortcut on both Application and Desktop... please help me on this.... (8 Replies)
I have a netbook with duo boot (win7 starter + ubuntu 12.04).
I tested it only in ubuntu and I could not set illumination by pressing "function+right arrow" or "function+left arrow" buttons.
Has anybody ever faced similar problem?
Thanks in advance
Boris (6 Replies)
I have directory with shorcuts of files.
gara@yn\short\name1 ( shortcut to gara@yn\FOLDER\OPT\GARA\1.jpg )
gara@yn\short\name2 ( shortcut to gara@yn\FOLDER\OPT\GARA\11.jpg )
gara@yn\short\name3 ( shortcut to gara@yn\MARA\URSA\2.jpg )
gara@yn\short\name4 ( shortcut to... (6 Replies)
I want to run a shell script with out logging to putty but configuring it to a keyboard short cut it windows PC. Can this be done? I want this to rename a log in a specified folder in a system
Thanks (8 Replies)