Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

shortc(1) [bsd man page]

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)

Check Out this Related Man Page

cxref-cpp(1)						      General Commands Manual						      cxref-cpp(1)

NAME
cxref-cpp - A modified C preprocessor to use with cxref. SYNOPSIS
cxref-cpp ... DESCRIPTION
To improve the output that is available for the source code for cross-referencing a modified version of the GNU CPP v2.7.2 is supplied (named cxref-cpp). This modified C preprocessor allows for a finer control over some features of the preprocessing that are not important for a compiler. In a standard preprocessor, the preprocessor directives are intended for use only by the preprocessor, so passing the information through is not important. With cxref-cpp, there are some features that are different to the standard GNU CPP: Compared to gcc versions earlier than version 2.8.0 there is an extra option that will output the #include lines from the source file. In version 2.8.0 and later this option is present. Comments trailing a #include or a #define are not preserved by all versions of gcc even if the -C option is used. This is not important while compiling, but is useful for documenting. The cxref-cpp program will take on the personality of the installed version of gcc so that the gcc header files can be parsed. This means that it includes the same default include directory paths and macro definitions. The file that contains these definitions is called cxref-cpp.defines and is installed by the cxref-cpp-configure program or specified by the -cxref-cpp-defines command line option. OPTIONS
The same as for gcc, apart from '-cxref-cpp-defines' described above. SEE ALSO
cxref(1), cxref-cpp-configure(1), gcc(1) May 9, 2004 cxref-cpp(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Which Unix Certification is the most needed these days?

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? - .... AIX 4 AIX 4.1 AIX 4.2 AIX 4.x BSDI 2.0 FreeBSD 2.2 HP-UX 10 HP-UX 10.10 HP-UX 10.20 ... (7 Replies)
Discussion started by: Dominic
7 Replies

2. UNIX for Dummies Questions & Answers

Sink or Swim

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)
Discussion started by: divern2deep
4 Replies

3. UNIX for Dummies Questions & Answers

Creating a Shortcut in a User Driectory

Can someone tell me how to create a shortcut within a users home directory to point to another location? P.S- And is shortcut the correct terminology? Thank you! (4 Replies)
Discussion started by: bachagalou
4 Replies

4. UNIX for Dummies Questions & Answers

shortcut in unix?

Sorry, anybody here knows how to make a shortcut in unix? Thanks. Sebastian. (4 Replies)
Discussion started by: seba
4 Replies

5. IP Networking

dns setup

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)
Discussion started by: aenemated
5 Replies

6. UNIX for Dummies Questions & Answers

escape shortcut and short on history :)

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)
Discussion started by: inquirer
6 Replies

7. UNIX for Dummies Questions & Answers

shortcuts

Hi, 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)
Discussion started by: sd12
9 Replies

8. UNIX for Dummies Questions & Answers

How to change Firefox keyboard shortcuts

Hi board! 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)
Discussion started by: schallstrom
7 Replies

9. UNIX for Dummies Questions & Answers

Create shortcut to a directory in unix

Hello, 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)
Discussion started by: hemresis
5 Replies

10. UNIX for Dummies Questions & Answers

Linux shortcutkey to search specific file from a list of directory?!

Hi, 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)
Discussion started by: patrick87
7 Replies

11. Shell Programming and Scripting

Putty shortcut and ssh to another server question, possible in bash?

Hi, 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)
Discussion started by: newb1000
5 Replies

12. Solaris

How to create a shortcut for Openoffice?

Hello all, 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)
Discussion started by: aungyepaing
8 Replies

13. Ubuntu

Illumination shortcut keys are not working

hi, 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)
Discussion started by: baris35
6 Replies

14. Shell Programming and Scripting

Copy real file from a shortcut preserving the time stamps and directory tree

I have directory with shorcuts of files. for example: 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)
Discussion started by: gogok_bg
6 Replies

15. Windows & DOS: Issues & Discussions

Method to run a shell script using shortcut key in keyboard with out logging to putty

Dear All, 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)
Discussion started by: Chi_SL
8 Replies