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

CPP(1)							      General Commands Manual							    CPP(1)

NAME
cpp - C language preprocessor SYNOPSIS
cpp [ option ... ] [ ifile [ ofile ] ] DESCRIPTION
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: -Dname -Dname=def -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. FILES
/sys/include directory for machine-independent include files /$objtype/include directory for machine-dependent include files SOURCE
/sys/src/cmd/cpp SEE ALSO
2c(1) 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

Featured Tech Videos