• Home
  • Raw
  • Download

Lines Matching refs:in

18 be compiled stand-alone.  The rest of the source is in the main
56 Mkinit recognizes several constructs for placing declarations in
60 available in the init.c file, for example:
71 INDENTATION: The ash source is indented in multiples of six
73 cluded that the optimal amount to indent is in the range of four
79 EXCEPTIONS: Code for dealing with exceptions appears in
93 command.) The INTOFF and INTON macros (defined in exception.h)
103 to free up the memory in use at the time of the exception is to
108 strings on the stack without knowing in advance how long the
113 The folloing three macros (defined in memalloc.h) perform these
128 tions (the latter turns on job control) require changes in signal
129 handling. The routines setjobctl (in jobs.c) and setinteractive
130 (in trap.c) are called to handle changes to these options.
132 PARSING: The parser code is all in parser.c. A recursive des-
141 nodes. The various types of nodes are defined in the file node-
146 tents of here documents in temporary files, but keeping here do-
147 cuments in memory typically results in significantly better per-
151 porary files was complex and I never fixed all the bugs in it.
154 it to handle temporary files correctly in obscure cases.)
158 special codes defined in parser.h. The special codes are:
184 variable is enclosed in double quotes. The name of the variable
186 VSNORMAL, then the text field in the substitution follows, ter-
189 Commands in back quotes are parsed and stored in a linked list.
190 The locations of these commands in the string are indicated by
192 the back quotes were enclosed in double quotes.
194 The character CTLESC escapes the next character, so that in case
195 any of the CTL characters mentioned above appear in the input,
220 status is returned in the global variable exitstatus. The alter-
221 native entry evalbackcmd is called to evaluate commands in back
222 quotes. It saves the result in memory if the command is a buil-
239 the command in the hash table if it is not already there. The
242 find_command is called for all the commands in the pipeline be-
251 EXPAND.C: Arguments are processed in three passes. The first
261 VAR.C: Variables are stored in a hash table. Probably we should
262 switch to extensible hashing. The variable name is stored in the
269 When a program is run, the code in eval.c sticks any environment
270 variables which precede the command (as in "PATH=xxx command") in
285 ways end in "cmd". The mapping from names to procedures is
286 specified in the file builtins, which is processed by the mkbuil-
299 The directory bltins contains commands which can be compiled in-
301 reasons. The makefile in this directory compiles these programs
302 in the normal fashion (so that they can be run regardless of
317 complication in the cd command is in the docd command, which
328 signal, the routine "onint" in error.c is called.
333 which is to be stored in memory. This last is used when a buil-
334 tin command appears in backquotes, to allow its output to be col-
347 the current line in this variable.
349 DEBUGGING: If DEBUG is defined in shell.h, then the shell will
357 code is in show.c.