home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume12 / cake / part07 < prev    next >
SHell self-extracting ARchive  |  1987-10-15  |  45.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: SHell self-extracting ARchive (archive/shar).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news or mail, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/329 Shell Archive Format default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/rfc822 default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 53 75 62 6a 65 63 74 3a | 20 20 76 31 32 69 30 31 |Subject:| v12i01|
|00000010| 33 3a 20 20 43 61 6b 65 | 2c 20 61 20 6d 61 6b 65 |3: Cake|, a make|
|00000020| 20 72 65 70 6c 61 63 65 | 6d 65 6e 74 2c 20 50 61 | replace|ment, Pa|
|00000030| 72 74 30 37 2f 30 39 0a | 4e 65 77 73 67 72 6f 75 |rt07/09.|Newsgrou|
|00000040| 70 73 3a 20 63 6f 6d 70 | 2e 73 6f 75 72 63 65 73 |ps: comp|.sources|
|00000050| 2e 75 6e 69 78 0a 53 65 | 6e 64 65 72 3a 20 73 6f |.unix.Se|nder: so|
|00000060| 75 72 63 65 73 0a 41 70 | 70 72 6f 76 65 64 3a 20 |urces.Ap|proved: |
|00000070| 72 73 40 75 75 6e 65 74 | 2e 55 55 2e 4e 45 54 0a |rs@uunet|.UU.NET.|
|00000080| 0a 53 75 62 6d 69 74 74 | 65 64 2d 62 79 3a 20 5a |.Submitt|ed-by: Z|
|00000090| 6f 6c 74 61 6e 20 53 6f | 6d 6f 67 79 69 20 3c 7a |oltan So|mogyi <z|
|000000a0| 73 40 6d 75 6e 6e 61 72 | 69 2e 6f 7a 3e 0a 50 6f |s@munnar|i.oz>.Po|
|000000b0| 73 74 69 6e 67 2d 6e 75 | 6d 62 65 72 3a 20 56 6f |sting-nu|mber: Vo|
|000000c0| 6c 75 6d 65 20 31 32 2c | 20 49 73 73 75 65 20 31 |lume 12,| Issue 1|
|000000d0| 33 0a 41 72 63 68 69 76 | 65 2d 6e 61 6d 65 3a 20 |3.Archiv|e-name: |
|000000e0| 63 61 6b 65 2f 70 61 72 | 74 30 37 0a 0a 23 21 20 |cake/par|t07..#! |
|000000f0| 2f 62 69 6e 2f 73 68 0a | 23 20 54 68 69 73 20 69 |/bin/sh.|# This i|
|00000100| 73 20 61 20 73 68 65 6c | 6c 20 61 72 63 68 69 76 |s a shel|l archiv|
|00000110| 65 2c 20 6d 65 61 6e 69 | 6e 67 3a 0a 23 20 31 2e |e, meani|ng:.# 1.|
|00000120| 20 52 65 6d 6f 76 65 20 | 65 76 65 72 79 74 68 69 | Remove |everythi|
|00000130| 6e 67 20 61 62 6f 76 65 | 20 74 68 65 20 23 21 20 |ng above| the #! |
|00000140| 2f 62 69 6e 2f 73 68 20 | 6c 69 6e 65 2e 0a 23 20 |/bin/sh |line..# |
|00000150| 32 2e 20 53 61 76 65 20 | 74 68 65 20 72 65 73 75 |2. Save |the resu|
|00000160| 6c 74 69 6e 67 20 74 65 | 78 74 20 69 6e 20 61 20 |lting te|xt in a |
|00000170| 66 69 6c 65 2e 0a 23 20 | 33 2e 20 45 78 65 63 75 |file..# |3. Execu|
|00000180| 74 65 20 74 68 65 20 66 | 69 6c 65 20 77 69 74 68 |te the f|ile with|
|00000190| 20 2f 62 69 6e 2f 73 68 | 20 28 6e 6f 74 20 63 73 | /bin/sh| (not cs|
|000001a0| 68 29 20 74 6f 20 63 72 | 65 61 74 65 3a 0a 23 09 |h) to cr|eate:.#.|
|000001b0| 52 45 41 44 4d 45 0a 23 | 09 63 61 6b 65 2e 31 6c |README.#|.cake.1l|
|000001c0| 0a 23 09 63 63 69 6e 63 | 6c 2e 31 6c 0a 23 09 63 |.#.ccinc|l.1l.#.c|
|000001d0| 63 73 2e 31 6c 0a 23 09 | 63 73 2e 31 6c 0a 23 09 |cs.1l.#.|cs.1l.#.|
|000001e0| 67 72 65 64 2e 31 6c 0a | 23 09 67 72 65 73 2e 31 |gred.1l.|#.gres.1|
|000001f0| 6c 0a 23 09 67 73 72 63 | 2e 31 6c 0a 23 09 69 72 |l.#.gsrc|.1l.#.ir|
|00000200| 72 65 6c 2e 31 6c 0a 23 | 09 6c 61 74 65 72 2e 31 |rel.1l.#|.later.1|
|00000210| 6c 0a 23 09 6e 65 65 64 | 2e 31 6c 0a 23 09 6e 65 |l.#.need|.1l.#.ne|
|00000220| 65 64 65 64 2e 31 6c 0a | 23 09 6f 6c 2e 31 6c 0a |eded.1l.|#.ol.1l.|
|00000230| 23 09 73 6f 69 6e 63 6c | 2e 31 6c 0a 23 09 73 73 |#.soincl|.1l.#.ss|
|00000240| 69 7a 65 2e 31 6c 0a 23 | 09 73 75 62 2e 31 6c 0a |ize.1l.#|.sub.1l.|
|00000250| 23 09 73 75 62 63 6d 64 | 2e 31 6c 0a 23 09 75 73 |#.subcmd|.1l.#.us|
|00000260| 72 63 2e 31 6c 0a 23 09 | 79 79 72 65 70 6c 2e 31 |rc.1l.#.|yyrepl.1|
|00000270| 6c 0a 23 20 54 68 69 73 | 20 61 72 63 68 69 76 65 |l.# This| archive|
|00000280| 20 63 72 65 61 74 65 64 | 3a 20 57 65 64 20 4f 63 | created|: Wed Oc|
|00000290| 74 20 31 34 20 32 30 3a | 32 36 3a 30 33 20 31 39 |t 14 20:|26:03 19|
|000002a0| 38 37 0a 65 78 70 6f 72 | 74 20 50 41 54 48 3b 20 |87.expor|t PATH; |
|000002b0| 50 41 54 48 3d 2f 62 69 | 6e 3a 2f 75 73 72 2f 62 |PATH=/bi|n:/usr/b|
|000002c0| 69 6e 3a 24 50 41 54 48 | 0a 65 63 68 6f 20 6d 6b |in:$PATH|.echo mk|
|000002d0| 64 69 72 20 4d 61 6e 0a | 6d 6b 64 69 72 20 4d 61 |dir Man.|mkdir Ma|
|000002e0| 6e 0a 65 63 68 6f 20 63 | 64 20 4d 61 6e 0a 63 64 |n.echo c|d Man.cd|
|000002f0| 20 4d 61 6e 0a 65 63 68 | 6f 20 73 68 61 72 3a 20 | Man.ech|o shar: |
|00000300| 22 65 78 74 72 61 63 74 | 69 6e 67 20 27 52 45 41 |"extract|ing 'REA|
|00000310| 44 4d 45 27 22 20 27 28 | 36 38 34 20 63 68 61 72 |DME'" '(|684 char|
|00000320| 61 63 74 65 72 73 29 27 | 0a 69 66 20 74 65 73 74 |acters)'|.if test|
|00000330| 20 2d 66 20 27 52 45 41 | 44 4d 45 27 0a 74 68 65 | -f 'REA|DME'.the|
|00000340| 6e 0a 09 65 63 68 6f 20 | 73 68 61 72 3a 20 22 77 |n..echo |shar: "w|
|00000350| 69 6c 6c 20 6e 6f 74 20 | 6f 76 65 72 2d 77 72 69 |ill not |over-wri|
|00000360| 74 65 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |te exist|ing file|
|00000370| 20 27 52 45 41 44 4d 45 | 27 22 0a 65 6c 73 65 0a | 'README|'".else.|
|00000380| 73 65 64 20 27 73 2f 5e | 58 2f 2f 27 20 3c 3c 20 |sed 's/^|X//' << |
|00000390| 5c 53 48 41 52 5f 45 4f | 46 20 3e 20 27 52 45 41 |\SHAR_EO|F > 'REA|
|000003a0| 44 4d 45 27 0a 58 54 68 | 69 73 20 64 69 72 65 63 |DME'.XTh|is direc|
|000003b0| 74 6f 72 79 20 63 6f 6e | 74 61 69 6e 73 20 6d 61 |tory con|tains ma|
|000003c0| 6e 75 61 6c 73 20 66 6f | 72 20 63 61 6b 65 20 61 |nuals fo|r cake a|
|000003d0| 6e 64 20 69 74 73 20 61 | 73 73 6f 63 69 61 74 65 |nd its a|ssociate|
|000003e0| 64 20 63 6f 6d 6d 61 6e | 64 73 2e 0a 58 0a 58 54 |d comman|ds..X.XT|
|000003f0| 68 65 20 6d 61 6e 75 61 | 6c 73 20 61 72 65 20 6e |he manua|ls are n|
|00000400| 61 6d 65 64 20 2a 2e 31 | 6c 2e 20 54 68 65 79 20 |amed *.1|l. They |
|00000410| 61 72 65 20 77 72 69 74 | 74 65 6e 20 66 6f 72 20 |are writ|ten for |
|00000420| 74 68 65 20 2d 6d 61 6e | 20 6d 61 63 72 6f 73 0a |the -man| macros.|
|00000430| 58 28 6f 66 20 63 6f 75 | 72 73 65 29 2c 20 61 6e |X(of cou|rse), an|
|00000440| 64 20 61 72 65 20 70 61 | 74 74 65 72 6e 65 64 20 |d are pa|tterned |
|00000450| 61 66 74 65 72 20 50 79 | 72 61 6d 69 64 20 6d 61 |after Py|ramid ma|
|00000460| 6e 75 61 6c 20 70 61 67 | 65 73 20 2d 20 49 20 73 |nual pag|es - I s|
|00000470| 74 61 72 74 65 64 0a 58 | 77 72 69 74 69 6e 67 20 |tarted.X|writing |
|00000480| 74 68 65 6d 20 77 68 69 | 6c 65 20 75 73 69 6e 67 |them whi|le using|
|00000490| 20 61 20 50 79 72 61 6d | 69 64 20 39 30 78 2e 20 | a Pyram|id 90x. |
|000004a0| 59 6f 75 20 6d 61 79 20 | 77 61 6e 74 20 74 6f 20 |You may |want to |
|000004b0| 63 68 61 6e 67 65 20 74 | 68 65 0a 58 70 61 74 68 |change t|he.Xpath|
|000004c0| 6e 61 6d 65 73 20 69 6e | 20 63 61 6b 65 2e 31 6c |names in| cake.1l|
|000004d0| 20 74 6f 20 6d 61 74 63 | 68 20 74 68 65 20 6f 6e | to matc|h the on|
|000004e0| 65 73 20 79 6f 75 20 70 | 75 74 20 69 6e 20 2e 2e |es you p|ut in ..|
|000004f0| 2f 63 6f 6e 66 2e 68 2e | 0a 58 0a 58 54 68 65 20 |/conf.h.|.X.XThe |
|00000500| 66 69 6c 65 20 70 61 70 | 65 72 2e 62 69 62 20 63 |file pap|er.bib c|
|00000510| 6f 6e 74 61 69 6e 73 20 | 61 20 70 61 72 74 69 61 |ontains |a partia|
|00000520| 6c 6c 79 20 70 72 65 70 | 72 6f 63 65 73 73 65 64 |lly prep|rocessed|
|00000530| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 61 20 70 61 | version| of a pa|
|00000540| 70 65 72 0a 58 49 20 77 | 72 6f 74 65 20 6f 6e 20 |per.XI w|rote on |
|00000550| 63 61 6b 65 3b 20 74 68 | 65 20 63 69 74 61 74 69 |cake; th|e citati|
|00000560| 6f 6e 20 69 73 0a 58 0a | 58 25 41 20 5a 6f 6c 74 |on is.X.|X%A Zolt|
|00000570| 61 6e 20 53 6f 6d 6f 67 | 79 69 0a 58 25 54 20 43 |an Somog|yi.X%T C|
|00000580| 61 6b 65 3a 20 61 20 66 | 69 66 74 68 20 67 65 6e |ake: a f|ifth gen|
|00000590| 65 72 61 74 69 6f 6e 20 | 76 65 72 73 69 6f 6e 20 |eration |version |
|000005a0| 6f 66 20 6d 61 6b 65 0a | 58 25 4a 20 41 75 73 74 |of make.|X%J Aust|
|000005b0| 72 61 6c 69 61 6e 20 55 | 6e 69 78 20 73 79 73 74 |ralian U|nix syst|
|000005c0| 65 6d 20 55 73 65 72 20 | 47 72 6f 75 70 20 4e 65 |em User |Group Ne|
|000005d0| 77 73 6c 65 74 74 65 72 | 0a 58 25 4b 20 61 75 75 |wsletter|.X%K auu|
|000005e0| 67 6e 0a 58 25 56 20 37 | 0a 58 25 4e 20 36 0a 58 |gn.X%V 7|.X%N 6.X|
|000005f0| 25 44 20 41 70 72 69 6c | 20 31 39 38 37 0a 58 25 |%D April| 1987.X%|
|00000600| 50 20 32 32 2d 33 31 0a | 58 0a 58 54 68 65 20 66 |P 22-31.|X.XThe f|
|00000610| 69 6c 65 20 68 61 73 20 | 62 65 65 6e 20 70 75 74 |ile has |been put|
|00000620| 20 74 68 72 6f 75 67 68 | 20 62 69 62 3b 20 79 6f | through| bib; yo|
|00000630| 75 20 73 68 6f 75 6c 64 | 20 70 75 74 20 69 74 20 |u should| put it |
|00000640| 74 68 72 6f 75 67 68 20 | 65 71 6e 2c 20 74 62 6c |through |eqn, tbl|
|00000650| 0a 58 61 6e 64 20 74 68 | 65 20 2d 6d 65 20 6d 61 |.Xand th|e -me ma|
|00000660| 63 72 6f 73 2e 0a 53 48 | 41 52 5f 45 4f 46 0a 69 |cros..SH|AR_EOF.i|
|00000670| 66 20 74 65 73 74 20 36 | 38 34 20 2d 6e 65 20 22 |f test 6|84 -ne "|
|00000680| 60 77 63 20 2d 63 20 3c | 20 27 52 45 41 44 4d 45 |`wc -c <| 'README|
|00000690| 27 60 22 0a 74 68 65 6e | 0a 09 65 63 68 6f 20 73 |'`".then|..echo s|
|000006a0| 68 61 72 3a 20 22 65 72 | 72 6f 72 20 74 72 61 6e |har: "er|ror tran|
|000006b0| 73 6d 69 74 74 69 6e 67 | 20 27 52 45 41 44 4d 45 |smitting| 'README|
|000006c0| 27 22 20 27 28 73 68 6f | 75 6c 64 20 68 61 76 65 |'" '(sho|uld have|
|000006d0| 20 62 65 65 6e 20 36 38 | 34 20 63 68 61 72 61 63 | been 68|4 charac|
|000006e0| 74 65 72 73 29 27 0a 66 | 69 0a 66 69 0a 65 63 68 |ters)'.f|i.fi.ech|
|000006f0| 6f 20 73 68 61 72 3a 20 | 22 65 78 74 72 61 63 74 |o shar: |"extract|
|00000700| 69 6e 67 20 27 63 61 6b | 65 2e 31 6c 27 22 20 27 |ing 'cak|e.1l'" '|
|00000710| 28 32 34 33 38 33 20 63 | 68 61 72 61 63 74 65 72 |(24383 c|haracter|
|00000720| 73 29 27 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |s)'.if t|est -f '|
|00000730| 63 61 6b 65 2e 31 6c 27 | 0a 74 68 65 6e 0a 09 65 |cake.1l'|.then..e|
|00000740| 63 68 6f 20 73 68 61 72 | 3a 20 22 77 69 6c 6c 20 |cho shar|: "will |
|00000750| 6e 6f 74 20 6f 76 65 72 | 2d 77 72 69 74 65 20 65 |not over|-write e|
|00000760| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 27 63 61 |xisting |file 'ca|
|00000770| 6b 65 2e 31 6c 27 22 0a | 65 6c 73 65 0a 73 65 64 |ke.1l'".|else.sed|
|00000780| 20 27 73 2f 5e 58 2f 2f | 27 20 3c 3c 20 5c 53 48 | 's/^X//|' << \SH|
|00000790| 41 52 5f 45 4f 46 20 3e | 20 27 63 61 6b 65 2e 31 |AR_EOF >| 'cake.1|
|000007a0| 6c 27 0a 58 2e 64 73 20 | 63 20 5c 66 49 63 61 6b |l'.X.ds |c \fIcak|
|000007b0| 65 5c 66 50 0a 58 2e 64 | 73 20 43 20 5c 66 49 43 |e\fP.X.d|s C \fIC|
|000007c0| 61 6b 65 5c 66 50 0a 58 | 2e 64 73 20 63 66 20 5c |ake\fP.X|.ds cf \|
|000007d0| 66 49 63 61 6b 65 66 69 | 6c 65 5c 66 50 0a 58 2e |fIcakefi|le\fP.X.|
|000007e0| 64 73 20 43 66 20 5c 66 | 49 43 61 6b 65 66 69 6c |ds Cf \f|ICakefil|
|000007f0| 65 5c 66 50 0a 58 2e 69 | 66 20 6e 20 2e 64 73 20 |e\fP.X.i|f n .ds |
|00000800| 6c 71 20 5c 26 22 5c 22 | 0a 58 2e 69 66 20 6e 20 |lq \&"\"|.X.if n |
|00000810| 2e 64 73 20 72 71 20 5c | 26 22 5c 22 0a 58 2e 69 |.ds rq \|&"\".X.i|
|00000820| 66 20 74 20 2e 64 73 20 | 6c 71 20 60 60 0a 58 2e |f t .ds |lq ``.X.|
|00000830| 69 66 20 74 20 2e 64 73 | 20 72 71 20 27 27 0a 58 |if t .ds| rq ''.X|
|00000840| 2e 54 48 20 43 41 4b 45 | 20 31 2d 75 63 62 0a 58 |.TH CAKE| 1-ucb.X|
|00000850| 2e 53 48 20 4e 41 4d 45 | 0a 58 63 61 6b 65 20 5c |.SH NAME|.Xcake \|
|00000860| 2d 20 6d 61 69 6e 74 61 | 69 6e 20 67 72 6f 75 70 |- mainta|in group|
|00000870| 73 20 6f 66 20 72 65 6c | 61 74 65 64 20 66 69 6c |s of rel|ated fil|
|00000880| 65 73 0a 58 2e 53 48 20 | 4f 52 49 47 49 4e 0a 58 |es.X.SH |ORIGIN.X|
|00000890| 55 6e 69 76 65 72 73 69 | 74 79 20 6f 66 20 4d 65 |Universi|ty of Me|
|000008a0| 6c 62 6f 75 72 6e 65 0a | 58 2e 53 48 20 53 59 4e |lbourne.|X.SH SYN|
|000008b0| 4f 50 53 49 53 0a 58 2e | 42 20 63 61 6b 65 0a 58 |OPSIS.X.|B cake.X|
|000008c0| 5b 20 6f 70 74 69 6f 6e | 73 20 5d 20 2e 2e 2e 20 |[ option|s ] ... |
|000008d0| 20 66 69 6c 65 20 2e 2e | 2e 0a 58 2e 53 48 20 44 | file ..|..X.SH D|
|000008e0| 45 53 43 52 49 50 54 49 | 4f 4e 0a 58 2e 50 50 0a |ESCRIPTI|ON.X.PP.|
|000008f0| 58 5c 2a 43 20 69 73 20 | 61 20 70 72 6f 67 72 61 |X\*C is |a progra|
|00000900| 6d 20 74 6f 20 6d 61 69 | 6e 74 61 69 6e 20 67 72 |m to mai|ntain gr|
|00000910| 6f 75 70 73 20 6f 66 20 | 72 65 6c 61 74 65 64 20 |oups of |related |
|00000920| 66 69 6c 65 73 2e 0a 58 | 41 20 5c 2a 28 63 66 20 |files..X|A \*(cf |
|00000930| 6e 65 65 64 73 20 74 6f | 20 64 65 73 63 72 69 62 |needs to| describ|
|00000940| 65 20 66 6f 72 20 65 61 | 63 68 20 66 69 6c 65 0a |e for ea|ch file.|
|00000950| 58 74 68 65 20 73 65 74 | 20 6f 66 20 6f 74 68 65 |Xthe set| of othe|
|00000960| 72 20 66 69 6c 65 73 20 | 69 74 20 63 61 6e 20 62 |r files |it can b|
|00000970| 65 20 6d 61 64 65 20 66 | 72 6f 6d 2c 0a 58 61 6e |e made f|rom,.Xan|
|00000980| 64 20 74 68 65 20 61 63 | 74 69 6f 6e 20 77 68 69 |d the ac|tion whi|
|00000990| 63 68 20 77 69 6c 6c 20 | 75 70 64 61 74 65 20 69 |ch will |update i|
|000009a0| 74 20 66 72 6f 6d 20 74 | 68 6f 73 65 20 66 69 6c |t from t|hose fil|
|000009b0| 65 73 2e 0a 58 54 68 65 | 6e 2c 20 67 69 76 65 6e |es..XThe|n, given|
|000009c0| 20 74 68 69 73 20 5c 2a | 28 63 66 20 61 6e 64 20 | this \*|(cf and |
|000009d0| 74 68 65 20 6e 61 6d 65 | 73 20 6f 66 20 73 6f 6d |the name|s of som|
|000009e0| 65 20 66 69 6c 65 73 2c | 0a 58 5c 2a 63 20 74 72 |e files,|.X\*c tr|
|000009f0| 61 63 65 73 20 74 68 72 | 6f 75 67 68 20 74 68 65 |aces thr|ough the|
|00000a00| 20 6e 65 74 77 6f 72 6b | 20 6f 66 20 64 65 70 65 | network| of depe|
|00000a10| 6e 64 65 6e 63 69 65 73 | 0a 58 61 6e 64 20 65 78 |ndencies|.Xand ex|
|00000a20| 65 63 75 74 65 73 20 6a | 75 73 74 20 74 68 6f 73 |ecutes j|ust thos|
|00000a30| 65 20 61 63 74 69 6f 6e | 73 20 6e 65 63 65 73 73 |e action|s necess|
|00000a40| 61 72 79 20 74 6f 20 75 | 70 64 61 74 65 20 74 68 |ary to u|pdate th|
|00000a50| 65 20 66 69 6c 65 73 2e | 0a 58 54 68 69 73 20 69 |e files.|.XThis i|
|00000a60| 73 20 6d 75 63 68 20 66 | 61 73 74 65 72 20 74 68 |s much f|aster th|
|00000a70| 61 6e 20 69 73 73 75 69 | 6e 67 20 74 68 65 20 73 |an issui|ng the s|
|00000a80| 61 6d 65 20 63 6f 6d 6d | 61 6e 64 73 20 6d 61 6e |ame comm|ands man|
|00000a90| 75 61 6c 6c 79 0a 58 61 | 6e 64 20 69 74 20 76 69 |ually.Xa|nd it vi|
|00000aa0| 72 74 75 61 6c 6c 79 20 | 65 6c 69 6d 69 6e 61 74 |rtually |eliminat|
|00000ab0| 65 73 20 74 68 65 20 72 | 69 73 6b 73 0a 58 6f 66 |es the r|isks.Xof|
|00000ac0| 20 77 6f 72 6b 69 6e 67 | 20 77 69 74 68 20 6f 75 | working| with ou|
|00000ad0| 74 2d 6f 66 2d 64 61 74 | 65 20 66 69 6c 65 73 2e |t-of-dat|e files.|
|00000ae0| 0a 58 2e 50 50 0a 58 5c | 2a 43 27 73 20 70 72 6f |.X.PP.X\|*C's pro|
|00000af0| 76 69 6e 63 65 20 6f 76 | 65 72 6c 61 70 73 20 74 |vince ov|erlaps t|
|00000b00| 68 61 74 20 6f 66 20 6d | 61 6b 65 28 31 29 2e 0a |hat of m|ake(1)..|
|00000b10| 58 48 6f 77 65 76 65 72 | 2c 20 5c 2a 63 27 73 20 |XHowever|, \*c's |
|00000b20| 64 65 73 69 67 6e 20 70 | 68 69 6c 6f 73 6f 70 68 |design p|hilosoph|
|00000b30| 79 20 65 6d 70 68 61 73 | 69 7a 65 73 20 73 69 6d |y emphas|izes sim|
|00000b40| 70 6c 69 63 69 74 79 20 | 61 6e 64 20 67 65 6e 65 |plicity |and gene|
|00000b50| 72 61 6c 69 74 79 0a 58 | 74 6f 20 61 20 6d 75 63 |rality.X|to a muc|
|00000b60| 68 20 67 72 65 61 74 65 | 72 20 65 78 74 65 6e 74 |h greate|r extent|
|00000b70| 20 74 68 61 6e 20 6d 61 | 6b 65 27 73 2e 0a 58 54 | than ma|ke's..XT|
|00000b80| 68 65 20 70 72 69 6e 63 | 69 70 61 6c 20 64 69 66 |he princ|ipal dif|
|00000b90| 66 65 72 65 6e 63 65 73 | 20 61 72 65 3a 0a 58 2e |ferences| are:.X.|
|00000ba0| 49 50 20 28 61 29 0a 58 | 5c 2a 43 20 64 65 70 65 |IP (a).X|\*C depe|
|00000bb0| 6e 64 65 6e 63 69 65 73 | 20 6d 61 79 20 62 65 20 |ndencies| may be |
|00000bc0| 64 79 6e 61 6d 69 63 2c | 0a 58 61 6e 64 20 74 68 |dynamic,|.Xand th|
|00000bd0| 65 69 72 20 61 70 70 6c | 69 63 61 62 69 6c 69 74 |eir appl|icabilit|
|00000be0| 79 20 6d 61 79 20 62 65 | 20 63 6f 6e 64 69 74 69 |y may be| conditi|
|00000bf0| 6f 6e 61 6c 20 75 70 6f | 6e 20 61 20 74 65 73 74 |onal upo|n a test|
|00000c00| 2e 0a 58 2e 49 50 20 28 | 62 29 0a 58 5c 2a 43 20 |..X.IP (|b).X\*C |
|00000c10| 72 75 6c 65 73 20 68 61 | 76 65 20 74 68 65 20 73 |rules ha|ve the s|
|00000c20| 61 6d 65 20 73 79 6e 74 | 61 78 20 61 6e 64 20 73 |ame synt|ax and s|
|00000c30| 65 6d 61 6e 74 69 63 73 | 20 61 73 20 6f 72 64 69 |emantics| as ordi|
|00000c40| 6e 61 72 79 20 64 65 70 | 65 6e 64 65 6e 63 69 65 |nary dep|endencie|
|00000c50| 73 2c 0a 58 61 6e 64 20 | 6d 61 79 20 68 61 76 65 |s,.Xand |may have|
|00000c60| 20 61 6e 79 20 6e 75 6d | 62 65 72 20 6f 66 20 74 | any num|ber of t|
|00000c70| 61 72 67 65 74 73 2e 0a | 58 2e 49 50 20 28 63 29 |argets..|X.IP (c)|
|00000c80| 0a 58 54 68 65 72 65 20 | 61 72 65 20 6e 6f 20 72 |.XThere |are no r|
|00000c90| 65 73 74 72 69 63 74 69 | 6f 6e 73 20 6f 6e 20 74 |estricti|ons on t|
|00000ca0| 68 65 20 66 6f 72 6d 73 | 20 6f 66 0a 58 65 69 74 |he forms| of.Xeit|
|00000cb0| 68 65 72 20 74 68 65 20 | 74 61 72 67 65 74 73 20 |her the |targets |
|00000cc0| 6f 72 20 74 68 65 20 73 | 6f 75 72 63 65 73 2e 0a |or the s|ources..|
|00000cd0| 58 54 68 69 73 20 65 6e | 61 62 6c 65 73 20 5c 2a |XThis en|ables \*|
|00000ce0| 63 20 74 6f 20 68 61 6e | 64 6c 65 20 66 69 6c 65 |c to han|dle file|
|00000cf0| 73 20 69 6e 20 6d 6f 72 | 65 20 74 68 61 6e 20 6f |s in mor|e than o|
|00000d00| 6e 65 20 64 69 72 65 63 | 74 6f 72 79 0a 58 61 6e |ne direc|tory.Xan|
|00000d10| 64 20 74 6f 20 69 6e 74 | 65 72 66 61 63 65 20 77 |d to int|erface w|
|00000d20| 69 74 68 20 53 43 43 53 | 2c 20 52 43 53 20 61 6e |ith SCCS|, RCS an|
|00000d30| 64 20 61 72 63 68 69 76 | 65 72 73 2c 0a 58 61 6d |d archiv|ers,.Xam|
|00000d40| 6f 6e 67 20 6f 74 68 65 | 72 73 2c 20 77 69 74 68 |ong othe|rs, with|
|00000d50| 6f 75 74 20 61 6e 79 20 | 73 70 65 63 69 61 6c 20 |out any |special |
|00000d60| 61 72 72 61 6e 67 65 6d | 65 6e 74 73 2e 0a 58 2e |arrangem|ents..X.|
|00000d70| 49 50 20 28 64 29 0a 58 | 5c 2a 43 20 68 61 73 20 |IP (d).X|\*C has |
|00000d80| 61 20 6d 6f 72 65 20 67 | 65 6e 65 72 61 6c 20 73 |a more g|eneral s|
|00000d90| 65 61 72 63 68 20 61 6c | 67 6f 72 69 74 68 6d 20 |earch al|gorithm |
|00000da0| 74 68 61 6e 20 6d 61 6b | 65 2e 0a 58 57 68 65 6e |than mak|e..XWhen|
|00000db0| 20 73 65 65 6b 69 6e 67 | 20 61 20 74 61 72 67 65 | seeking| a targe|
|00000dc0| 74 20 69 74 20 63 6f 6e | 73 69 64 65 72 73 20 61 |t it con|siders a|
|00000dd0| 6c 6c 20 72 75 6c 65 73 | 20 77 68 69 63 68 20 63 |ll rules| which c|
|00000de0| 6f 75 6c 64 20 75 70 64 | 61 74 65 20 69 74 0a 58 |ould upd|ate it.X|
|00000df0| 65 76 65 6e 20 69 66 20 | 74 68 65 20 63 6f 72 72 |even if |the corr|
|00000e00| 65 73 70 6f 6e 64 69 6e | 67 20 69 6e 74 65 72 6d |espondin|g interm|
|00000e10| 65 64 69 61 74 65 20 66 | 69 6c 65 73 20 64 6f 20 |ediate f|iles do |
|00000e20| 6e 6f 74 20 65 78 69 73 | 74 3b 0a 58 69 74 20 72 |not exis|t;.Xit r|
|00000e30| 65 63 72 65 61 74 65 73 | 20 74 68 65 6d 20 69 66 |ecreates| them if|
|00000e40| 20 28 61 6e 64 20 6f 6e | 6c 79 20 69 66 29 20 69 | (and on|ly if) i|
|00000e50| 74 20 69 73 20 6e 65 63 | 65 73 73 61 72 79 20 74 |t is nec|essary t|
|00000e60| 6f 20 64 6f 20 73 6f 2e | 0a 58 2e 49 50 20 28 65 |o do so.|.X.IP (e|
|00000e70| 29 0a 58 5c 2a 28 43 66 | 73 20 61 72 65 20 70 61 |).X\*(Cf|s are pa|
|00000e80| 73 73 65 64 20 74 68 72 | 6f 75 67 68 20 74 68 65 |ssed thr|ough the|
|00000e90| 20 43 20 70 72 65 70 72 | 6f 63 65 73 73 6f 72 2e | C prepr|ocessor.|
|00000ea0| 0a 58 54 68 65 79 20 6d | 61 79 20 74 68 65 72 65 |.XThey m|ay there|
|00000eb0| 66 6f 72 65 20 23 69 6e | 63 6c 75 64 65 20 6f 74 |fore #in|clude ot|
|00000ec0| 68 65 72 20 5c 2a 28 63 | 66 73 20 28 69 6e 63 6c |her \*(c|fs (incl|
|00000ed0| 75 64 69 6e 67 20 73 74 | 61 6e 64 61 72 64 20 6f |uding st|andard o|
|00000ee0| 6e 65 73 29 0a 58 61 6e | 64 20 75 73 65 20 23 69 |nes).Xan|d use #i|
|00000ef0| 66 20 61 6e 64 20 23 69 | 66 64 65 66 20 74 6f 20 |f and #i|fdef to |
|00000f00| 63 75 73 74 6f 6d 69 7a | 65 20 74 68 65 6d 73 65 |customiz|e themse|
|00000f10| 6c 76 65 73 2e 0a 58 2e | 49 50 20 28 66 29 0a 58 |lves..X.|IP (f).X|
|00000f20| 5c 2a 43 20 61 6c 6c 6f | 77 73 20 74 68 65 20 75 |\*C allo|ws the u|
|00000f30| 73 65 72 20 74 6f 20 63 | 68 6f 6f 73 65 20 68 69 |ser to c|hoose hi|
|00000f40| 73 20 6f 77 6e 20 73 68 | 65 6c 6c 2c 0a 58 61 6e |s own sh|ell,.Xan|
|00000f50| 64 20 74 6f 20 69 6e 63 | 6c 75 64 65 20 73 68 65 |d to inc|lude she|
|00000f60| 6c 6c 20 73 63 72 69 70 | 74 73 20 69 6e 20 61 63 |ll scrip|ts in ac|
|00000f70| 74 69 6f 6e 73 2e 0a 58 | 2e 49 50 20 28 67 29 0a |tions..X|.IP (g).|
|00000f80| 58 5c 2a 43 20 63 61 6e | 20 63 68 65 63 6b 20 74 |X\*C can| check t|
|00000f90| 6f 20 73 65 65 20 69 66 | 20 61 20 6e 65 77 6c 79 |o see if| a newly|
|00000fa0| 20 27 75 70 64 61 74 65 | 64 27 20 66 69 6c 65 0a | 'update|d' file.|
|00000fb0| 58 68 61 73 20 61 63 74 | 75 61 6c 6c 79 20 62 65 |Xhas act|ually be|
|00000fc0| 65 6e 20 63 68 61 6e 67 | 65 64 20 76 69 61 20 61 |en chang|ed via a|
|00000fd0| 20 62 69 74 2d 62 79 2d | 62 69 74 20 63 6f 6d 70 | bit-by-|bit comp|
|00000fe0| 61 72 69 73 6f 6e 2c 0a | 58 77 68 69 63 68 20 77 |arison,.|Xwhich w|
|00000ff0| 6f 72 6b 73 20 65 76 65 | 6e 20 69 66 20 74 68 65 |orks eve|n if the|
|00001000| 20 6d 6f 64 69 66 79 20 | 64 61 74 65 20 68 61 73 | modify |date has|
|00001010| 20 62 65 65 6e 20 74 6f | 75 63 68 65 64 2e 0a 58 | been to|uched..X|
|00001020| 49 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 63 |If there| is no c|
|00001030| 68 61 6e 67 65 2c 20 5c | 2a 63 20 61 76 6f 69 64 |hange, \|*c avoid|
|00001040| 73 20 72 65 63 6f 6d 70 | 75 74 69 6e 67 20 74 68 |s recomp|uting th|
|00001050| 65 20 66 69 6c 65 27 73 | 20 64 65 70 65 6e 64 65 |e file's| depende|
|00001060| 6e 74 73 2e 0a 58 2e 49 | 50 20 28 69 29 0a 58 5c |nts..X.I|P (i).X\|
|00001070| 2a 43 20 68 61 73 20 61 | 20 6c 6f 74 20 6d 6f 72 |*C has a| lot mor|
|00001080| 65 20 6f 70 74 69 6f 6e | 73 0a 58 28 77 68 65 74 |e option|s.X(whet|
|00001090| 68 65 72 20 6f 6e 65 20 | 63 6f 6e 73 69 64 65 72 |her one |consider|
|000010a0| 73 20 74 68 65 73 65 20 | 61 6e 20 69 6d 70 72 6f |s these |an impro|
|000010b0| 76 65 6d 65 6e 74 0a 58 | 6f 66 20 63 6f 75 72 73 |vement.X|of cours|
|000010c0| 65 20 64 65 70 65 6e 64 | 73 20 6f 6e 20 77 68 65 |e depend|s on whe|
|000010d0| 74 68 65 72 20 6f 6e 65 | 20 6e 65 65 64 73 20 74 |ther one| needs t|
|000010e0| 68 65 6d 29 2e 0a 58 2e | 50 50 0a 58 5c 2a 43 20 |hem)..X.|PP.X\*C |
|000010f0| 69 73 20 6e 6f 74 20 6f | 72 69 65 6e 74 65 64 20 |is not o|riented |
|00001100| 74 6f 77 61 72 64 20 61 | 6e 79 20 70 61 72 74 69 |toward a|ny parti|
|00001110| 63 75 6c 61 72 20 74 79 | 70 65 20 6f 66 20 66 69 |cular ty|pe of fi|
|00001120| 6c 65 73 2c 0a 58 61 73 | 20 6d 61 6b 65 20 69 73 |les,.Xas| make is|
|00001130| 20 74 6f 77 61 72 64 73 | 20 70 72 6f 67 72 61 6d | towards| program|
|00001140| 20 66 69 6c 65 73 20 28 | 73 6f 75 72 63 65 20 61 | files (|source a|
|00001150| 6e 64 20 6f 62 6a 65 63 | 74 29 2e 0a 58 46 6f 72 |nd objec|t)..XFor|
|00001160| 20 65 78 61 6d 70 6c 65 | 2c 20 73 74 61 6e 64 61 | example|, standa|
|00001170| 72 64 20 5c 2a 28 63 66 | 73 20 65 78 69 73 74 20 |rd \*(cf|s exist |
|00001180| 74 6f 20 68 61 6e 64 6c | 65 0a 58 64 6f 63 75 6d |to handl|e.Xdocum|
|00001190| 65 6e 74 73 20 61 6e 64 | 20 56 4c 53 49 20 64 65 |ents and| VLSI de|
|000011a0| 73 69 67 6e 73 2c 20 61 | 73 20 77 65 6c 6c 20 61 |signs, a|s well a|
|000011b0| 73 20 70 72 6f 67 72 61 | 6d 73 2e 0a 58 2e 53 48 |s progra|ms..X.SH|
|000011c0| 20 53 59 4e 54 41 58 0a | 58 2e 73 70 0a 58 42 65 | SYNTAX.|X.sp.XBe|
|000011d0| 66 6f 72 65 20 62 65 69 | 6e 67 20 73 65 65 6e 20 |fore bei|ng seen |
|000011e0| 62 79 20 5c 2a 63 2c 0a | 58 5c 2a 28 63 66 73 20 |by \*c,.|X\*(cfs |
|000011f0| 61 72 65 20 70 69 70 65 | 64 20 74 68 72 6f 75 67 |are pipe|d throug|
|00001200| 68 20 74 68 65 20 43 20 | 70 72 65 70 72 6f 63 65 |h the C |preproce|
|00001210| 73 73 6f 72 2e 0a 58 54 | 68 65 20 73 74 61 6e 64 |ssor..XT|he stand|
|00001220| 61 72 64 20 61 72 67 75 | 6d 65 6e 74 73 20 74 6f |ard argu|ments to|
|00001230| 20 74 68 65 20 70 72 65 | 70 72 6f 63 65 73 73 6f | the pre|processo|
|00001240| 72 20 73 65 74 20 75 70 | 20 74 68 65 20 73 65 61 |r set up| the sea|
|00001250| 72 63 68 20 70 61 74 68 | 0a 58 74 6f 20 76 69 73 |rch path|.Xto vis|
|00001260| 69 74 20 74 68 65 20 75 | 73 65 72 27 73 20 6c 69 |it the u|ser's li|
|00001270| 62 72 61 72 79 20 64 69 | 72 65 63 74 6f 72 79 20 |brary di|rectory |
|00001280| 28 7e 2f 6c 69 62 2f 63 | 61 6b 65 29 0a 58 61 6e |(~/lib/c|ake).Xan|
|00001290| 64 20 74 68 65 20 64 69 | 72 65 63 74 6f 72 79 20 |d the di|rectory |
|000012a0| 2f 75 73 72 2f 6c 69 62 | 2f 63 61 6b 65 2c 20 77 |/usr/lib|/cake, w|
|000012b0| 68 69 63 68 20 63 6f 6e | 74 61 69 6e 73 0a 58 73 |hich con|tains.Xs|
|000012c0| 74 61 6e 64 61 72 64 20 | 73 65 74 73 20 6f 66 20 |tandard |sets of |
|000012d0| 65 6e 74 72 69 65 73 20 | 66 6f 72 20 70 72 6f 67 |entries |for prog|
|000012e0| 72 61 6d 20 64 65 76 65 | 6c 6f 70 6d 65 6e 74 2c |ram deve|lopment,|
|000012f0| 20 74 65 78 74 20 70 72 | 6f 63 65 73 73 69 6e 67 | text pr|ocessing|
|00001300| 2c 20 65 74 63 2e 0a 58 | 49 6e 20 61 64 64 69 74 |, etc..X|In addit|
|00001310| 69 6f 6e 2c 20 5c 2a 63 | 20 67 69 76 65 73 20 69 |ion, \*c| gives i|
|00001320| 74 73 20 63 6f 6d 6d 61 | 6e 64 20 6c 69 6e 65 20 |ts comma|nd line |
|00001330| 61 72 67 75 6d 65 6e 74 | 73 20 74 6f 20 74 68 65 |argument|s to the|
|00001340| 20 70 72 65 70 72 6f 63 | 65 73 73 6f 72 0a 58 61 | preproc|essor.Xa|
|00001350| 73 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 74 |s the va|lue of t|
|00001360| 68 65 20 6d 61 63 72 6f | 20 43 41 4b 45 46 4c 41 |he macro| CAKEFLA|
|00001370| 47 53 2e 0a 58 2e 50 50 | 0a 58 5c 2a 43 20 61 63 |GS..X.PP|.X\*C ac|
|00001380| 63 65 70 74 73 20 73 74 | 61 6e 64 61 72 64 20 43 |cepts st|andard C|
|00001390| 20 63 6f 6d 6d 65 6e 74 | 73 20 61 73 20 77 65 6c | comment|s as wel|
|000013a0| 6c 20 61 73 0a 58 63 6f | 6d 6d 65 6e 74 73 20 73 |l as.Xco|mments s|
|000013b0| 74 61 72 74 69 6e 67 20 | 77 69 74 68 20 61 20 27 |tarting |with a '|
|000013c0| 24 27 20 61 6e 64 20 65 | 78 74 65 6e 64 69 6e 67 |$' and e|xtending|
|000013d0| 20 74 6f 20 74 68 65 20 | 65 6e 64 20 6f 66 20 74 | to the |end of t|
|000013e0| 68 65 20 6c 69 6e 65 0a | 58 28 74 68 65 20 66 69 |he line.|X(the fi|
|000013f0| 72 73 74 20 61 72 65 20 | 73 74 72 69 70 70 65 64 |rst are |stripped|
|00001400| 20 62 79 20 74 68 65 20 | 70 72 65 70 72 6f 63 65 | by the |preproce|
|00001410| 73 73 6f 72 2c 20 74 68 | 65 20 73 65 63 6f 6e 64 |ssor, th|e second|
|00001420| 20 62 79 20 5c 2a 63 20 | 69 74 73 65 6c 66 29 2e | by \*c |itself).|
|00001430| 0a 58 54 68 65 20 73 69 | 6e 67 6c 65 2d 6c 69 6e |.XThe si|ngle-lin|
|00001440| 65 20 63 6f 6d 6d 65 6e | 74 73 20 61 72 65 20 70 |e commen|ts are p|
|00001450| 61 72 74 69 63 75 6c 61 | 72 6c 79 20 75 73 65 66 |articula|rly usef|
|00001460| 75 6c 20 66 6f 72 20 63 | 6f 6d 6d 65 6e 74 69 6e |ul for c|ommentin|
|00001470| 67 20 6f 75 74 0a 58 70 | 72 65 70 72 6f 63 65 73 |g out.Xp|reproces|
|00001480| 73 6f 72 20 64 69 72 65 | 63 74 69 76 65 73 20 62 |sor dire|ctives b|
|00001490| 79 20 63 68 61 6e 67 69 | 6e 67 20 27 23 27 20 69 |y changi|ng '#' i|
|000014a0| 6e 74 6f 20 27 24 27 20 | 6f 72 20 27 24 23 27 2e |nto '$' |or '$#'.|
|000014b0| 0a 58 2e 50 50 0a 58 41 | 20 66 61 69 72 20 6e 75 |.X.PP.XA| fair nu|
|000014c0| 6d 62 65 72 20 6f 66 20 | 63 68 61 72 61 63 74 65 |mber of |characte|
|000014d0| 72 73 20 68 61 76 65 20 | 73 70 65 63 69 61 6c 20 |rs have |special |
|000014e0| 6d 65 61 6e 69 6e 67 20 | 66 6f 72 20 5c 2a 63 2e |meaning |for \*c.|
|000014f0| 0a 58 41 6e 79 20 63 68 | 61 72 61 63 74 65 72 20 |.XAny ch|aracter |
|00001500| 63 61 6e 20 62 65 20 70 | 72 65 76 65 6e 74 65 64 |can be p|revented|
|00001510| 20 66 72 6f 6d 20 62 65 | 69 6e 67 20 72 65 63 6f | from be|ing reco|
|00001520| 67 6e 69 73 65 64 20 61 | 73 20 73 70 65 63 69 61 |gnised a|s specia|
|00001530| 6c 0a 58 62 79 20 70 72 | 65 63 65 64 69 6e 67 20 |l.Xby pr|eceding |
|00001540| 69 74 20 77 69 74 68 20 | 61 20 62 61 63 6b 73 6c |it with |a backsl|
|00001550| 61 73 68 2e 0a 58 54 68 | 69 73 20 63 61 6e 20 61 |ash..XTh|is can a|
|00001560| 6c 73 6f 20 62 65 20 75 | 73 65 64 20 74 6f 20 70 |lso be u|sed to p|
|00001570| 75 74 20 61 72 62 69 74 | 72 61 72 79 20 63 68 61 |ut arbit|rary cha|
|00001580| 72 61 63 74 65 72 73 20 | 28 69 6e 63 6c 75 64 69 |racters |(includi|
|00001590| 6e 67 20 62 61 63 6b 73 | 6c 61 73 68 65 73 0a 58 |ng backs|lashes.X|
|000015a0| 62 75 74 20 65 78 63 6c | 75 64 69 6e 67 20 6e 65 |but excl|uding ne|
|000015b0| 77 6c 69 6e 65 20 61 6e | 64 20 66 6f 72 6d 66 65 |wline an|d formfe|
|000015c0| 65 64 29 20 69 6e 74 6f | 20 70 61 74 74 65 72 6e |ed) into| pattern|
|000015d0| 73 20 28 73 65 65 20 62 | 65 6c 6f 77 29 2e 0a 58 |s (see b|elow)..X|
|000015e0| 2e 50 50 0a 58 41 20 5c | 2a 28 63 66 20 61 66 74 |.PP.XA \|*(cf aft|
|000015f0| 65 72 20 70 72 65 70 72 | 6f 63 65 73 73 69 6e 67 |er prepr|ocessing|
|00001600| 20 73 68 6f 75 6c 64 20 | 62 65 0a 58 61 20 73 65 | should |be.Xa se|
|00001610| 71 75 65 6e 63 65 20 6f | 66 20 65 6e 74 72 69 65 |quence o|f entrie|
|00001620| 73 20 73 65 70 61 72 61 | 74 65 64 20 62 79 20 62 |s separa|ted by b|
|00001630| 6c 61 6e 6b 20 6c 69 6e | 65 73 2c 0a 58 77 69 74 |lank lin|es,.Xwit|
|00001640| 68 20 70 6f 73 73 69 62 | 6c 79 20 6f 6e 65 20 6f |h possib|ly one o|
|00001650| 72 20 6d 6f 72 65 20 6c | 69 6e 65 73 20 69 6e 64 |r more l|ines ind|
|00001660| 69 63 61 74 69 6e 67 20 | 6f 70 74 69 6f 6e 73 2e |icating |options.|
|00001670| 0a 58 4f 70 74 69 6f 6e | 20 6c 69 6e 65 73 20 6d |.XOption| lines m|
|00001680| 75 73 74 20 62 65 20 61 | 6c 69 67 6e 65 64 20 6f |ust be a|ligned o|
|00001690| 6e 20 74 68 65 20 6d 61 | 72 67 69 6e 0a 58 61 6e |n the ma|rgin.Xan|
|000016a0| 64 20 62 65 67 69 6e 20 | 77 69 74 68 20 74 68 65 |d begin |with the|
|000016b0| 20 77 6f 72 64 20 5c 2a | 28 6c 71 73 65 74 5c 2a | word \*|(lqset\*|
|000016c0| 28 72 71 3b 0a 58 74 68 | 65 20 72 65 73 74 20 6f |(rq;.Xth|e rest o|
|000016d0| 66 20 74 68 65 20 6c 69 | 6e 65 20 69 73 20 70 72 |f the li|ne is pr|
|000016e0| 6f 63 65 73 73 65 64 20 | 61 73 20 61 20 73 65 74 |ocessed |as a set|
|000016f0| 20 6f 66 20 5c 2a 63 20 | 6f 70 74 69 6f 6e 73 2e | of \*c |options.|
|00001700| 0a 58 41 6e 20 65 6e 74 | 72 79 20 63 6f 6e 73 69 |.XAn ent|ry consi|
|00001710| 73 74 73 20 6f 66 20 64 | 65 70 65 6e 64 65 6e 63 |sts of d|ependenc|
|00001720| 79 20 72 75 6c 65 73 20 | 61 6c 69 67 6e 65 64 20 |y rules |aligned |
|00001730| 6f 6e 20 74 68 65 20 6c | 65 66 74 20 6d 61 72 67 |on the l|eft marg|
|00001740| 69 6e 0a 58 28 77 69 74 | 68 20 74 61 72 67 65 74 |in.X(wit|h target|
|00001750| 73 20 74 6f 20 74 68 65 | 20 6c 65 66 74 20 61 6e |s to the| left an|
|00001760| 64 20 73 6f 75 72 63 65 | 73 20 74 6f 20 74 68 65 |d source|s to the|
|00001770| 20 72 69 67 68 74 20 6f | 66 20 74 68 65 20 63 6f | right o|f the co|
|00001780| 6c 6f 6e 29 0a 58 61 6e | 64 20 61 20 70 6f 73 73 |lon).Xan|d a poss|
|00001790| 69 62 6c 79 20 65 6d 70 | 74 79 20 6c 69 73 74 20 |ibly emp|ty list |
|000017a0| 6f 66 20 69 6e 64 65 6e | 74 65 64 20 61 63 74 69 |of inden|ted acti|
|000017b0| 6f 6e 20 6c 69 6e 65 73 | 20 28 61 73 20 69 6e 20 |on lines| (as in |
|000017c0| 6d 61 6b 65 29 2e 0a 58 | 49 66 20 6d 6f 72 65 20 |make)..X|If more |
|000017d0| 74 68 61 6e 20 6f 6e 65 | 20 64 65 70 65 6e 64 65 |than one| depende|
|000017e0| 6e 63 79 20 69 73 20 67 | 69 76 65 6e 0a 58 74 68 |ncy is g|iven.Xth|
|000017f0| 65 20 61 63 74 69 6f 6e | 73 20 61 70 70 6c 79 20 |e action|s apply |
|00001800| 74 6f 20 61 6c 6c 20 6f | 66 20 74 68 65 6d 2e 0a |to all o|f them..|
|00001810| 58 2e 50 50 0a 58 5c 2a | 43 20 74 72 65 61 74 73 |X.PP.X\*|C treats|
|00001820| 20 75 6e 65 73 63 61 70 | 65 64 20 70 65 72 63 65 | unescap|ed perce|
|00001830| 6e 74 20 73 69 67 6e 73 | 20 61 6e 64 20 61 20 70 |nt signs| and a p|
|00001840| 6f 73 73 69 62 6c 65 20 | 66 6f 6c 6c 6f 77 69 6e |ossible |followin|
|00001850| 67 20 64 69 67 69 74 0a | 58 28 25 20 61 6e 64 20 |g digit.|X(% and |
|00001860| 25 30 20 74 6f 20 25 39 | 29 20 61 73 20 31 31 20 |%0 to %9|) as 11 |
|00001870| 5c 2a 28 6c 71 76 61 72 | 69 61 62 6c 65 73 5c 2a |\*(lqvar|iables\*|
|00001880| 28 72 71 0a 58 66 6f 72 | 20 77 68 69 63 68 20 61 |(rq.Xfor| which a|
|00001890| 6e 79 20 73 74 72 69 6e | 67 20 6d 61 79 20 62 65 |ny strin|g may be|
|000018a0| 20 63 6f 6e 73 69 73 74 | 65 6e 74 6c 79 20 73 75 | consist|ently su|
|000018b0| 62 73 74 69 74 75 74 65 | 64 0a 58 74 68 72 6f 75 |bstitute|d.Xthrou|
|000018c0| 67 68 6f 75 74 20 61 6e | 20 65 6e 74 72 79 2e 0a |ghout an| entry..|
|000018d0| 58 53 6f 20 61 6e 20 65 | 6e 74 72 79 20 77 68 69 |XSo an e|ntry whi|
|000018e0| 63 68 20 63 6f 6e 74 61 | 69 6e 73 20 76 61 72 69 |ch conta|ins vari|
|000018f0| 61 62 6c 65 73 0a 58 69 | 73 20 61 20 74 65 6d 70 |ables.Xi|s a temp|
|00001900| 6c 61 74 65 20 66 6f 72 | 20 61 6e 20 69 6e 66 69 |late for| an infi|
|00001910| 6e 69 74 65 20 6e 75 6d | 62 65 72 20 6f 66 20 65 |nite num|ber of e|
|00001920| 6e 74 72 69 65 73 20 77 | 69 74 68 6f 75 74 20 76 |ntries w|ithout v|
|00001930| 61 72 69 61 62 6c 65 73 | 2e 0a 58 54 68 69 73 20 |ariables|..XThis |
|00001940| 69 73 20 74 68 65 20 6d | 65 63 68 61 6e 69 73 6d |is the m|echanism|
|00001950| 20 5c 2a 63 20 75 73 65 | 73 0a 58 69 6e 73 74 65 | \*c use|s.Xinste|
|00001960| 61 64 20 6f 66 20 6d 61 | 6b 65 27 73 20 65 6e 74 |ad of ma|ke's ent|
|00001970| 72 69 65 73 20 77 69 74 | 68 20 2e 78 2e 79 20 74 |ries wit|h .x.y t|
|00001980| 61 72 67 65 74 73 2e 0a | 58 2e 50 50 0a 58 54 68 |argets..|X.PP.XTh|
|00001990| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 79 61 63 63 |e follow|ing yacc|
|000019a0| 20 67 72 61 6d 6d 61 72 | 20 64 65 73 63 72 69 62 | grammar| describ|
|000019b0| 65 73 20 74 68 65 20 73 | 79 6e 74 61 78 20 6f 66 |es the s|yntax of|
|000019c0| 0a 58 64 65 70 65 6e 64 | 65 6e 63 79 20 72 75 6c |.Xdepend|ency rul|
|000019d0| 65 73 20 28 72 75 6c 65 | 29 20 61 6e 64 20 6f 66 |es (rule|) and of|
|000019e0| 20 61 63 74 69 6f 6e 73 | 20 28 61 63 74 29 2e 0a | actions| (act)..|
|000019f0| 58 54 68 65 20 73 75 66 | 66 69 78 65 73 20 5f 6c |XThe suf|fixes _l|
|00001a00| 20 61 6e 64 20 5f 65 6c | 20 64 65 6e 6f 74 65 0a | and _el| denote.|
|00001a10| 58 6e 6f 6e 65 6d 70 74 | 79 20 61 6e 64 20 70 6f |Xnonempt|y and po|
|00001a20| 73 73 69 62 6c 79 20 65 | 6d 70 74 79 20 6c 69 73 |ssibly e|mpty lis|
|00001a30| 74 73 20 72 65 73 70 65 | 63 74 69 76 65 6c 79 2e |ts respe|ctively.|
|00001a40| 0a 58 4b 65 79 77 6f 72 | 64 73 20 61 72 65 20 71 |.XKeywor|ds are q|
|00001a50| 75 6f 74 65 64 3b 0a 58 | 6f 74 68 65 72 20 74 65 |uoted;.X|other te|
|00001a60| 72 6d 69 6e 61 6c 20 73 | 79 6d 62 6f 6c 73 20 61 |rminal s|ymbols a|
|00001a70| 72 65 20 69 6e 20 75 70 | 70 65 72 63 61 73 65 2e |re in up|percase.|
|00001a80| 0a 58 2e 73 70 0a 58 2e | 6e 66 0a 58 72 75 6c 65 |.X.sp.X.|nf.Xrule|
|00001a90| 09 3a 09 70 61 74 5f 6c | 20 5c 2a 28 6c 71 3a 5c |.:.pat_l| \*(lq:\|
|00001aa0| 2a 28 72 71 20 70 61 74 | 5f 65 6c 20 63 6f 6e 64 |*(rq pat|_el cond|
|00001ab0| 0a 58 09 7c 09 70 61 74 | 5f 6c 20 5c 2a 28 6c 71 |.X.|.pat|_l \*(lq|
|00001ac0| 3a 3a 5c 2a 28 72 71 20 | 70 61 74 5f 65 6c 20 63 |::\*(rq |pat_el c|
|00001ad0| 6f 6e 64 0a 58 63 6f 6e | 64 09 3a 09 5c 2a 28 6c |ond.Xcon|d.:.\*(l|
|00001ae0| 71 69 66 5c 2a 28 72 71 | 20 74 65 73 74 0a 58 09 |qif\*(rq| test.X.|
|00001af0| 7c 09 2f 2a 20 65 6d 70 | 74 79 20 2a 2f 0a 58 74 ||./* emp|ty */.Xt|
|00001b00| 65 73 74 09 3a 09 62 61 | 73 65 70 61 74 20 5c 2a |est.:.ba|sepat \*|
|00001b10| 28 6c 71 69 6e 5c 2a 28 | 72 71 20 70 61 74 5f 6c |(lqin\*(|rq pat_l|
|00001b20| 0a 58 09 7c 09 62 61 73 | 65 70 61 74 20 5c 2a 28 |.X.|.bas|epat \*(|
|00001b30| 6c 71 6d 61 74 63 68 5c | 2a 28 72 71 20 62 61 73 |lqmatch\|*(rq bas|
|00001b40| 65 70 61 74 0a 58 09 7c | 09 62 61 73 65 70 61 74 |epat.X.||.basepat|
|00001b50| 20 5c 2a 28 6c 71 6d 61 | 74 63 68 5c 2a 28 72 71 | \*(lqma|tch\*(rq|
|00001b60| 20 62 61 73 65 70 61 74 | 20 62 61 73 65 70 61 74 | basepat| basepat|
|00001b70| 0a 58 09 7c 09 5c 2a 28 | 6c 71 65 78 69 73 74 5c |.X.|.\*(|lqexist\|
|00001b80| 2a 28 72 71 20 62 61 73 | 65 70 61 74 0a 58 09 7c |*(rq bas|epat.X.||
|00001b90| 09 5c 2a 28 6c 71 63 61 | 6e 64 6f 5c 2a 28 72 71 |.\*(lqca|ndo\*(rq|
|00001ba0| 20 62 61 73 65 70 61 74 | 0a 58 09 7c 09 5c 2a 28 | basepat|.X.|.\*(|
|00001bb0| 6c 71 6f 6b 5c 2a 28 72 | 71 20 62 61 73 65 70 61 |lqok\*(r|q basepa|
|00001bc0| 74 0a 58 09 7c 09 54 45 | 53 54 43 4d 44 0a 58 09 |t.X.|.TE|STCMD.X.|
|00001bd0| 7c 09 74 65 73 74 20 5c | 2a 28 6c 71 61 6e 64 5c ||.test \|*(lqand\|
|00001be0| 2a 28 72 71 20 74 65 73 | 74 0a 58 09 7c 09 74 65 |*(rq tes|t.X.|.te|
|00001bf0| 73 74 20 5c 2a 28 6c 71 | 6f 72 5c 2a 28 72 71 20 |st \*(lq|or\*(rq |
|00001c00| 74 65 73 74 0a 58 09 7c | 09 5c 2a 28 6c 71 6e 6f |test.X.||.\*(lqno|
|00001c10| 74 5c 2a 28 72 71 20 74 | 65 73 74 0a 58 09 7c 09 |t\*(rq t|est.X.|.|
|00001c20| 5c 2a 28 6c 71 28 5c 2a | 28 72 71 20 74 65 73 74 |\*(lq(\*|(rq test|
|00001c30| 20 5c 2a 28 6c 71 29 5c | 2a 28 72 71 0a 58 61 63 | \*(lq)\|*(rq.Xac|
|00001c40| 74 09 3a 09 61 66 6c 61 | 67 5f 65 6c 20 41 43 54 |t.:.afla|g_el ACT|
|00001c50| 0a 58 09 7c 09 61 66 6c | 61 67 5f 65 6c 20 42 45 |.X.|.afl|ag_el BE|
|00001c60| 47 49 4e 5f 41 43 54 20 | 41 43 54 5f 65 6c 20 45 |GIN_ACT |ACT_el E|
|00001c70| 4e 44 5f 41 43 54 0a 58 | 62 61 73 65 70 61 74 09 |ND_ACT.X|basepat.|
|00001c80| 3a 09 50 41 54 0a 58 09 | 7c 09 50 41 54 43 4d 44 |:.PAT.X.||.PATCMD|
|00001c90| 0a 58 70 61 74 09 3a 09 | 62 61 73 65 70 61 74 20 |.Xpat.:.|basepat |
|00001ca0| 70 66 6c 61 67 5f 65 6c | 0a 58 09 7c 09 5c 2a 28 |pflag_el|.X.|.\*(|
|00001cb0| 6c 71 28 5c 2a 28 72 71 | 20 70 61 74 5f 6c 20 5c |lq(\*(rq| pat_l \|
|00001cc0| 2a 28 6c 71 29 5c 2a 28 | 72 71 20 66 6c 61 67 5f |*(lq)\*(|rq flag_|
|00001cd0| 65 6c 0a 58 61 66 6c 61 | 67 09 3a 09 5c 2a 28 6c |el.Xafla|g.:.\*(l|
|00001ce0| 71 40 5c 2a 28 72 71 0a | 58 09 7c 09 5c 2a 28 6c |q@\*(rq.|X.|.\*(l|
|00001cf0| 71 2d 5c 2a 28 72 71 0a | 58 09 7c 09 5c 2a 28 6c |q-\*(rq.|X.|.\*(l|
|00001d00| 71 2b 5c 2a 28 72 71 0a | 58 09 7c 09 5c 2a 28 6c |q+\*(rq.|X.|.\*(l|
|00001d10| 71 21 5c 2a 28 72 71 0a | 58 70 66 6c 61 67 09 3a |q!\*(rq.|Xpflag.:|
|00001d20| 09 5c 2a 28 6c 71 40 5c | 2a 28 72 71 0a 58 09 7c |.\*(lq@\|*(rq.X.||
|00001d30| 09 5c 2a 28 6c 71 26 5c | 2a 28 72 71 0a 58 09 7c |.\*(lq&\|*(rq.X.||
|00001d40| 09 5c 2a 28 6c 71 21 5c | 2a 28 72 71 0a 58 09 7c |.\*(lq!\|*(rq.X.||
|00001d50| 09 5c 2a 28 6c 71 5e 5c | 2a 28 72 71 0a 58 09 7c |.\*(lq^\|*(rq.X.||
|00001d60| 09 5c 2a 28 6c 71 2a 5c | 2a 28 72 71 0a 58 2e 66 |.\*(lq*\|*(rq.X.f|
|00001d70| 69 0a 58 2e 50 50 0a 58 | 41 20 64 65 70 65 6e 64 |i.X.PP.X|A depend|
|00001d80| 65 6e 63 79 20 72 75 6c | 65 20 63 6f 6e 73 69 73 |ency rul|e consis|
|00001d90| 74 73 20 6f 66 20 61 20 | 6c 69 73 74 20 6f 66 20 |ts of a |list of |
|00001da0| 5c 66 49 74 61 72 67 65 | 74 5c 66 50 20 70 61 74 |\fItarge|t\fP pat|
|00001db0| 74 65 72 6e 73 20 0a 58 | 66 6f 6c 6c 6f 77 65 64 |terns .X|followed|
|00001dc0| 20 28 61 66 74 65 72 20 | 61 20 63 6f 6c 6f 6e 29 | (after |a colon)|
|00001dd0| 20 62 79 20 61 20 6c 69 | 73 74 20 6f 66 20 5c 66 | by a li|st of \f|
|00001de0| 49 73 6f 75 72 63 65 5c | 66 50 20 70 61 74 74 65 |Isource\|fP patte|
|00001df0| 72 6e 73 2e 0a 58 49 74 | 20 73 74 61 74 65 73 20 |rns..XIt| states |
|00001e00| 74 68 61 74 20 74 68 65 | 20 66 69 6c 65 73 20 63 |that the| files c|
|00001e10| 6f 72 72 65 73 70 6f 6e | 64 69 6e 67 20 74 6f 20 |orrespon|ding to |
|00001e20| 74 68 65 20 74 61 72 67 | 65 74 20 70 61 74 74 65 |the targ|et patte|
|00001e30| 72 6e 73 0a 58 64 65 70 | 65 6e 64 20 6f 6e 20 74 |rns.Xdep|end on t|
|00001e40| 68 65 20 66 69 6c 65 73 | 20 6f 66 20 74 68 65 20 |he files| of the |
|00001e50| 73 6f 75 72 63 65 20 70 | 61 74 74 65 72 6e 73 2e |source p|atterns.|
|00001e60| 0a 58 49 66 20 61 6e 79 | 20 61 72 65 20 6f 75 74 |.XIf any| are out|
|00001e70| 2d 6f 66 2d 64 61 74 65 | 2c 20 5c 2a 63 20 77 69 |-of-date|, \*c wi|
|00001e80| 6c 6c 20 74 72 79 20 74 | 6f 20 75 70 64 61 74 65 |ll try t|o update|
|00001e90| 20 74 68 65 6d 3b 0a 58 | 73 65 65 20 74 68 65 20 | them;.X|see the |
|00001ea0| 73 65 63 74 69 6f 6e 20 | 6f 6e 20 73 65 6d 61 6e |section |on seman|
|00001eb0| 74 69 63 73 2e 0a 58 54 | 68 65 20 64 69 66 66 65 |tics..XT|he diffe|
|00001ec0| 72 65 6e 63 65 20 62 65 | 74 77 65 65 6e 20 73 69 |rence be|tween si|
|00001ed0| 6e 67 6c 65 20 61 6e 64 | 20 64 6f 75 62 6c 65 20 |ngle and| double |
|00001ee0| 63 6f 6c 6f 6e 73 0a 58 | 69 73 20 65 78 70 6c 61 |colons.X|is expla|
|00001ef0| 69 6e 65 64 20 74 68 65 | 72 65 20 61 6c 73 6f 20 |ined the|re also |
|00001f00| 28 69 74 20 69 73 20 5c | 66 49 6e 6f 74 5c 66 50 |(it is \|fInot\fP|
|00001f10| 20 74 68 65 20 73 61 6d | 65 20 61 73 20 69 6e 20 | the sam|e as in |
|00001f20| 6d 61 6b 65 29 29 2e 0a | 58 2e 50 50 0a 58 54 68 |make))..|X.PP.XTh|
|00001f30| 65 72 65 20 61 72 65 20 | 74 77 6f 20 6b 69 6e 64 |ere are |two kind|
|00001f40| 73 20 6f 66 20 70 61 74 | 74 65 72 6e 73 2e 0a 58 |s of pat|terns..X|
|00001f50| 41 20 6e 61 6d 65 20 70 | 61 74 74 65 72 6e 20 28 |A name p|attern (|
|00001f60| 50 41 54 29 20 69 73 20 | 61 20 73 65 71 75 65 6e |PAT) is |a sequen|
|00001f70| 63 65 20 6f 66 20 6c 65 | 74 74 65 72 73 2c 0a 58 |ce of le|tters,.X|
|00001f80| 64 69 67 69 74 73 20 61 | 6e 64 20 73 70 65 63 69 |digits a|nd speci|
|00001f90| 61 6c 20 73 79 6d 62 6f | 6c 73 20 66 72 6f 6d 20 |al symbo|ls from |
|00001fa0| 74 68 65 20 73 65 74 20 | 5f 2f 25 2c 2e 2b 2d 0a |the set |_/%,.+-.|
|00001fb0| 58 61 6c 74 68 6f 75 67 | 68 20 6f 74 68 65 72 20 |Xalthoug|h other |
|00001fc0| 63 68 61 72 61 63 74 65 | 72 73 20 63 61 6e 20 61 |characte|rs can a|
|00001fd0| 6c 73 6f 20 62 65 20 69 | 6e 63 6c 75 64 65 64 0a |lso be i|ncluded.|
|00001fe0| 58 69 66 20 65 73 63 61 | 70 65 64 20 77 69 74 68 |Xif esca|ped with|
|00001ff0| 20 61 20 62 61 63 6b 73 | 6c 61 73 68 2e 0a 58 41 | a backs|lash..XA|
|00002000| 6e 20 61 6c 74 65 72 6e | 61 74 65 20 66 6f 72 6d |n altern|ate form|
|00002010| 2c 20 77 68 69 63 68 20 | 6f 62 76 69 61 74 65 73 |, which |obviates|
|00002020| 20 74 68 65 20 6e 65 65 | 64 20 66 6f 72 20 62 61 | the nee|d for ba|
|00002030| 63 6b 73 6c 61 73 68 65 | 73 0a 58 69 73 20 61 20 |ckslashe|s.Xis a |
|00002040| 73 65 71 75 65 6e 63 65 | 20 6f 66 20 63 68 61 72 |sequence| of char|
|00002050| 61 63 74 65 72 73 20 62 | 65 74 77 65 65 6e 20 64 |acters b|etween d|
|00002060| 6f 75 62 6c 65 20 71 75 | 6f 74 65 73 2c 0a 58 77 |ouble qu|otes,.Xw|
|00002070| 68 69 63 68 20 74 68 65 | 6d 73 65 6c 76 65 73 20 |hich the|mselves |
|00002080| 63 61 6e 20 62 65 20 69 | 6e 63 6c 75 64 65 64 20 |can be i|ncluded |
|00002090| 69 66 20 65 73 63 61 70 | 65 64 20 77 69 74 68 20 |if escap|ed with |
|000020a0| 61 20 62 61 63 6b 73 6c | 61 73 68 2e 0a 58 2e 50 |a backsl|ash..X.P|
|000020b0| 50 0a 58 54 68 65 20 6f | 74 68 65 72 20 6b 69 6e |P.XThe o|ther kin|
|000020c0| 64 20 6f 66 20 70 61 74 | 74 65 72 6e 20 28 61 20 |d of pat|tern (a |
|000020d0| 70 61 74 74 65 72 6e 20 | 67 69 76 65 6e 20 62 79 |pattern |given by|
|000020e0| 20 63 6f 6d 6d 61 6e 64 | 3a 20 50 41 54 43 4d 44 | command|: PATCMD|
|000020f0| 29 0a 58 69 73 20 61 20 | 73 74 72 69 6e 67 20 65 |).Xis a |string e|
|00002100| 6e 63 6c 6f 73 65 64 20 | 69 6e 20 6d 61 74 63 68 |nclosed |in match|
|00002110| 69 6e 67 20 64 6f 75 62 | 6c 65 20 73 71 75 61 72 |ing doub|le squar|
|00002120| 65 20 62 72 61 63 6b 65 | 74 73 2c 0a 58 65 2e 67 |e bracke|ts,.Xe.g|
|00002130| 2e 20 5b 5b 65 63 68 6f | 20 2a 2e 63 5d 5d 2e 0a |. [[echo| *.c]]..|
|00002140| 58 54 68 65 20 73 74 72 | 69 6e 67 20 6d 61 79 20 |XThe str|ing may |
|00002150| 63 6f 6e 74 61 69 6e 20 | 6e 6f 6e 2d 6d 61 74 63 |contain |non-matc|
|00002160| 68 69 6e 67 20 64 6f 75 | 62 6c 65 20 73 71 75 61 |hing dou|ble squa|
|00002170| 72 65 20 62 72 61 63 6b | 65 74 73 0a 58 69 66 20 |re brack|ets.Xif |
|00002180| 61 74 20 6c 65 61 73 74 | 20 6f 6e 65 20 69 73 20 |at least| one is |
|00002190| 65 73 63 61 70 65 64 20 | 77 69 74 68 20 61 20 62 |escaped |with a b|
|000021a0| 61 63 6b 73 6c 61 73 68 | 2e 0a 58 53 74 72 69 6e |ackslash|..XStrin|
|000021b0| 67 73 20 62 65 74 77 65 | 65 6e 20 6d 61 74 63 68 |gs betwe|en match|
|000021c0| 69 6e 67 20 62 72 61 63 | 6b 65 74 73 20 61 72 65 |ing brac|kets are|
|000021d0| 20 65 78 65 63 75 74 65 | 64 20 61 73 20 63 6f 6d | execute|d as com|
|000021e0| 6d 61 6e 64 73 0a 58 61 | 6e 64 20 72 65 70 6c 61 |mands.Xa|nd repla|
|000021f0| 63 65 64 20 62 79 20 74 | 68 65 20 6f 75 74 70 75 |ced by t|he outpu|
|00002200| 74 20 6f 66 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |t of the| command|
|00002210| 2c 20 69 6e 6e 65 72 6d | 6f 73 74 2d 66 69 72 73 |, innerm|ost-firs|
|00002220| 74 2e 0a 58 54 68 65 20 | 65 78 70 61 6e 73 69 6f |t..XThe |expansio|
|00002230| 6e 20 69 6e 20 74 68 69 | 73 20 66 61 73 68 69 6f |n in thi|s fashio|
|00002240| 6e 20 6f 66 20 61 20 50 | 41 54 43 4d 44 20 69 73 |n of a P|ATCMD is|
|00002250| 20 74 68 65 6e 0a 58 69 | 6e 74 65 72 70 72 65 74 | then.Xi|nterpret|
|00002260| 65 64 20 61 73 20 61 20 | 70 61 74 74 65 72 6e 2c |ed as a |pattern,|
|00002270| 20 6f 72 20 61 73 20 61 | 20 70 6f 73 73 69 62 6c | or as a| possibl|
|00002280| 79 20 65 6d 70 74 79 20 | 6c 69 73 74 20 6f 66 20 |y empty |list of |
|00002290| 70 61 74 74 65 72 6e 73 | 0a 58 69 66 20 74 68 61 |patterns|.Xif tha|
|000022a0| 74 20 69 73 20 6d 6f 72 | 65 20 61 70 70 72 6f 70 |t is mor|e approp|
|000022b0| 72 69 61 74 65 2e 0a 58 | 45 2e 67 2e 20 74 68 65 |riate..X|E.g. the|
|000022c0| 20 50 41 54 43 4d 44 20 | 5b 5b 73 75 62 20 58 2e | PATCMD |[[sub X.|
|000022d0| 63 20 58 2e 6f 20 5b 5b | 65 63 68 6f 20 2a 2e 63 |c X.o [[|echo *.c|
|000022e0| 5d 5d 5d 5d 20 77 68 65 | 6e 20 65 78 65 63 75 74 |]]]] whe|n execut|
|000022f0| 65 64 0a 58 69 6e 20 61 | 20 64 69 72 65 63 74 6f |ed.Xin a| directo|
|00002300| 72 79 20 77 68 69 63 68 | 20 63 6f 6e 74 61 69 6e |ry which| contain|
|00002310| 73 20 61 2e 63 20 62 2e | 63 20 61 6e 64 20 63 2e |s a.c b.|c and c.|
|00002320| 63 20 77 69 6c 6c 20 65 | 78 70 61 6e 64 20 74 6f |c will e|xpand to|
|00002330| 0a 58 74 68 65 20 6c 69 | 73 74 20 61 2e 6f 2c 20 |.Xthe li|st a.o, |
|00002340| 62 2e 6f 20 61 6e 64 20 | 63 2e 6f 2e 0a 58 4e 6f |b.o and |c.o..XNo|
|00002350| 74 65 20 74 68 61 74 20 | 74 68 65 20 67 65 6e 65 |te that |the gene|
|00002360| 72 61 74 65 64 20 70 61 | 74 74 65 72 6e 73 20 6d |rated pa|tterns m|
|00002370| 75 73 74 20 62 65 20 6e | 61 6d 65 20 70 61 74 74 |ust be n|ame patt|
|00002380| 65 72 6e 73 2c 0a 58 6e | 6f 74 20 63 6f 6d 6d 61 |erns,.Xn|ot comma|
|00002390| 6e 64 20 70 61 74 74 65 | 72 6e 73 2c 20 69 2e 65 |nd patte|rns, i.e|
|000023a0| 2e 20 69 66 20 61 20 63 | 6f 6d 6d 61 6e 64 27 73 |. if a c|ommand's|
|000023b0| 20 6f 75 74 70 75 74 20 | 63 6f 6e 74 61 69 6e 73 | output |contains|
|000023c0| 0a 58 64 6f 75 62 6c 65 | 20 62 72 61 63 6b 65 74 |.Xdouble| bracket|
|000023d0| 73 20 74 68 65 79 20 77 | 69 6c 6c 20 6e 6f 74 20 |s they w|ill not |
|000023e0| 62 65 20 69 67 6e 6f 72 | 65 64 2e 0a 58 2e 50 50 |be ignor|ed..X.PP|
|000023f0| 0a 58 4f 66 20 74 68 65 | 20 66 69 76 65 20 66 6c |.XOf the| five fl|
|00002400| 61 67 73 20 74 68 61 74 | 20 63 61 6e 20 61 70 70 |ags that| can app|
|00002410| 65 61 72 20 61 66 74 65 | 72 20 70 61 74 74 65 72 |ear afte|r patter|
|00002420| 6e 73 20 61 6e 64 20 70 | 61 74 74 65 72 6e 20 6c |ns and p|attern l|
|00002430| 69 73 74 73 2c 0a 58 66 | 6f 75 72 20 61 70 70 6c |ists,.Xf|our appl|
|00002440| 79 20 74 6f 20 74 61 72 | 67 65 74 20 70 61 74 74 |y to tar|get patt|
|00002450| 65 72 6e 73 2c 0a 58 61 | 6e 64 20 6f 6e 65 20 28 |erns,.Xa|nd one (|
|00002460| 27 2a 27 29 20 61 70 70 | 6c 69 65 73 20 74 6f 20 |'*') app|lies to |
|00002470| 73 6f 75 72 63 65 20 70 | 61 74 74 65 72 6e 73 2e |source p|atterns.|
|00002480| 0a 58 2e 49 50 20 27 40 | 27 0a 58 41 20 27 40 27 |.X.IP '@|'.XA '@'|
|00002490| 20 63 68 61 72 61 63 74 | 65 72 20 74 65 6c 6c 73 | charact|er tells|
|000024a0| 20 5c 2a 63 20 74 68 61 | 74 20 74 68 65 20 74 61 | \*c tha|t the ta|
|000024b0| 72 67 65 74 20 69 73 20 | 6e 6f 74 20 76 6f 6c 61 |rget is |not vola|
|000024c0| 74 69 6c 65 3b 0a 58 77 | 68 65 6e 65 76 65 72 20 |tile;.Xw|henever |
|000024d0| 5c 2a 63 20 65 78 65 63 | 75 74 65 73 20 74 68 65 |\*c exec|utes the|
|000024e0| 20 61 73 73 6f 63 69 61 | 74 65 64 20 63 6f 6d 6d | associa|ted comm|
|000024f0| 61 6e 64 0a 58 69 74 20 | 63 68 65 63 6b 73 20 69 |and.Xit |checks i|
|00002500| 66 20 69 74 20 63 68 61 | 6e 67 65 73 20 74 68 65 |f it cha|nges the|
|00002510| 20 6e 6f 6e 76 6f 6c 61 | 74 69 6c 65 20 66 69 6c | nonvola|tile fil|
|00002520| 65 2e 0a 58 49 66 20 6e | 6f 74 2c 20 69 74 73 20 |e..XIf n|ot, its |
|00002530| 64 65 70 65 6e 64 65 6e | 74 73 20 61 72 65 20 6e |dependen|ts are n|
|00002540| 6f 74 20 63 6f 6e 73 69 | 64 65 72 65 64 20 6f 75 |ot consi|dered ou|
|00002550| 74 2d 6f 66 2d 64 61 74 | 65 20 77 72 74 20 74 68 |t-of-dat|e wrt th|
|00002560| 69 73 20 66 69 6c 65 2e | 0a 58 2e 49 50 20 27 26 |is file.|.X.IP '&|
|00002570| 27 0a 58 41 20 27 26 27 | 20 70 6f 73 74 66 69 78 |'.XA '&'| postfix|
|00002580| 20 6d 65 61 6e 73 20 74 | 68 61 74 20 74 68 65 20 | means t|hat the |
|00002590| 70 61 74 74 65 72 6e 20 | 69 73 20 6e 6f 74 20 72 |pattern |is not r|
|000025a0| 65 61 6c 6c 79 20 61 20 | 66 69 6c 65 3b 0a 58 74 |eally a |file;.Xt|
|000025b0| 68 69 73 20 70 72 65 76 | 65 6e 74 73 20 5c 2a 63 |his prev|ents \*c|
|000025c0| 20 66 72 6f 6d 20 77 6f | 72 72 79 69 6e 67 0a 58 | from wo|rrying.X|
|000025d0| 69 66 20 74 68 65 72 65 | 20 61 72 65 20 6e 6f 20 |if there| are no |
|000025e0| 61 63 74 69 6f 6e 73 20 | 74 6f 20 67 65 6e 65 72 |actions |to gener|
|000025f0| 61 74 65 20 74 68 65 20 | 70 73 65 75 64 6f 66 69 |ate the |pseudofi|
|00002600| 6c 65 0a 58 6f 72 20 69 | 66 20 74 68 65 20 61 63 |le.Xor i|f the ac|
|00002610| 74 69 6f 6e 73 20 64 6f | 20 6e 6f 74 20 63 72 65 |tions do| not cre|
|00002620| 61 74 65 20 61 20 66 69 | 6c 65 0a 58 77 69 74 68 |ate a fi|le.Xwith|
|00002630| 20 74 68 65 20 70 61 74 | 74 65 72 6e 27 73 20 6e | the pat|tern's n|
|00002640| 61 6d 65 2e 0a 58 2e 49 | 50 20 27 21 27 0a 58 41 |ame..X.I|P '!'.XA|
|00002650| 20 27 21 27 20 74 65 6c | 6c 73 20 5c 2a 63 20 74 | '!' tel|ls \*c t|
|00002660| 6f 20 63 6f 6e 73 69 64 | 65 72 20 74 68 65 20 74 |o consid|er the t|
|00002670| 61 72 67 65 74 20 70 72 | 65 63 69 6f 75 73 20 69 |arget pr|ecious i|
|00002680| 6e 20 74 68 65 20 73 65 | 6e 73 65 20 6f 66 20 6d |n the se|nse of m|
|00002690| 61 6b 65 2e 0a 58 44 69 | 72 65 63 74 6f 72 69 65 |ake..XDi|rectorie|
|000026a0| 73 20 61 72 65 20 61 75 | 74 6f 6d 61 74 69 63 61 |s are au|tomatica|
|000026b0| 6c 6c 79 20 70 72 65 63 | 69 6f 75 73 2e 0a 58 2e |lly prec|ious..X.|
|000026c0| 49 50 20 27 5e 27 0a 58 | 41 20 66 69 6c 65 20 6d |IP '^'.X|A file m|
|000026d0| 61 72 6b 65 64 20 77 69 | 74 68 20 27 5e 27 20 69 |arked wi|th '^' i|
|000026e0| 73 20 64 65 6c 65 74 65 | 64 20 62 65 66 6f 72 65 |s delete|d before|
|000026f0| 20 5c 2a 63 20 65 78 69 | 74 73 0a 58 75 6e 6c 65 | \*c exi|ts.Xunle|
|00002700| 73 73 20 69 74 20 69 73 | 20 6f 6e 65 20 6f 66 20 |ss it is| one of |
|00002710| 74 68 65 20 6d 61 69 6e | 20 74 61 72 67 65 74 73 |the main| targets|
|00002720| 20 6f 72 20 69 66 20 69 | 74 20 63 61 6e 6e 6f 74 | or if i|t cannot|
|00002730| 20 62 65 20 72 65 67 65 | 6e 65 72 61 74 65 64 2e | be rege|nerated.|
|00002740| 0a 58 2e 49 50 20 27 2a | 27 0a 58 41 20 73 74 61 |.X.IP '*|'.XA sta|
|00002750| 72 20 61 66 74 65 72 20 | 61 20 73 6f 75 72 63 65 |r after |a source|
|00002760| 20 6e 61 6d 65 20 70 61 | 74 74 65 72 6e 0a 58 74 | name pa|ttern.Xt|
|00002770| 65 6c 6c 73 20 5c 2a 63 | 20 74 6f 20 75 70 64 61 |ells \*c| to upda|
|00002780| 74 65 20 74 68 65 20 66 | 6c 61 67 67 65 64 20 66 |te the f|lagged f|
|00002790| 69 6c 65 0a 58 62 65 66 | 6f 72 65 20 65 78 70 61 |ile.Xbef|ore expa|
|000027a0| 6e 64 69 6e 67 20 73 6f | 75 72 63 65 20 63 6f 6d |nding so|urce com|
|000027b0| 6d 61 6e 64 20 70 61 74 | 74 65 72 6e 73 20 61 6e |mand pat|terns an|
|000027c0| 64 20 62 65 66 6f 72 65 | 20 65 78 65 63 75 74 69 |d before| executi|
|000027d0| 6e 67 20 74 68 65 20 74 | 65 73 74 2e 0a 58 53 74 |ng the t|est..XSt|
|000027e0| 61 72 73 20 63 61 6e 6e | 6f 74 20 61 70 70 65 61 |ars cann|ot appea|
|000027f0| 72 20 61 66 74 65 72 20 | 74 61 72 67 65 74 20 70 |r after |target p|
|00002800| 61 74 74 65 72 6e 73 0a | 58 6f 72 20 61 66 74 65 |atterns.|Xor afte|
|00002810| 72 20 73 6f 75 72 63 65 | 20 63 6f 6d 6d 61 6e 64 |r source| command|
|00002820| 20 70 61 74 74 65 72 6e | 73 2e 0a 58 2e 50 50 0a | pattern|s..X.PP.|
|00002830| 58 54 68 65 20 64 65 66 | 69 6e 69 74 69 6f 6e 73 |XThe def|initions|
|00002840| 20 6f 66 20 74 68 65 20 | 66 69 76 65 20 70 72 69 | of the |five pri|
|00002850| 6d 69 74 69 76 65 20 74 | 65 73 74 73 3a 0a 58 2e |mitive t|ests:.X.|
|00002860| 62 72 0a 58 2e 54 50 20 | 31 34 0a 58 7b 7b 63 6d |br.X.TP |14.X{{cm|
|00002870| 64 7d 7d 0a 58 45 78 65 | 63 75 74 65 20 63 6d 64 |d}}.XExe|cute cmd|
|00002880| 20 61 6e 64 20 69 6e 74 | 65 72 70 72 65 74 20 69 | and int|erpret i|
|00002890| 74 73 20 65 78 69 74 20 | 73 74 61 74 75 73 3a 0a |ts exit |status:.|
|000028a0| 58 7a 65 72 6f 20 69 73 | 20 74 72 75 65 2c 20 65 |Xzero is| true, e|
|000028b0| 76 65 72 79 74 68 69 6e | 67 20 65 6c 73 65 20 69 |verythin|g else i|
|000028c0| 73 20 66 61 6c 73 65 2e | 0a 58 54 68 65 20 63 6d |s false.|.XThe cm|
|000028d0| 64 20 6d 61 79 20 63 6f | 6e 74 61 69 6e 20 6d 61 |d may co|ntain ma|
|000028e0| 74 63 68 65 64 20 73 65 | 74 73 20 6f 66 20 64 6f |tched se|ts of do|
|000028f0| 75 62 6c 65 20 73 71 75 | 61 72 65 20 62 72 61 63 |uble squ|are brac|
|00002900| 6b 65 74 73 2c 0a 58 6a | 75 73 74 20 61 73 20 69 |kets,.Xj|ust as i|
|00002910| 6e 20 50 41 54 43 4d 44 | 2e 0a 58 2e 54 50 20 31 |n PATCMD|..X.TP 1|
|00002920| 34 0a 58 5c 2a 28 6c 71 | 65 78 69 73 74 5c 2a 28 |4.X\*(lq|exist\*(|
|00002930| 72 71 20 66 69 6c 65 0a | 58 54 72 75 65 20 69 66 |rq file.|XTrue if|
|00002940| 20 66 69 6c 65 20 65 78 | 69 73 74 73 2e 0a 58 2e | file ex|ists..X.|
|00002950| 54 50 20 31 34 0a 58 5c | 2a 28 6c 71 63 61 6e 64 |TP 14.X\|*(lqcand|
|00002960| 6f 5c 2a 28 72 71 20 66 | 69 6c 65 0a 58 54 72 75 |o\*(rq f|ile.XTru|
|00002970| 65 20 69 66 20 66 69 6c | 65 20 63 61 6e 20 62 65 |e if fil|e can be|
|00002980| 20 6d 61 64 65 20 61 63 | 63 6f 72 64 69 6e 67 20 | made ac|cording |
|00002990| 74 6f 20 74 68 69 73 20 | 5c 2a 28 63 66 2e 0a 58 |to this |\*(cf..X|
|000029a0| 2e 54 50 20 31 34 0a 58 | 5c 2a 28 6c 71 6f 6b 5c |.TP 14.X|\*(lqok\|
|000029b0| 2a 28 72 71 20 66 69 6c | 65 0a 58 54 72 75 65 20 |*(rq fil|e.XTrue |
|000029c0| 69 66 20 66 69 6c 65 20 | 69 73 20 75 70 2d 74 6f |if file |is up-to|
|000029d0| 2d 64 61 74 65 20 61 63 | 63 6f 72 64 69 6e 67 20 |-date ac|cording |
|000029e0| 74 6f 20 74 68 69 73 20 | 5c 2a 28 63 66 2e 0a 58 |to this |\*(cf..X|
|000029f0| 2e 54 50 20 31 34 0a 58 | 66 69 6c 65 20 5c 2a 28 |.TP 14.X|file \*(|
|00002a00| 6c 71 6d 61 74 63 68 5c | 2a 28 72 71 20 70 61 74 |lqmatch\|*(rq pat|
|00002a10| 74 65 72 6e 0a 58 54 72 | 75 65 20 69 66 20 66 69 |tern.XTr|ue if fi|
|00002a20| 6c 65 20 69 73 20 6d 61 | 74 63 68 65 73 20 70 61 |le is ma|tches pa|
|00002a30| 74 74 65 72 6e 2c 0a 58 | 77 69 74 68 20 58 20 61 |ttern,.X|with X a|
|00002a40| 73 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 20 63 |s the va|riable c|
|00002a50| 68 61 72 61 63 74 65 72 | 2e 0a 58 2e 54 50 20 31 |haracter|..X.TP 1|
|00002a60| 34 0a 58 66 69 6c 65 20 | 5c 2a 28 6c 71 6d 61 74 |4.Xfile |\*(lqmat|
|00002a70| 63 68 5c 2a 28 72 71 20 | 61 72 67 75 6d 65 6e 74 |ch\*(rq |argument|
|00002a80| 20 70 61 74 74 65 72 6e | 0a 58 54 72 75 65 20 69 | pattern|.XTrue i|
|00002a90| 66 20 66 69 6c 65 20 69 | 73 20 6d 61 74 63 68 65 |f file i|s matche|
|00002aa0| 73 20 70 61 74 74 65 72 | 6e 2c 0a 58 77 69 74 68 |s patter|n,.Xwith|
|00002ab0| 20 61 72 67 75 6d 65 6e | 74 20 73 70 65 63 69 66 | argumen|t specif|
|00002ac0| 79 69 6e 67 20 74 68 65 | 20 76 61 72 69 61 62 6c |ying the| variabl|
|00002ad0| 65 20 63 68 61 72 61 63 | 74 65 72 0a 58 61 73 20 |e charac|ter.Xas |
|00002ae0| 69 66 20 69 74 20 77 65 | 72 65 20 61 6e 20 6f 70 |if it we|re an op|
|00002af0| 74 69 6f 6e 20 74 6f 20 | 73 75 62 28 31 29 2e 0a |tion to |sub(1)..|
|00002b00| 58 45 2e 67 2e 20 61 6e | 20 6f 6d 69 74 74 65 64 |XE.g. an| omitted|
|00002b10| 20 61 72 67 75 6d 65 6e | 74 20 69 73 20 65 71 75 | argumen|t is equ|
|00002b20| 69 76 61 6c 65 6e 74 20 | 74 6f 20 5c 2d 76 58 20 |ivalent |to \-vX |
|00002b30| 61 73 20 74 68 65 20 61 | 72 67 75 6d 65 6e 74 2e |as the a|rgument.|
|00002b40| 0a 58 2e 54 50 20 31 34 | 0a 58 70 61 74 20 5c 2a |.X.TP 14|.Xpat \*|
|00002b50| 28 6c 71 69 6e 5c 2a 28 | 72 71 20 70 61 74 31 20 |(lqin\*(|rq pat1 |
|00002b60| 2e 2e 20 70 61 74 6e 0a | 58 54 72 75 65 20 69 66 |.. patn.|XTrue if|
|00002b70| 20 70 61 74 20 6f 63 63 | 75 72 73 20 61 6d 6f 6e | pat occ|urs amon|
|00002b80| 67 20 74 68 65 20 6c 69 | 73 74 20 70 61 74 31 20 |g the li|st pat1 |
|00002b90| 2e 2e 20 70 61 74 6e 2e | 0a 58 2e 50 50 0a 58 54 |.. patn.|.X.PP.XT|
|00002ba0| 68 65 20 70 72 65 63 65 | 64 65 6e 63 65 20 6f 66 |he prece|dence of|
|00002bb0| 20 5c 2a 28 6c 71 61 6e | 64 5c 2a 28 72 71 2c 20 | \*(lqan|d\*(rq, |
|00002bc0| 5c 2a 28 6c 71 6f 72 5c | 2a 28 72 71 20 61 6e 64 |\*(lqor\|*(rq and|
|00002bd0| 20 5c 2a 28 6c 71 6e 6f | 74 5c 2a 28 72 71 2c 0a | \*(lqno|t\*(rq,.|
|00002be0| 58 69 6e 63 72 65 61 73 | 65 73 20 69 6e 20 74 68 |Xincreas|es in th|
|00002bf0| 61 74 20 6f 72 64 65 72 | 3b 0a 58 70 61 72 65 6e |at order|;.Xparen|
|00002c00| 74 68 65 73 65 73 20 63 | 61 6e 20 62 65 20 75 73 |theses c|an be us|
|00002c10| 65 64 20 74 6f 20 6f 76 | 65 72 72 69 64 65 20 70 |ed to ov|erride p|
|00002c20| 72 65 63 65 64 65 6e 63 | 65 2e 0a 58 2e 50 50 0a |recedenc|e..X.PP.|
|00002c30| 58 53 79 6e 74 61 63 74 | 69 63 61 6c 6c 79 2c 20 |XSyntact|ically, |
|00002c40| 61 63 74 69 6f 6e 73 20 | 28 41 43 54 29 20 61 72 |actions |(ACT) ar|
|00002c50| 65 20 6c 69 6e 65 73 20 | 62 65 67 69 6e 6e 69 6e |e lines |beginnin|
|00002c60| 67 20 77 69 74 68 20 73 | 70 61 63 65 73 20 6f 72 |g with s|paces or|
|00002c70| 20 74 61 62 73 2e 0a 58 | 42 45 47 49 4e 5f 41 43 | tabs..X|BEGIN_AC|
|00002c80| 54 20 61 6e 64 20 45 4e | 44 5f 41 43 54 20 73 74 |T and EN|D_ACT st|
|00002c90| 61 6e 64 20 66 6f 72 20 | 61 63 74 69 6f 6e 73 0a |and for |actions.|
|00002ca0| 58 62 65 67 69 6e 6e 69 | 6e 67 20 77 69 74 68 20 |Xbeginni|ng with |
|00002cb0| 27 7b 27 20 61 6e 64 20 | 27 7d 27 20 72 65 73 70 |'{' and |'}' resp|
|00002cc0| 65 63 74 69 76 65 6c 79 | 3b 0a 58 61 73 20 61 20 |ectively|;.Xas a |
|00002cd0| 73 74 79 6c 69 73 74 69 | 63 20 63 6f 6e 63 65 73 |stylisti|c conces|
|00002ce0| 73 69 6f 6e 2c 0a 58 74 | 68 65 79 20 6d 61 79 20 |sion,.Xt|hey may |
|00002cf0| 62 65 67 69 6e 20 6f 6e | 20 74 68 65 20 6c 65 66 |begin on| the lef|
|00002d00| 74 20 6d 61 72 67 69 6e | 2c 20 61 6c 74 68 6f 75 |t margin|, althou|
|00002d10| 67 68 20 74 68 65 79 20 | 64 6f 6e 27 74 20 68 61 |gh they |don't ha|
|00002d20| 76 65 20 74 6f 2e 0a 58 | 41 6c 6c 20 61 63 74 69 |ve to..X|All acti|
|00002d30| 6f 6e 73 20 6d 61 79 20 | 63 6f 6e 74 61 69 6e 20 |ons may |contain |
|00002d40| 6e 65 77 6c 69 6e 65 73 | 20 65 73 63 61 70 65 64 |newlines| escaped|
|00002d50| 20 62 79 20 61 20 62 61 | 63 6b 73 6c 61 73 68 2e | by a ba|ckslash.|
|00002d60| 0a 58 2e 50 50 0a 58 41 | 63 74 69 6f 6e 73 20 6d |.X.PP.XA|ctions m|
|00002d70| 61 79 20 62 65 20 70 72 | 65 66 69 78 65 64 20 77 |ay be pr|efixed w|
|00002d80| 69 74 68 20 66 6c 61 67 | 73 2e 0a 58 54 77 6f 20 |ith flag|s..XTwo |
|00002d90| 28 27 40 27 20 61 6e 64 | 20 27 2d 27 29 20 74 75 |('@' and| '-') tu|
|00002da0| 72 6e 20 6f 6e 20 6f 70 | 74 69 6f 6e 73 20 5c 2d |rn on op|tions \-|
|00002db0| 73 20 61 6e 64 20 5c 2d | 69 20 72 65 73 70 65 63 |s and \-|i respec|
|00002dc0| 74 69 76 65 6c 79 0a 58 | 66 6f 72 20 61 20 73 69 |tively.X|for a si|
|00002dd0| 6e 67 6c 65 20 61 63 74 | 69 6f 6e 2e 0a 58 54 68 |ngle act|ion..XTh|
|00002de0| 65 20 74 68 69 72 64 20 | 28 27 2b 27 29 20 74 65 |e third |('+') te|
|00002df0| 6c 6c 73 20 63 61 6b 65 | 20 74 6f 20 65 78 65 63 |lls cake| to exec|
|00002e00| 75 74 65 20 74 68 65 20 | 61 63 74 69 6f 6e 0a 58 |ute the |action.X|
|00002e10| 65 76 65 6e 20 69 66 20 | 5c 2d 6e 20 73 61 79 73 |even if |\-n says|
|00002e20| 20 69 74 20 73 68 6f 75 | 6c 64 6e 27 74 0a 58 28 | it shou|ldn't.X(|
|00002e30| 74 68 69 73 20 69 73 20 | 75 73 65 66 75 6c 20 65 |this is |useful e|
|00002e40| 2e 67 2e 20 66 6f 72 20 | 72 65 63 75 72 73 69 76 |.g. for |recursiv|
|00002e50| 65 20 69 6e 76 6f 63 61 | 74 69 6f 6e 73 20 6f 66 |e invoca|tions of|
|00002e60| 20 5c 2a 63 20 77 69 74 | 68 20 5c 2d 6e 29 2e 0a | \*c wit|h \-n)..|
|00002e70| 58 54 68 65 20 66 6f 75 | 72 74 68 20 28 27 21 27 |XThe fou|rth ('!'|
|00002e80| 29 20 63 61 75 73 65 73 | 20 63 61 6b 65 20 74 6f |) causes| cake to|
|00002e90| 20 67 69 76 65 20 74 68 | 65 20 61 63 74 69 6f 6e | give th|e action|
|00002ea0| 20 74 6f 20 74 68 65 20 | 73 68 65 6c 6c 0a 58 65 | to the |shell.Xe|
|00002eb0| 76 65 6e 20 69 66 20 69 | 74 20 64 6f 65 73 6e 27 |ven if i|t doesn'|
|00002ec0| 74 20 68 61 76 65 20 74 | 6f 2e 0a 58 2e 53 48 20 |t have t|o..X.SH |
|00002ed0| 53 45 4d 41 4e 54 49 43 | 53 0a 58 2e 73 70 0a 58 |SEMANTIC|S.X.sp.X|
|00002ee0| 5c 2a 43 27 73 20 73 65 | 6d 61 6e 74 69 63 73 20 |\*C's se|mantics |
|00002ef0| 69 73 20 62 61 73 65 64 | 20 6f 6e 20 74 68 61 74 |is based| on that|
|00002f00| 20 6f 66 20 6d 61 6b 65 | 2e 0a 58 54 68 65 20 63 | of make|..XThe c|
|00002f10| 68 69 65 66 20 64 69 66 | 66 65 72 65 6e 63 65 73 |hief dif|ferences|
|00002f20| 20 77 65 72 65 20 6c 69 | 73 74 65 64 0a 58 61 74 | were li|sted.Xat|
|00002f30| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f | the beg|inning o|
|00002f40| 66 20 74 68 69 73 20 6d | 61 6e 75 61 6c 20 65 6e |f this m|anual en|
|00002f50| 74 72 79 3b 0a 58 61 20 | 63 6f 6d 70 6c 65 74 65 |try;.Xa |complete|
|00002f60| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 20 77 69 74 | descrip|tion wit|
|00002f70| 68 20 28 68 6f 70 65 66 | 75 6c 6c 79 20 69 6c 6c |h (hopef|ully ill|
|00002f80| 75 6d 69 6e 61 74 69 6e | 67 29 20 65 78 61 6d 70 |uminatin|g) examp|
|00002f90| 6c 65 73 0a 58 73 68 6f | 75 6c 64 20 62 65 20 69 |les.Xsho|uld be i|
|00002fa0| 6e 20 74 68 65 20 5c 2a | 63 20 75 73 65 72 73 27 |n the \*|c users'|
|00002fb0| 20 67 75 69 64 65 20 28 | 69 66 20 69 74 20 65 76 | guide (|if it ev|
|00002fc0| 65 72 20 67 65 74 73 20 | 66 69 6e 69 73 68 65 64 |er gets |finished|
|00002fd0| 29 2e 0a 58 2e 50 50 0a | 58 42 72 69 65 66 6c 79 |)..X.PP.|XBriefly|
|00002fe0| 2c 20 5c 2a 63 20 67 6f | 65 73 20 61 62 6f 75 74 |, \*c go|es about|
|00002ff0| 20 75 70 64 61 74 69 6e | 67 20 61 20 66 69 6c 65 | updatin|g a file|
|00003000| 20 69 6e 20 74 77 6f 20 | 6d 61 69 6e 20 70 68 61 | in two |main pha|
|00003010| 73 65 73 0a 58 61 66 74 | 65 72 20 61 6e 20 69 6e |ses.Xaft|er an in|
|00003020| 69 74 69 61 6c 20 70 68 | 61 73 65 2e 0a 58 54 68 |itial ph|ase..XTh|
|00003030| 69 73 20 69 6e 69 74 69 | 61 6c 20 70 68 61 73 65 |is initi|al phase|
|00003040| 20 64 6f 65 73 20 74 77 | 6f 20 74 68 69 6e 67 73 | does tw|o things|
|00003050| 2e 0a 58 4f 6e 65 2c 20 | 69 74 20 65 78 70 61 6e |..XOne, |it expan|
|00003060| 64 73 20 61 6e 79 20 63 | 6f 6d 6d 61 6e 64 20 70 |ds any c|ommand p|
|00003070| 61 74 74 65 72 6e 73 20 | 6f 6e 20 74 68 65 20 6c |atterns |on the l|
|00003080| 65 66 74 20 73 69 64 65 | 20 6f 66 20 64 65 70 65 |eft side| of depe|
|00003090| 6e 64 65 6e 63 69 65 73 | 2e 0a 58 41 73 20 61 74 |ndencies|..XAs at|
|000030a0| 20 74 68 69 73 20 73 74 | 61 67 65 20 74 68 65 72 | this st|age ther|
|000030b0| 65 20 69 73 20 6e 6f 20 | 77 61 79 20 74 6f 20 66 |e is no |way to f|
|000030c0| 69 6e 64 20 76 61 6c 75 | 65 73 20 66 6f 72 20 74 |ind valu|es for t|
|000030d0| 68 65 6d 2c 0a 58 76 61 | 72 69 61 62 6c 65 73 20 |hem,.Xva|riables |
|000030e0| 73 68 6f 75 6c 64 20 6e | 6f 74 20 6f 63 63 75 72 |should n|ot occur|
|000030f0| 20 69 6e 20 74 68 65 73 | 65 20 70 61 74 74 65 72 | in thes|e patter|
|00003100| 6e 73 2e 0a 58 54 77 6f | 2c 20 74 68 69 73 20 70 |ns..XTwo|, this p|
|00003110| 68 61 73 65 20 73 65 6c | 65 63 74 73 20 74 68 65 |hase sel|ects the|
|00003120| 20 6d 61 69 6e 20 74 61 | 72 67 65 74 20 74 6f 20 | main ta|rget to |
|00003130| 62 65 20 6d 61 64 65 0a | 58 69 66 20 69 74 20 77 |be made.|Xif it w|
|00003140| 61 73 20 6e 6f 74 20 67 | 69 76 65 6e 20 6f 6e 20 |as not g|iven on |
|00003150| 74 68 65 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 |the comm|and line|
|00003160| 2e 0a 58 54 68 69 73 20 | 74 61 72 67 65 74 20 69 |..XThis |target i|
|00003170| 73 20 74 68 65 20 74 61 | 72 67 65 74 20 6f 66 20 |s the ta|rget of |
|00003180| 74 68 65 20 66 69 72 73 | 74 20 73 70 65 63 69 66 |the firs|t specif|
|00003190| 69 63 20 28 76 61 72 69 | 61 62 6c 65 2d 66 72 65 |ic (vari|able-fre|
|000031a0| 65 29 0a 58 64 65 70 65 | 6e 64 65 6e 63 79 20 69 |e).Xdepe|ndency i|
|000031b0| 6e 20 74 68 65 20 6d 61 | 69 6e 20 5c 2a 28 63 66 |n the ma|in \*(cf|
|000031c0| 2c 0a 58 6f 72 20 69 6e | 20 61 6e 79 20 69 6e 63 |,.Xor in| any inc|
|000031d0| 6c 75 64 65 20 66 69 6c | 65 73 20 69 66 20 74 68 |lude fil|es if th|
|000031e0| 65 72 65 20 69 73 20 6e | 6f 20 73 75 63 68 20 64 |ere is n|o such d|
|000031f0| 65 70 65 6e 64 65 6e 63 | 79 0a 58 69 6e 20 74 68 |ependenc|y.Xin th|
|00003200| 65 20 6d 61 69 6e 20 5c | 2a 28 63 66 20 69 74 73 |e main \|*(cf its|
|00003210| 65 6c 66 2e 0a 58 46 6f | 72 20 74 68 69 73 20 70 |elf..XFo|r this p|
|00003220| 75 72 70 6f 73 65 2c 20 | 65 6e 74 72 69 65 73 20 |urpose, |entries |
|00003230| 77 69 74 68 20 64 6f 75 | 62 6c 65 20 63 6f 6c 6f |with dou|ble colo|
|00003240| 6e 73 0a 58 61 72 65 20 | 74 72 65 61 74 65 64 20 |ns.Xare |treated |
|00003250| 61 73 20 69 66 20 74 68 | 65 79 20 77 65 72 65 20 |as if th|ey were |
|00003260| 69 6e 20 74 68 65 20 6d | 61 69 6e 20 5c 2a 28 63 |in the m|ain \*(c|
|00003270| 66 2e 0a 58 2e 50 50 0a | 58 49 6e 20 74 68 65 20 |f..X.PP.|XIn the |
|00003280| 66 69 72 73 74 20 70 68 | 61 73 65 2c 20 5c 2a 63 |first ph|ase, \*c|
|00003290| 20 70 6c 61 6e 73 20 61 | 68 65 61 64 2e 0a 58 49 | plans a|head..XI|
|000032a0| 74 20 6d 61 74 63 68 65 | 73 20 74 68 65 20 6e 61 |t matche|s the na|
|000032b0| 6d 65 28 73 29 20 6f 66 | 20 74 68 65 20 6d 61 69 |me(s) of| the mai|
|000032c0| 6e 20 74 61 72 67 65 74 | 28 73 29 0a 58 61 67 61 |n target|(s).Xaga|
|000032d0| 69 6e 73 74 20 74 68 65 | 20 70 61 74 74 65 72 6e |inst the| pattern|
|000032e0| 73 20 6f 6e 20 74 68 65 | 20 6c 65 66 74 20 68 61 |s on the| left ha|
|000032f0| 6e 64 20 73 69 64 65 20 | 6f 66 20 64 65 70 65 6e |nd side |of depen|
|00003300| 64 65 6e 63 69 65 73 2e | 0a 58 41 20 6d 61 74 63 |dencies.|.XA matc|
|00003310| 68 20 6d 75 73 74 20 67 | 69 76 65 20 76 61 6c 75 |h must g|ive valu|
|00003320| 65 73 20 74 6f 20 65 76 | 65 72 79 20 76 61 72 69 |es to ev|ery vari|
|00003330| 61 62 6c 65 20 61 70 70 | 65 61 72 69 6e 67 20 69 |able app|earing i|
|00003340| 6e 20 74 68 65 20 65 6e | 74 72 79 3b 0a 58 74 68 |n the en|try;.Xth|
|00003350| 65 73 65 20 76 61 72 69 | 61 62 6c 65 73 20 61 72 |ese vari|ables ar|
|00003360| 65 20 72 65 70 6c 61 63 | 65 64 20 62 79 20 74 68 |e replac|ed by th|
|00003370| 65 69 72 20 76 61 6c 75 | 65 73 20 69 6e 20 74 68 |eir valu|es in th|
|00003380| 65 20 72 65 73 74 20 6f | 66 20 74 68 65 20 65 6e |e rest o|f the en|
|00003390| 74 72 79 2e 0a 58 5c 2a | 43 20 6e 65 78 74 20 75 |try..X\*|C next u|
|000033a0| 70 64 61 74 65 73 20 61 | 6e 79 20 73 74 61 72 72 |pdates a|ny starr|
|000033b0| 65 64 20 6e 61 6d 65 20 | 70 61 74 74 65 72 6e 73 |ed name |patterns|
|000033c0| 20 69 6e 20 74 68 65 20 | 6d 61 74 63 68 65 64 20 | in the |matched |
|000033d0| 65 6e 74 72 79 2c 0a 58 | 65 78 70 61 6e 64 73 20 |entry,.X|expands |
|000033e0| 61 6e 79 20 73 6f 75 72 | 63 65 20 63 6f 6d 6d 61 |any sour|ce comma|
|000033f0| 6e 64 20 70 61 74 74 65 | 72 6e 73 20 61 6e 64 20 |nd patte|rns and |
|00003400| 65 76 61 6c 75 61 74 65 | 73 20 74 68 65 20 74 65 |evaluate|s the te|
|00003410| 73 74 20 28 69 66 20 61 | 6e 79 29 2e 0a 58 2e 50 |st (if a|ny)..X.P|
|00003420| 50 0a 58 5c 2a 43 20 63 | 6c 61 73 73 69 66 69 65 |P.X\*C c|lassifie|
|00003430| 73 20 74 68 65 20 73 75 | 72 76 69 76 69 6e 67 20 |s the su|rviving |
|00003440| 65 6e 74 72 69 65 73 20 | 69 6e 74 6f 20 74 77 6f |entries |into two|
|00003450| 20 6b 69 6e 64 73 3a 0a | 58 74 68 6f 73 65 20 77 | kinds:.|Xthose w|
|00003460| 69 74 68 20 61 63 74 69 | 6f 6e 73 20 61 6e 64 20 |ith acti|ons and |
|00003470| 74 68 6f 73 65 20 77 69 | 74 68 6f 75 74 2e 0a 58 |those wi|thout..X|
|00003480| 54 68 65 20 6f 6e 65 73 | 20 77 69 74 68 6f 75 74 |The ones| without|
|00003490| 20 61 63 74 69 6f 6e 73 | 20 72 65 70 72 65 73 65 | actions| represe|
|000034a0| 6e 74 20 75 6e 63 6f 6e | 64 69 74 69 6f 6e 61 6c |nt uncon|ditional|
|000034b0| 20 64 65 70 65 6e 64 65 | 6e 63 69 65 73 2c 0a 58 | depende|ncies,.X|
|000034c0| 61 6e 64 20 74 68 65 69 | 72 20 73 6f 75 72 63 65 |and thei|r source|
|000034d0| 73 20 61 72 65 20 6e 6f | 77 20 70 6c 61 6e 6e 65 |s are no|w planne|
|000034e0| 64 20 66 6f 72 2e 0a 58 | 49 66 20 61 6e 79 20 63 |d for..X|If any c|
|000034f0| 61 6e 6e 6f 74 20 62 65 | 20 6d 61 64 65 2c 20 74 |annot be| made, t|
|00003500| 68 65 6e 20 74 68 65 20 | 6f 72 69 67 69 6e 61 6c |hen the |original|
|00003510| 20 66 69 6c 65 20 63 61 | 6e 6e 6f 74 20 62 65 20 | file ca|nnot be |
|00003520| 6d 61 64 65 20 65 69 74 | 68 65 72 2c 0a 58 61 6c |made eit|her,.Xal|
|00003530| 74 68 6f 75 67 68 20 5c | 2a 63 20 77 69 6c 6c 20 |though \|*c will |
|00003540| 75 70 64 61 74 65 20 61 | 73 20 6d 61 6e 79 20 63 |update a|s many c|
|00003550| 6f 6d 70 6f 6e 65 6e 74 | 73 20 61 73 20 69 74 20 |omponent|s as it |
|00003560| 63 61 6e 2e 0a 58 4e 65 | 78 74 20 5c 2a 63 20 74 |can..XNe|xt \*c t|
|00003570| 72 69 65 73 20 74 6f 20 | 70 6c 61 6e 20 66 6f 72 |ries to |plan for|
|00003580| 20 74 68 65 20 73 6f 75 | 72 63 65 73 20 6f 66 20 | the sou|rces of |
|00003590| 74 68 65 20 65 6e 74 72 | 69 65 73 20 77 69 74 68 |the entr|ies with|
|000035a0| 20 61 63 74 69 6f 6e 73 | 2c 0a 58 61 6e 64 20 73 | actions|,.Xand s|
|000035b0| 65 6c 65 63 74 73 20 61 | 6e 20 65 6e 74 72 79 20 |elects a|n entry |
|000035c0| 66 6f 72 20 77 68 69 63 | 68 20 61 6c 6c 20 73 6f |for whic|h all so|
|000035d0| 75 72 63 65 73 20 63 61 | 6e 20 62 65 20 6d 61 64 |urces ca|n be mad|
|000035e0| 65 2e 0a 58 28 69 74 20 | 69 73 20 62 65 73 74 20 |e..X(it |is best |
|000035f0| 74 6f 20 65 6e 73 75 72 | 65 20 65 69 74 68 65 72 |to ensur|e either|
|00003600| 20 74 68 61 74 20 74 68 | 65 72 65 20 69 73 20 6f | that th|ere is o|
|00003610| 6e 6c 79 20 6f 6e 65 20 | 73 75 63 68 20 65 6e 74 |nly one |such ent|
|00003620| 72 79 0a 58 6f 72 20 74 | 68 61 74 20 74 68 65 20 |ry.Xor t|hat the |
|00003630| 65 66 66 65 63 74 73 20 | 6f 66 20 74 68 65 20 61 |effects |of the a|
|00003640| 63 74 69 6f 6e 73 20 6f | 66 20 61 6c 6c 20 74 68 |ctions o|f all th|
|00003650| 65 73 65 20 65 6e 74 72 | 69 65 73 20 61 72 65 20 |ese entr|ies are |
|00003660| 74 68 65 20 73 61 6d 65 | 29 2e 0a 58 2e 50 50 0a |the same|)..X.PP.|
|00003670| 58 41 74 20 74 68 65 20 | 65 6e 64 20 6f 66 20 74 |XAt the |end of t|
|00003680| 68 65 20 70 6c 61 6e 6e | 69 6e 67 20 70 68 61 73 |he plann|ing phas|
|00003690| 65 0a 58 5c 2a 63 20 68 | 61 73 20 61 20 64 69 72 |e.X\*c h|as a dir|
|000036a0| 65 63 74 65 64 20 61 63 | 79 63 6c 69 63 20 67 72 |ected ac|yclic gr|
|000036b0| 61 70 68 0a 58 72 65 70 | 72 65 73 65 6e 74 69 6e |aph.Xrep|resentin|
|000036c0| 67 20 64 65 70 65 6e 64 | 65 6e 63 69 65 73 20 62 |g depend|encies b|
|000036d0| 65 74 77 65 65 6e 20 66 | 69 6c 65 73 2e 0a 58 54 |etween f|iles..XT|
|000036e0| 68 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |he infor|mation a|
|000036f0| 74 74 61 63 68 65 64 20 | 74 6f 20 74 68 65 20 6e |ttached |to the n|
|00003700| 6f 64 65 73 20 6f 66 20 | 74 68 69 73 20 67 72 61 |odes of |this gra|
|00003710| 70 68 20 73 61 79 73 0a | 58 77 68 65 74 68 65 72 |ph says.|Xwhether|
|00003720| 20 74 68 65 20 66 69 6c | 65 20 65 78 69 73 74 73 | the fil|e exists|
|00003730| 20 6f 72 20 6e 6f 74 2c | 20 77 68 61 74 20 69 73 | or not,| what is|
|00003740| 20 69 74 73 20 6d 6f 64 | 69 66 79 20 74 69 6d 65 | its mod|ify time|
|00003750| 20 69 66 20 69 74 20 64 | 6f 65 73 0a 58 61 6e 64 | if it d|oes.Xand|
|00003760| 20 77 68 61 74 20 69 73 | 20 69 74 73 20 63 6f 6e | what is| its con|
|00003770| 63 65 70 74 75 61 6c 20 | 6d 6f 64 69 66 79 20 74 |ceptual |modify t|
|00003780| 69 6d 65 2e 0a 58 54 68 | 65 20 63 6f 6e 63 65 70 |ime..XTh|e concep|
|00003790| 74 75 61 6c 20 6d 6f 64 | 69 66 79 20 74 69 6d 65 |tual mod|ify time|
|000037a0| 20 6f 66 20 61 20 66 69 | 6c 65 20 77 69 74 68 20 | of a fi|le with |
|000037b0| 6e 6f 20 61 6e 63 65 73 | 74 6f 72 73 0a 58 69 73 |no ances|tors.Xis|
|000037c0| 20 69 74 73 20 72 65 61 | 6c 20 6d 6f 64 69 66 79 | its rea|l modify|
|000037d0| 20 74 69 6d 65 3b 0a 58 | 74 68 65 20 63 6f 6e 63 | time;.X|the conc|
|000037e0| 65 70 74 75 61 6c 20 6d | 6f 64 69 66 79 20 74 69 |eptual m|odify ti|
|000037f0| 6d 65 20 6f 66 20 61 20 | 66 69 6c 65 20 77 69 74 |me of a |file wit|
|00003800| 68 20 61 6e 63 65 73 74 | 6f 72 73 0a 58 69 73 20 |h ancest|ors.Xis |
|00003810| 74 68 65 20 6c 61 74 65 | 73 74 20 63 6f 6e 63 65 |the late|st conce|
|00003820| 70 74 75 61 6c 20 6d 6f | 64 69 66 79 20 74 69 6d |ptual mo|dify tim|
|00003830| 65 20 6f 66 20 61 6e 79 | 20 6f 66 20 69 74 73 20 |e of any| of its |
|00003840| 61 6e 63 65 73 74 6f 72 | 73 2e 0a 58 28 50 73 65 |ancestor|s..X(Pse|
|00003850| 75 64 6f 66 69 6c 65 73 | 20 61 6e 64 20 66 69 6c |udofiles| and fil|
|00003860| 65 73 20 77 69 74 68 20 | 6e 6f 20 61 6e 63 65 73 |es with |no ances|
|00003870| 74 6f 72 73 20 62 75 74 | 20 77 69 74 68 20 61 63 |tors but| with ac|
|00003880| 74 69 6f 6e 73 0a 58 61 | 72 65 20 74 72 65 61 74 |tions.Xa|re treat|
|00003890| 65 64 20 73 70 65 63 69 | 61 6c 6c 79 2c 20 62 75 |ed speci|ally, bu|
|000038a0| 74 20 69 6e 20 74 68 65 | 20 73 61 6d 65 20 67 65 |t in the| same ge|
|000038b0| 6e 65 72 61 6c 20 73 70 | 69 72 69 74 2e 29 0a 58 |neral sp|irit.).X|
|000038c0| 54 68 65 20 65 78 65 63 | 75 74 65 20 70 68 61 73 |The exec|ute phas|
|000038d0| 65 20 6a 75 73 74 20 74 | 72 61 76 65 72 73 65 73 |e just t|raverses|
|000038e0| 20 74 68 65 20 67 72 61 | 70 68 20 69 6e 20 61 20 | the gra|ph in a |
|000038f0| 70 6f 73 74 6f 72 64 65 | 72 2d 6c 69 6b 65 20 66 |postorde|r-like f|
|00003900| 61 73 68 69 6f 6e 2c 0a | 58 61 6e 64 20 69 6e 76 |ashion,.|Xand inv|
|00003910| 6f 6b 65 73 20 74 68 65 | 20 61 63 74 69 6f 6e 73 |okes the| actions|
|00003920| 20 6f 66 20 74 68 6f 73 | 65 20 6e 6f 64 65 73 20 | of thos|e nodes |
|00003930| 77 68 6f 73 65 20 66 69 | 6c 65 73 20 64 6f 20 6e |whose fi|les do n|
|00003940| 6f 74 20 65 78 69 73 74 | 0a 58 6f 72 20 77 68 6f |ot exist|.Xor who|
|00003950| 73 65 20 6d 6f 64 69 66 | 79 20 74 69 6d 65 73 20 |se modif|y times |
|00003960| 61 72 65 20 65 61 72 6c | 69 65 72 20 74 68 61 6e |are earl|ier than|
|00003970| 20 74 68 65 69 72 20 63 | 6f 6e 63 65 70 74 75 61 | their c|onceptua|
|00003980| 6c 20 6d 6f 64 69 66 79 | 20 74 69 6d 65 73 2e 0a |l modify| times..|
|00003990| 58 2e 50 50 0a 58 41 63 | 74 69 6f 6e 73 20 61 6e |X.PP.XAc|tions an|
|000039a0| 64 20 63 6f 6d 6d 61 6e | 64 73 20 72 65 74 75 72 |d comman|ds retur|
|000039b0| 6e 69 6e 67 20 6e 6f 6e | 7a 65 72 6f 20 73 74 61 |ning non|zero sta|
|000039c0| 74 75 73 0a 58 70 72 65 | 76 65 6e 74 20 61 6e 79 |tus.Xpre|vent any|
|000039d0| 20 66 75 72 74 68 65 72 | 20 70 72 6f 63 65 73 73 | further| process|
|000039e0| 69 6e 67 20 6f 66 20 74 | 68 65 20 6e 6f 64 65 20 |ing of t|he node |
|000039f0| 69 6e 76 6f 6c 76 65 64 | 0a 58 61 6e 64 20 6c 65 |involved|.Xand le|
|00003a00| 61 64 20 74 6f 20 74 68 | 65 20 64 65 6c 65 74 69 |ad to th|e deleti|
|00003a10| 6f 6e 20 6f 66 20 74 68 | 65 20 74 61 72 67 65 74 |on of th|e target|
|00003a20| 73 2c 0a 58 65 78 63 65 | 70 74 20 69 6e 20 74 68 |s,.Xexce|pt in th|
|00003a30| 65 20 6f 62 76 69 6f 75 | 73 20 6f 66 20 63 61 73 |e obviou|s of cas|
|00003a40| 65 20 6f 66 20 74 65 73 | 74 73 0a 58 28 77 68 65 |e of tes|ts.X(whe|
|00003a50| 72 65 20 74 68 65 20 73 | 74 61 74 75 73 20 63 6f |re the s|tatus co|
|00003a60| 64 65 20 69 73 20 75 73 | 65 64 20 74 6f 20 72 65 |de is us|ed to re|
|00003a70| 74 75 72 6e 20 61 20 62 | 6f 6f 6c 65 61 6e 20 76 |turn a b|oolean v|
|00003a80| 61 6c 75 65 0a 58 61 6e | 64 20 6e 6f 74 20 74 6f |alue.Xan|d not to|
|00003a90| 20 73 69 67 6e 61 6c 20 | 61 6e 20 65 72 72 6f 72 | signal |an error|
|00003aa0| 29 2e 0a 58 2e 50 50 0a | 58 54 68 65 20 61 62 6f |)..X.PP.|XThe abo|
|00003ab0| 76 65 20 69 73 20 6f 6e | 6c 79 20 61 20 73 6b 65 |ve is on|ly a ske|
|00003ac0| 74 63 68 20 6f 66 20 77 | 68 61 74 20 61 63 74 75 |tch of w|hat actu|
|00003ad0| 61 6c 6c 79 20 68 61 70 | 70 65 6e 73 2e 0a 58 46 |ally hap|pens..XF|
|00003ae0| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 69 74 20 64 |or examp|le, it d|
|00003af0| 6f 65 73 20 6e 6f 74 20 | 64 65 73 63 72 69 62 65 |oes not |describe|
|00003b00| 20 77 68 61 74 20 68 61 | 70 70 65 6e 73 0a 58 77 | what ha|ppens.Xw|
|00003b10| 68 65 6e 20 61 6e 20 65 | 6e 74 72 79 20 68 61 73 |hen an e|ntry has|
|00003b20| 20 6d 6f 72 65 20 74 68 | 61 6e 20 6f 6e 65 20 74 | more th|an one t|
|00003b30| 61 72 67 65 74 2e 0a 58 | 41 6e 64 20 6f 66 20 63 |arget..X|And of c|
|00003b40| 6f 75 72 73 65 20 66 6c | 61 67 73 20 6f 6e 20 70 |ourse fl|ags on p|
|00003b50| 61 74 74 65 72 6e 73 20 | 61 6e 64 20 61 63 74 69 |atterns |and acti|
|00003b60| 6f 6e 73 20 61 6e 64 20 | 63 6f 6d 6d 61 6e 64 2d |ons and |command-|
|00003b70| 6c 69 6e 65 20 61 72 67 | 75 6d 65 6e 74 73 0a 58 |line arg|uments.X|
|00003b80| 61 6c 6c 20 6d 6f 64 69 | 66 79 20 5c 2a 63 27 73 |all modi|fy \*c's|
|00003b90| 20 62 65 68 61 76 69 6f | 75 72 2e 0a 58 41 20 64 | behavio|ur..XA d|
|00003ba0| 65 74 61 69 6c 65 64 20 | 65 78 70 6c 61 6e 61 74 |etailed |explanat|
|00003bb0| 69 6f 6e 20 77 69 74 68 | 20 65 78 61 6d 70 6c 65 |ion with| example|
|00003bc0| 73 20 6f 66 20 61 6c 6c | 20 74 68 69 73 0a 58 63 |s of all| this.Xc|
|00003bd0| 61 6e 20 62 65 20 66 6f | 75 6e 64 20 69 6e 20 74 |an be fo|und in t|
|00003be0| 68 65 20 5c 2a 63 20 75 | 73 65 72 73 27 20 67 75 |he \*c u|sers' gu|
|00003bf0| 69 64 65 2e 0a 58 2e 53 | 48 20 41 43 54 49 4f 4e |ide..X.S|H ACTION|
|00003c00| 53 0a 58 2e 73 70 0a 58 | 5c 2a 43 20 68 61 73 20 |S.X.sp.X|\*C has |
|00003c10| 74 68 72 65 65 20 6d 65 | 63 68 61 6e 69 73 6d 73 |three me|chanisms|
|00003c20| 20 66 6f 72 20 74 68 65 | 20 65 78 65 63 75 74 69 | for the| executi|
|00003c30| 6f 6e 20 6f 66 20 61 63 | 74 69 6f 6e 73 2e 0a 58 |on of ac|tions..X|
|00003c40| 57 68 69 63 68 20 6f 6e | 65 20 5c 2a 63 20 63 68 |Which on|e \*c ch|
|00003c50| 6f 6f 73 65 73 20 64 65 | 70 65 6e 64 73 20 6f 6e |ooses de|pends on|
|00003c60| 20 74 68 65 20 66 6f 72 | 6d 20 6f 66 20 74 68 65 | the for|m of the|
|00003c70| 20 61 63 74 69 6f 6e 0a | 58 62 75 74 20 63 61 6e | action.|Xbut can|
|00003c80| 20 62 65 20 6f 76 65 72 | 72 69 64 64 65 6e 20 62 | be over|ridden b|
|00003c90| 79 20 74 68 65 20 75 73 | 65 72 2e 0a 58 54 68 65 |y the us|er..XThe|
|00003ca0| 20 66 69 72 73 74 20 74 | 77 6f 20 77 65 72 65 20 | first t|wo were |
|00003cb0| 70 72 65 73 65 6e 74 20 | 69 6e 20 6d 61 6b 65 3b |present |in make;|
|00003cc0| 0a 58 74 68 65 20 74 68 | 69 72 64 20 69 73 20 75 |.Xthe th|ird is u|
|00003cd0| 6e 69 71 75 65 20 74 6f | 20 5c 2a 63 20 61 6e 64 |nique to| \*c and|
|00003ce0| 20 68 61 73 20 61 20 73 | 6c 69 67 68 74 6c 79 20 | has a s|lightly |
|00003cf0| 64 69 66 66 65 72 65 6e | 74 20 73 79 6e 74 61 78 |differen|t syntax|
|00003d00| 2e 0a 58 2e 49 50 20 28 | 61 29 0a 58 5c 2a 43 20 |..X.IP (|a).X\*C |
|00003d10| 6d 61 79 20 69 74 73 65 | 6c 66 20 70 61 72 73 65 |may itse|lf parse|
|00003d20| 20 61 6e 20 61 63 74 69 | 6f 6e 20 69 6e 74 6f 20 | an acti|on into |
|00003d30| 77 6f 72 64 73 20 61 6e | 64 20 63 61 6c 6c 20 65 |words an|d call e|
|00003d40| 78 65 63 28 32 29 2e 0a | 58 54 68 69 73 20 69 73 |xec(2)..|XThis is|
|00003d50| 20 74 68 65 20 6d 6f 73 | 74 20 65 66 66 69 63 69 | the mos|t effici|
|00003d60| 65 6e 74 20 77 61 79 20 | 6f 66 20 65 78 65 63 75 |ent way |of execu|
|00003d70| 74 69 6e 67 20 61 63 74 | 69 6f 6e 73 2c 0a 58 61 |ting act|ions,.Xa|
|00003d80| 6e 64 20 69 73 20 74 68 | 65 72 65 66 6f 72 65 20 |nd is th|erefore |
|00003d90| 74 68 65 20 6f 6e 65 20 | 74 68 61 74 20 5c 2a 63 |the one |that \*c|
|00003da0| 20 61 70 70 6c 69 65 73 | 20 77 68 65 72 65 65 76 | applies| whereev|
|00003db0| 65 72 20 70 6f 73 73 69 | 62 6c 65 2e 0a 58 48 6f |er possi|ble..XHo|
|00003dc0| 77 65 76 65 72 2c 20 69 | 74 20 77 6f 72 6b 73 20 |wever, i|t works |
|00003dd0| 6f 6e 6c 79 20 69 66 20 | 74 68 65 20 61 63 74 69 |only if |the acti|
|00003de0| 6f 6e 20 64 6f 65 73 20 | 6e 6f 74 20 63 6f 6e 74 |on does |not cont|
|00003df0| 61 69 6e 20 6d 65 74 61 | 63 68 61 72 61 63 74 65 |ain meta|characte|
|00003e00| 72 73 3b 0a 58 5c 2a 63 | 20 75 73 65 73 20 28 62 |rs;.X\*c| uses (b|
|00003e10| 29 20 69 66 20 69 74 20 | 64 6f 65 73 2e 0a 58 2e |) if it |does..X.|
|00003e20| 49 50 20 28 62 29 0a 58 | 54 68 65 20 61 63 74 69 |IP (b).X|The acti|
|00003e30| 6f 6e 20 63 61 6e 20 62 | 65 20 67 69 76 65 6e 20 |on can b|e given |
|00003e40| 74 6f 20 74 68 65 20 73 | 68 65 6c 6c 2e 0a 58 5c |to the s|hell..X\|
|00003e50| 2a 43 20 64 6f 65 73 20 | 74 68 69 73 20 69 66 20 |*C does |this if |
|00003e60| 74 68 65 20 61 63 74 69 | 6f 6e 20 63 6f 6e 74 61 |the acti|on conta|
|00003e70| 69 6e 73 20 73 68 65 6c | 6c 20 6d 65 74 61 63 68 |ins shel|l metach|
|00003e80| 61 72 61 63 74 65 72 73 | 0a 58 6f 72 20 69 66 20 |aracters|.Xor if |
|00003e90| 69 74 20 69 73 20 69 6e | 73 74 72 75 63 74 65 64 |it is in|structed|
|00003ea0| 20 74 6f 20 62 79 20 74 | 68 65 20 75 73 65 72 20 | to by t|he user |
|00003eb0| 28 73 65 65 20 74 68 65 | 20 61 63 74 69 6f 6e 20 |(see the| action |
|00003ec0| 66 6c 61 67 20 27 21 27 | 20 61 62 6f 76 65 29 2e |flag '!'| above).|
|00003ed0| 0a 58 2e 49 50 20 28 63 | 29 0a 58 54 68 65 20 61 |.X.IP (c|).XThe a|
|00003ee0| 63 74 69 6f 6e 20 6d 61 | 79 20 62 65 20 61 20 73 |ction ma|y be a s|
|00003ef0| 68 65 6c 6c 20 73 63 72 | 69 70 74 2e 0a 58 53 68 |hell scr|ipt..XSh|
|00003f00| 65 6c 6c 20 73 63 72 69 | 70 74 73 20 63 6f 6e 73 |ell scri|pts cons|
|00003f10| 69 73 74 20 6f 66 20 61 | 20 73 65 71 75 65 6e 63 |ist of a| sequenc|
|00003f20| 65 20 6f 66 20 61 63 74 | 69 6f 6e 73 2c 0a 58 74 |e of act|ions,.Xt|
|00003f30| 68 65 20 66 69 72 73 74 | 20 6f 66 20 77 68 69 63 |he first| of whic|
|00003f40| 68 20 62 65 67 69 6e 73 | 20 77 69 74 68 20 61 20 |h begins| with a |
|00003f50| 27 7b 27 20 61 6e 64 0a | 58 74 68 65 20 6c 61 73 |'{' and.|Xthe las|
|00003f60| 74 20 20 6f 66 20 77 68 | 69 63 68 20 62 65 67 69 |t of wh|ich begi|
|00003f70| 6e 73 20 77 69 74 68 20 | 61 20 27 7d 27 2e 0a 58 |ns with |a '}'..X|
|00003f80| 54 68 65 20 74 65 78 74 | 20 6f 66 20 61 6e 20 61 |The text| of an a|
|00003f90| 63 74 69 6f 6e 20 6d 61 | 79 20 66 6f 6c 6c 6f 77 |ction ma|y follow|
|00003fa0| 20 65 69 74 68 65 72 20 | 6f 72 20 62 6f 74 68 20 | either |or both |
|00003fb0| 6f 66 20 27 7b 27 20 61 | 6e 64 20 27 7d 27 2c 0a |of '{' a|nd '}',.|
|00003fc0| 58 62 75 74 20 69 74 20 | 69 73 20 6e 65 61 74 65 |Xbut it |is neate|
|00003fd0| 72 20 74 6f 20 68 61 76 | 65 20 27 7b 27 20 61 6e |r to hav|e '{' an|
|00003fe0| 64 20 27 7d 27 20 6f 6e | 20 6c 69 6e 65 73 20 6f |d '}' on| lines o|
|00003ff0| 66 20 74 68 65 69 72 20 | 6f 77 6e 2e 0a 58 41 6e |f their |own..XAn|
|00004000| 79 20 66 6c 61 67 73 20 | 62 65 66 6f 72 65 20 74 |y flags |before t|
|00004010| 68 65 20 73 65 63 6f 6e | 64 20 61 6e 64 20 6c 61 |he secon|d and la|
|00004020| 74 65 72 20 6c 69 6e 65 | 73 0a 58 6f 66 20 61 20 |ter line|s.Xof a |
|00004030| 73 68 65 6c 6c 73 63 72 | 69 70 74 20 61 72 65 20 |shellscr|ipt are |
|00004040| 69 67 6e 6f 72 65 64 2e | 0a 58 2e 50 50 0a 58 5c |ignored.|.X.PP.X\|
|00004050| 2a 43 20 77 69 6c 6c 20 | 65 78 70 61 6e 64 20 61 |*C will |expand a|
|00004060| 6e 79 20 62 72 61 63 6b | 65 74 65 64 20 63 6f 6d |ny brack|eted com|
|00004070| 6d 61 6e 64 73 20 69 6e | 20 61 63 74 69 6f 6e 73 |mands in| actions|
|00004080| 0a 58 69 6e 20 65 78 61 | 63 74 6c 79 20 74 68 65 |.Xin exa|ctly the|
|00004090| 20 73 61 6d 65 20 77 61 | 79 20 61 73 20 69 66 20 | same wa|y as if |
|000040a0| 74 68 65 79 20 77 65 72 | 65 20 63 6f 6d 6d 61 6e |they wer|e comman|
|000040b0| 64 20 70 61 74 74 65 72 | 6e 73 2e 0a 58 45 61 63 |d patter|ns..XEac|
|000040c0| 68 20 63 6f 6d 6d 61 6e | 64 20 69 73 20 65 78 65 |h comman|d is exe|
|000040d0| 63 75 74 65 64 20 6f 6e | 6c 79 20 6f 6e 63 65 0a |cuted on|ly once.|
|000040e0| 58 61 6e 64 20 69 74 73 | 20 6f 75 74 70 75 74 20 |Xand its| output |
|000040f0| 72 65 75 73 65 64 20 69 | 66 20 6e 65 63 65 73 73 |reused i|f necess|
|00004100| 61 72 79 2e 0a 58 54 68 | 69 73 20 73 68 6f 75 6c |ary..XTh|is shoul|
|00004110| 64 20 6e 6f 74 20 63 61 | 75 73 65 20 61 6e 79 20 |d not ca|use any |
|00004120| 70 72 6f 62 6c 65 6d 73 | 0a 58 75 6e 6c 65 73 73 |problems|.Xunless|
|00004130| 20 74 68 65 20 63 61 6b | 65 66 69 6c 65 20 77 61 | the cak|efile wa|
|00004140| 6e 74 73 20 74 6f 20 68 | 61 76 65 20 74 68 65 20 |nts to h|ave the |
|00004150| 73 61 6d 65 20 63 6f 6d | 6d 61 6e 64 20 69 73 20 |same com|mand is |
|00004160| 65 78 65 63 75 74 65 64 | 0a 58 69 6e 20 74 77 6f |executed|.Xin two|
|00004170| 20 64 69 66 66 65 72 65 | 6e 74 20 65 6e 76 69 72 | differe|nt envir|
|00004180| 6f 6e 6d 65 6e 74 73 3b | 0a 58 69 6e 20 74 68 69 |onments;|.Xin thi|
|00004190| 73 20 63 61 73 65 20 79 | 6f 75 20 63 61 6e 20 72 |s case y|ou can r|
|000041a0| 65 6c 79 20 6f 6e 20 74 | 68 65 20 43 2d 73 68 65 |ely on t|he C-she|
|000041b0| 6c 6c 20 62 61 63 6b 71 | 75 6f 74 65 20 6d 65 63 |ll backq|uote mec|
|000041c0| 68 61 6e 69 73 6d 2c 0a | 58 62 75 74 20 62 65 77 |hanism,.|Xbut bew|
|000041d0| 61 72 65 3a 20 62 61 63 | 6b 71 75 6f 74 65 73 20 |are: bac|kquotes |
|000041e0| 61 6e 64 20 64 6f 75 62 | 6c 65 20 62 72 61 63 6b |and doub|le brack|
|000041f0| 65 74 73 20 64 6f 6e 27 | 74 20 6d 69 78 2e 0a 58 |ets don'|t mix..X|
|00004200| 2e 50 50 0a 58 49 6e 74 | 65 72 72 75 70 74 20 61 |.PP.XInt|errupt a|
|00004210| 6e 64 20 71 75 69 74 20 | 73 69 67 6e 61 6c 73 20 |nd quit |signals |
|00004220| 63 61 75 73 65 0a 58 74 | 68 65 20 74 61 72 67 65 |cause.Xt|he targe|
|00004230| 74 73 20 6f 66 20 74 68 | 65 20 63 75 72 72 65 6e |ts of th|e curren|
|00004240| 74 20 61 63 74 69 6f 6e | 73 20 74 6f 20 62 65 20 |t action|s to be |
|00004250| 64 65 6c 65 74 65 64 3b | 0a 58 74 68 65 20 65 78 |deleted;|.Xthe ex|
|00004260| 63 65 70 74 69 6f 6e 73 | 20 61 72 65 20 70 73 65 |ceptions| are pse|
|00004270| 75 64 6f 66 69 6c 65 73 | 2c 20 64 69 72 65 63 74 |udofiles|, direct|
|00004280| 6f 72 69 65 73 0a 58 61 | 6e 64 20 74 61 72 67 65 |ories.Xa|nd targe|
|00004290| 74 73 20 74 68 61 74 20 | 68 61 76 65 20 61 20 27 |ts that |have a '|
|000042a0| 21 27 20 66 6c 61 67 2e | 0a 58 2e 53 48 20 4f 50 |!' flag.|.X.SH OP|
|000042b0| 54 49 4f 4e 53 0a 58 2e | 73 70 0a 58 5c 2a 43 20 |TIONS.X.|sp.X\*C |
|000042c0| 68 61 73 20 6d 6f 73 74 | 20 6f 66 20 6d 61 6b 65 |has most| of make|
|000042d0| 27 73 20 6f 70 74 69 6f | 6e 73 2c 20 62 75 74 20 |'s optio|ns, but |
|000042e0| 69 74 20 68 61 73 20 6e | 65 77 20 6f 70 74 69 6f |it has n|ew optio|
|000042f0| 6e 73 20 74 6f 6f 2e 0a | 58 53 6f 6d 65 20 6f 66 |ns too..|XSome of|
|00004300| 20 74 68 65 20 6f 70 74 | 69 6f 6e 73 20 68 61 76 | the opt|ions hav|
|00004310| 65 20 65 66 66 65 63 74 | 73 20 74 68 61 74 20 63 |e effect|s that c|
|00004320| 61 6e 20 61 6c 73 6f 20 | 62 65 20 61 63 68 69 65 |an also |be achie|
|00004330| 76 65 64 0a 58 77 69 74 | 68 20 61 63 74 69 6f 6e |ved.Xwit|h action|
|00004340| 20 70 72 65 66 69 78 65 | 73 2c 20 61 73 20 64 65 | prefixe|s, as de|
|00004350| 73 63 72 69 62 65 64 20 | 62 65 6c 6f 77 2e 0a 58 |scribed |below..X|
|00004360| 4f 70 74 69 6f 6e 73 20 | 63 61 6e 20 62 65 20 67 |Options |can be g|
|00004370| 69 76 65 6e 20 74 6f 20 | 5c 2a 63 20 28 69 6e 20 |iven to |\*c (in |
|00004380| 6f 72 64 65 72 20 6f 66 | 20 69 6e 63 72 65 61 73 |order of| increas|
|00004390| 69 6e 67 20 70 72 69 6f | 72 69 74 79 29 0a 58 69 |ing prio|rity).Xi|
|000043a0| 6e 20 74 68 65 20 65 6e | 76 69 72 6f 6e 6d 65 6e |n the en|vironmen|
|000043b0| 74 20 76 61 72 69 61 62 | 6c 65 20 43 41 4b 45 2c |t variab|le CAKE,|
|000043c0| 0a 58 6f 6e 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |.Xon the| command|
|000043d0| 20 6c 69 6e 65 0a 58 6f | 72 20 69 6e 20 74 68 65 | line.Xo|r in the|
|000043e0| 20 5c 2a 28 63 66 20 69 | 74 73 65 6c 66 2e 0a 58 | \*(cf i|tself..X|
|000043f0| 4f 6e 6c 79 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |Only the| command|
|00004400| 20 6c 69 6e 65 20 6f 70 | 74 69 6f 6e 73 20 61 72 | line op|tions ar|
|00004410| 65 20 69 6e 63 6c 75 64 | 65 64 20 69 6e 20 74 68 |e includ|ed in th|
|00004420| 65 20 6d 61 63 72 6f 20 | 43 41 4b 45 46 4c 41 47 |e macro |CAKEFLAG|
|00004430| 53 2e 0a 58 53 6f 6d 65 | 20 6f 70 74 69 6f 6e 73 |S..XSome| options|
|00004440| 20 61 72 65 20 6e 6f 74 | 20 65 66 66 65 63 74 69 | are not| effecti|
|00004450| 76 65 20 77 68 65 6e 20 | 67 69 76 65 6e 20 66 72 |ve when |given fr|
|00004460| 6f 6d 20 69 6e 73 69 64 | 65 20 74 68 65 20 5c 2a |om insid|e the \*|
|00004470| 28 63 66 3b 0a 58 74 68 | 65 73 65 20 61 72 65 20 |(cf;.Xth|ese are |
|00004480| 5c 2d 66 2c 20 5c 2d 67 | 2c 20 5c 2d 44 2c 20 5c |\-f, \-g|, \-D, \|
|00004490| 2d 49 20 61 6e 64 20 5c | 2d 55 2e 0a 58 2e 49 50 |-I and \|-U..X.IP|
|000044a0| 20 5c 2d 61 0a 58 41 62 | 6f 72 74 20 74 68 65 20 | \-a.XAb|ort the |
|000044b0| 77 68 6f 6c 65 20 72 75 | 6e 20 69 66 20 5c 2a 63 |whole ru|n if \*c|
|000044c0| 20 73 65 65 73 20 61 6e | 20 61 63 74 69 6f 6e 20 | sees an| action |
|000044d0| 72 65 74 75 72 6e 20 77 | 69 74 68 20 61 20 6e 6f |return w|ith a no|
|000044e0| 6e 7a 65 72 6f 20 73 74 | 61 74 75 73 0a 58 28 5c |nzero st|atus.X(\|
|000044f0| 2a 63 20 63 61 6e 20 74 | 75 72 6e 20 61 20 62 6c |*c can t|urn a bl|
|00004500| 69 6e 64 20 65 79 65 20 | 6f 6e 20 61 20 6e 6f 6e |ind eye |on a non|
|00004510| 7a 65 72 6f 20 73 74 61 | 74 75 73 20 69 66 20 73 |zero sta|tus if s|
|00004520| 6f 20 69 6e 73 74 72 75 | 63 74 65 64 0a 58 28 73 |o instru|cted.X(s|
|00004530| 65 65 20 5c 2d 69 20 62 | 65 6c 6f 77 29 29 2e 0a |ee \-i b|elow))..|
|00004540| 58 4e 6f 74 65 20 74 68 | 61 74 20 69 6e 20 6d 61 |XNote th|at in ma|
|00004550| 6b 65 20 74 68 65 20 65 | 66 66 65 63 74 20 6f 66 |ke the e|ffect of|
|00004560| 20 5c 2d 61 20 69 73 20 | 74 68 65 20 64 65 66 61 | \-a is |the defa|
|00004570| 75 6c 74 2e 0a 58 2e 49 | 50 20 5c 2d 62 0a 58 50 |ult..X.I|P \-b.XP|
|00004580| 72 69 6e 74 20 61 63 74 | 69 6f 6e 73 20 5c 66 49 |rint act|ions \fI|
|00004590| 62 65 66 6f 72 65 5c 66 | 50 20 61 6e 79 20 62 72 |before\f|P any br|
|000045a0| 61 63 6b 65 74 65 64 20 | 63 6f 6d 6d 61 6e 64 73 |acketed |commands|
|000045b0| 20 69 6e 20 74 68 65 6d | 20 61 72 65 20 65 78 70 | in them| are exp|
|000045c0| 61 6e 64 65 64 2e 0a 58 | 54 68 65 20 64 65 66 61 |anded..X|The defa|
|000045d0| 75 6c 74 20 69 73 20 74 | 6f 20 70 72 69 6e 74 20 |ult is t|o print |
|000045e0| 74 68 65 6d 20 61 66 74 | 65 72 77 61 72 64 73 2e |them aft|erwards.|
|000045f0| 0a 58 2e 49 50 20 5c 2d | 63 0a 58 55 73 65 20 74 |.X.IP \-|c.XUse t|
|00004600| 68 65 20 6c 61 73 74 20 | 73 74 61 74 75 73 20 63 |he last |status c|
|00004610| 68 61 6e 67 65 20 74 69 | 6d 65 20 6f 66 20 66 69 |hange ti|me of fi|
|00004620| 6c 65 73 0a 58 69 6e 73 | 74 65 61 64 20 6f 66 20 |les.Xins|tead of |
|00004630| 74 68 65 20 6c 61 73 74 | 20 6d 6f 64 69 66 79 20 |the last| modify |
|00004640| 74 69 6d 65 20 28 73 65 | 65 20 73 74 61 74 28 32 |time (se|e stat(2|
|00004650| 29 29 2e 0a 58 2e 49 50 | 20 5c 2d 64 0a 58 44 65 |))..X.IP| \-d.XDe|
|00004660| 6c 65 74 65 20 61 6c 6c | 20 72 65 67 65 6e 65 72 |lete all| regener|
|00004670| 61 62 6c 65 20 69 6e 74 | 65 72 6d 65 64 69 61 74 |able int|ermediat|
|00004680| 65 20 66 69 6c 65 73 0a | 58 61 66 74 65 72 20 61 |e files.|Xafter a|
|00004690| 6c 6c 20 6f 74 68 65 72 | 20 74 61 73 6b 73 20 68 |ll other| tasks h|
|000046a0| 61 76 65 20 62 65 65 6e | 20 63 6f 6d 70 6c 65 74 |ave been| complet|
|000046b0| 65 64 0a 58 28 66 69 6c | 65 73 20 77 68 69 63 68 |ed.X(fil|es which|
|000046c0| 20 63 61 6e 20 62 65 20 | 75 70 64 61 74 65 64 20 | can be |updated |
|000046d0| 62 75 74 20 77 68 69 63 | 68 20 61 72 65 20 6f 6c |but whic|h are ol|
|000046e0| 64 65 72 20 74 68 61 6e | 20 74 68 65 69 72 20 61 |der than| their a|
|000046f0| 6e 63 65 73 74 6f 72 73 | 0a 58 61 72 65 20 6e 6f |ncestors|.Xare no|
|00004700| 74 20 63 6f 6e 73 69 64 | 65 72 65 64 20 72 65 67 |t consid|ered reg|
|00004710| 65 6e 65 72 61 62 6c 65 | 29 2e 0a 58 46 69 6c 65 |enerable|)..XFile|
|00004720| 73 20 70 6f 73 74 66 69 | 78 65 64 20 77 69 74 68 |s postfi|xed with|
|00004730| 20 27 5e 27 20 61 72 65 | 20 63 6f 6e 73 69 64 65 | '^' are| conside|
|00004740| 72 65 64 20 63 61 6e 64 | 69 64 61 74 65 73 20 66 |red cand|idates f|
|00004750| 6f 72 20 64 65 6c 65 74 | 69 6f 6e 0a 58 65 76 65 |or delet|ion.Xeve|
|00004760| 6e 20 69 66 20 74 68 69 | 73 20 66 6c 61 67 20 69 |n if thi|s flag i|
|00004770| 73 20 6e 6f 74 20 73 70 | 65 63 69 66 69 65 64 2e |s not sp|ecified.|
|00004780| 0a 58 2e 49 50 20 22 5c | 2d 66 20 66 69 6c 65 22 |.X.IP "\|-f file"|
|00004790| 0a 58 55 73 65 20 74 68 | 65 20 67 69 76 65 6e 20 |.XUse th|e given |
|000047a0| 66 69 6c 65 20 74 6f 20 | 64 65 73 63 72 69 62 65 |file to |describe|
|000047b0| 20 64 65 70 65 6e 64 65 | 6e 63 69 65 73 2e 0a 58 | depende|ncies..X|
|000047c0| 49 66 20 74 68 69 73 20 | 6f 70 74 69 6f 6e 20 69 |If this |option i|
|000047d0| 73 20 6d 69 73 73 69 6e | 67 2c 0a 58 5c 2a 28 6c |s missin|g,.X\*(l|
|000047e0| 71 63 61 6b 65 66 69 6c | 65 5c 2a 28 72 71 2c 20 |qcakefil|e\*(rq, |
|000047f0| 5c 2a 28 6c 71 43 61 6b | 65 66 69 6c 65 5c 2a 28 |\*(lqCak|efile\*(|
|00004800| 72 71 2c 0a 58 5c 2a 28 | 6c 71 72 65 63 69 70 65 |rq,.X\*(|lqrecipe|
|00004810| 5c 2a 28 72 71 20 61 6e | 64 20 5c 2a 28 6c 71 52 |\*(rq an|d \*(lqR|
|00004820| 65 63 69 70 65 5c 2a 28 | 72 71 20 61 72 65 20 74 |ecipe\*(|rq are t|
|00004830| 72 69 65 64 2c 20 69 6e | 20 74 68 61 74 20 6f 72 |ried, in| that or|
|00004840| 64 65 72 2e 0a 58 4e 6f | 74 65 20 74 68 61 74 20 |der..XNo|te that |
|00004850| 75 6e 6c 69 6b 65 20 6d | 61 6b 65 2c 20 5c 2a 63 |unlike m|ake, \*c|
|00004860| 20 61 63 63 65 70 74 73 | 20 6f 6e 6c 79 20 6f 6e | accepts| only on|
|00004870| 65 20 5c 2d 66 20 6f 70 | 74 69 6f 6e 3b 0a 58 69 |e \-f op|tion;.Xi|
|00004880| 66 20 6d 6f 72 65 20 61 | 72 65 20 73 75 70 70 6c |f more a|re suppl|
|00004890| 69 65 64 2c 20 6f 6e 6c | 79 20 74 68 65 20 6c 61 |ied, onl|y the la|
|000048a0| 73 74 20 6f 6e 65 20 68 | 61 73 20 65 66 66 65 63 |st one h|as effec|
|000048b0| 74 2e 0a 58 57 69 74 68 | 20 23 69 6e 63 6c 75 64 |t..XWith| #includ|
|000048c0| 65 27 73 20 62 65 69 6e | 67 20 65 78 70 61 6e 64 |e's bein|g expand|
|000048d0| 65 64 20 62 79 20 74 68 | 65 20 70 72 65 70 72 6f |ed by th|e prepro|
|000048e0| 63 65 73 73 6f 72 2c 0a | 58 6d 75 6c 74 69 70 6c |cessor,.|Xmultipl|
|000048f0| 65 20 5c 2d 66 27 73 20 | 61 72 65 20 6e 6f 74 20 |e \-f's |are not |
|00004900| 6e 65 65 64 65 64 2e 0a | 58 2e 49 50 20 5c 2d 67 |needed..|X.IP \-g|
|00004910| 0a 58 47 6f 20 74 6f 20 | 28 69 2e 65 2e 20 63 64 |.XGo to |(i.e. cd|
|00004920| 20 74 6f 29 20 74 68 65 | 20 64 69 72 65 63 74 6f | to) the| directo|
|00004930| 72 79 20 63 6f 6e 74 61 | 69 6e 69 6e 67 20 74 68 |ry conta|ining th|
|00004940| 65 20 5c 2a 28 63 66 0a | 58 62 65 66 6f 72 65 20 |e \*(cf.|Xbefore |
|00004950| 64 6f 69 6e 67 20 61 6e | 79 74 68 69 6e 67 20 65 |doing an|ything e|
|00004960| 6c 73 65 2e 0a 58 41 66 | 74 65 72 20 74 68 69 73 |lse..XAf|ter this|
|00004970| 2c 20 61 6c 6c 20 63 6f | 6d 6d 61 6e 64 73 20 61 |, all co|mmands a|
|00004980| 6e 64 20 61 63 74 69 6f | 6e 73 20 69 73 73 75 65 |nd actio|ns issue|
|00004990| 64 20 62 79 20 5c 2a 63 | 0a 58 77 69 6c 6c 20 62 |d by \*c|.Xwill b|
|000049a0| 65 68 61 76 65 20 61 73 | 20 69 66 20 5c 2a 63 20 |ehave as| if \*c |
|000049b0| 68 61 64 20 73 74 61 72 | 74 65 64 20 69 6e 20 74 |had star|ted in t|
|000049c0| 68 61 74 20 64 69 72 65 | 63 74 6f 72 79 2e 0a 58 |hat dire|ctory..X|
|000049d0| 2e 49 50 20 5c 2d 69 0a | 58 49 67 6e 6f 72 65 20 |.IP \-i.|XIgnore |
|000049e0| 74 68 65 20 73 74 61 74 | 75 73 20 72 65 74 75 72 |the stat|us retur|
|000049f0| 6e 65 64 20 62 79 20 61 | 63 74 69 6f 6e 73 2e 0a |ned by a|ctions..|
|00004a00| 58 54 68 69 73 20 6f 70 | 74 69 6f 6e 20 69 73 20 |XThis op|tion is |
|00004a10| 74 75 72 6e 65 64 20 6f | 6e 20 66 6f 72 20 61 6e |turned o|n for an|
|00004a20| 20 61 63 74 69 6f 6e 0a | 58 62 79 20 70 72 65 66 | action.|Xby pref|
|00004a30| 69 78 69 6e 67 20 69 74 | 20 77 69 74 68 20 61 20 |ixing it| with a |
|00004a40| 27 2d 27 2e 0a 58 4e 6f | 74 65 20 74 68 61 74 20 |'-'..XNo|te that |
|00004a50| 74 68 69 73 20 6f 76 65 | 72 72 69 64 65 73 20 6f |this ove|rrides o|
|00004a60| 70 74 69 6f 6e 73 20 5c | 2d 52 20 61 6e 64 20 5c |ptions \|-R and \|
|00004a70| 2d 61 2e 0a 58 2e 49 50 | 20 5c 2d 6b 0a 58 4b 65 |-a..X.IP| \-k.XKe|
|00004a80| 65 70 20 67 6f 69 6e 67 | 20 69 6e 20 74 68 65 20 |ep going| in the |
|00004a90| 65 76 65 6e 74 20 6f 66 | 20 61 6e 20 65 72 72 6f |event of| an erro|
|00004aa0| 72 2c 0a 58 66 6f 6c 6c | 6f 77 69 6e 67 20 62 72 |r,.Xfoll|owing br|
|00004ab0| 61 6e 63 68 65 73 20 74 | 68 61 74 20 61 72 65 20 |anches t|hat are |
|00004ac0| 6e 6f 74 20 72 65 6c 61 | 74 65 64 20 74 6f 20 66 |not rela|ted to f|
|00004ad0| 69 6c 65 73 20 77 68 69 | 63 68 20 63 61 6e 6e 6f |iles whi|ch canno|
|00004ae0| 74 20 62 65 20 6d 61 64 | 65 2e 0a 58 53 69 6e 63 |t be mad|e..XSinc|
|00004af0| 65 20 74 68 69 73 20 69 | 73 20 74 68 65 20 64 65 |e this i|s the de|
|00004b00| 66 61 75 6c 74 20 69 6e | 20 5c 2a 63 2c 0a 58 69 |fault in| \*c,.Xi|
|00004b10| 74 20 69 73 20 69 6e 63 | 6c 75 64 65 64 20 70 75 |t is inc|luded pu|
|00004b20| 72 65 6c 79 20 66 6f 72 | 20 63 6f 6d 70 61 74 69 |rely for| compati|
|00004b30| 62 69 6c 69 74 79 20 77 | 69 74 68 20 6d 61 6b 65 |bility w|ith make|
|00004b40| 2e 0a 58 49 74 73 20 6f | 6e 6c 79 20 65 66 66 65 |..XIts o|nly effe|
|00004b50| 63 74 20 69 73 20 74 6f | 20 6e 65 67 61 74 65 20 |ct is to| negate |
|00004b60| 61 6e 20 65 61 72 6c 69 | 65 72 20 5c 2d 61 2e 0a |an earli|er \-a..|
|00004b70| 58 2e 49 50 20 5c 2d 6e | 0a 58 54 72 61 63 65 20 |X.IP \-n|.XTrace |
|00004b80| 61 6e 64 20 70 72 69 6e | 74 2c 20 62 75 74 20 64 |and prin|t, but d|
|00004b90| 6f 20 6e 6f 74 20 65 78 | 65 63 75 74 65 0a 58 74 |o not ex|ecute.Xt|
|00004ba0| 68 65 20 61 63 74 69 6f | 6e 73 20 6e 65 65 64 65 |he actio|ns neede|
|00004bb0| 64 20 74 6f 20 75 70 64 | 61 74 65 20 74 68 65 20 |d to upd|ate the |
|00004bc0| 74 61 72 67 65 74 73 2c | 0a 58 69 6e 63 6c 75 64 |targets,|.Xinclud|
|00004bd0| 69 6e 67 20 74 68 6f 73 | 65 20 74 68 61 74 20 61 |ing thos|e that a|
|00004be0| 72 65 20 6e 6f 72 6d 61 | 6c 6c 79 20 65 78 65 63 |re norma|lly exec|
|00004bf0| 75 74 65 64 20 62 75 74 | 20 6e 6f 74 20 70 72 69 |uted but| not pri|
|00004c00| 6e 74 65 64 2e 0a 58 54 | 68 65 20 70 72 65 66 69 |nted..XT|he prefi|
|00004c10| 78 65 73 20 77 69 6c 6c | 20 62 65 20 70 72 69 6e |xes will| be prin|
|00004c20| 74 65 64 20 77 69 74 68 | 20 74 68 65 20 61 63 74 |ted with| the act|
|00004c30| 69 6f 6e 73 2e 0a 58 49 | 66 20 74 68 65 20 70 72 |ions..XI|f the pr|
|00004c40| 65 66 69 78 65 73 20 69 | 6e 63 6c 75 64 65 20 27 |efixes i|nclude '|
|00004c50| 2b 27 2c 20 74 68 65 20 | 61 63 74 69 6f 6e 20 77 |+', the |action w|
|00004c60| 69 6c 6c 20 73 74 69 6c | 6c 20 62 65 20 65 78 65 |ill stil|l be exe|
|00004c70| 63 75 74 65 64 2e 0a 58 | 49 6e 20 74 68 69 73 20 |cuted..X|In this |
|00004c80| 6d 6f 64 65 20 5c 2a 63 | 20 61 73 73 75 6d 65 73 |mode \*c| assumes|
|00004c90| 20 74 68 61 74 0a 58 74 | 68 65 20 61 63 74 69 6f | that.Xt|he actio|
|00004ca0| 6e 73 20 77 6f 75 6c 64 | 20 6e 6f 74 20 63 68 61 |ns would| not cha|
|00004cb0| 6e 67 65 20 61 6e 79 20 | 6e 6f 6e 76 6f 6c 61 74 |nge any |nonvolat|
|00004cc0| 69 6c 65 20 66 69 6c 65 | 73 2e 0a 58 4e 6f 74 65 |ile file|s..XNote|
|00004cd0| 20 74 68 61 74 20 6f 6e | 6c 79 20 6f 6e 65 20 6f | that on|ly one o|
|00004ce0| 66 20 5c 2d 6e 2c 20 5c | 2d 71 20 61 6e 64 20 5c |f \-n, \|-q and \|
|00004cf0| 2d 74 20 6d 61 79 20 62 | 65 20 67 69 76 65 6e 2c |-t may b|e given,|
|00004d00| 0a 58 61 6e 64 20 74 68 | 61 74 20 5c 2d 6e 20 6f |.Xand th|at \-n o|
|00004d10| 76 65 72 72 69 64 65 73 | 20 5c 2d 73 2e 0a 58 2e |verrides| \-s..X.|
|00004d20| 49 50 20 5c 2d 71 0a 58 | 52 65 70 6f 72 74 20 69 |IP \-q.X|Report i|
|00004d30| 66 20 74 68 65 20 6d 61 | 69 6e 20 74 61 72 67 65 |f the ma|in targe|
|00004d40| 74 73 20 61 72 65 20 75 | 70 2d 74 6f 2d 64 61 74 |ts are u|p-to-dat|
|00004d50| 65 3a 0a 58 72 65 74 75 | 72 6e 20 65 78 69 74 20 |e:.Xretu|rn exit |
|00004d60| 73 74 61 74 75 73 20 30 | 20 69 66 20 74 68 65 79 |status 0| if they|
|00004d70| 20 61 72 65 20 61 6e 64 | 20 31 20 6f 74 68 65 72 | are and| 1 other|
|00004d80| 77 69 73 65 2e 0a 58 49 | 6e 20 74 68 69 73 20 6d |wise..XI|n this m|
|00004d90| 6f 64 65 2c 20 74 68 65 | 20 6f 6e 6c 79 20 61 63 |ode, the| only ac|
|00004da0| 74 69 6f 6e 73 20 65 78 | 65 63 75 74 65 64 0a 58 |tions ex|ecuted.X|
|00004db0| 61 72 65 20 74 68 6f 73 | 65 20 6e 65 65 64 65 64 |are thos|e needed|
|00004dc0| 20 74 6f 20 64 69 73 63 | 6f 76 65 72 20 64 65 70 | to disc|over dep|
|00004dd0| 65 6e 64 65 6e 63 79 20 | 69 6e 66 6f 72 6d 61 74 |endency |informat|
|00004de0| 69 6f 6e 2e 0a 58 4e 6f | 74 65 20 74 68 61 74 20 |ion..XNo|te that |
|00004df0| 6f 6e 6c 79 20 6f 6e 65 | 20 6f 66 20 5c 2d 6e 2c |only one| of \-n,|
|00004e00| 20 5c 2d 71 20 61 6e 64 | 20 5c 2d 74 20 6d 61 79 | \-q and| \-t may|
|00004e10| 20 62 65 20 67 69 76 65 | 6e 2e 0a 58 2e 49 50 20 | be give|n..X.IP |
|00004e20| 5c 2d 72 0a 58 41 66 74 | 65 72 20 65 61 63 68 20 |\-r.XAft|er each |
|00004e30| 61 63 74 69 6f 6e 20 72 | 65 73 65 74 20 74 68 65 |action r|eset the|
|00004e40| 20 6d 6f 64 69 66 79 20 | 74 69 6d 65 73 20 6f 66 | modify |times of|
|00004e50| 20 74 61 72 67 65 74 20 | 66 69 6c 65 73 0a 58 74 | target |files.Xt|
|00004e60| 6f 20 74 68 65 20 6d 6f | 64 69 66 79 20 74 69 6d |o the mo|dify tim|
|00004e70| 65 20 6f 66 20 74 68 65 | 20 6c 61 73 74 20 75 70 |e of the| last up|
|00004e80| 64 61 74 65 64 20 61 6e | 63 65 73 74 6f 72 2e 0a |dated an|cestor..|
|00004e90| 58 54 68 69 73 20 6d 61 | 6b 65 73 20 74 68 65 20 |XThis ma|kes the |
|00004ea0| 70 68 79 73 69 63 61 6c | 20 75 70 64 61 74 65 20 |physical| update |
|00004eb0| 74 69 6d 65 0a 58 63 6f | 72 72 65 73 70 6f 6e 64 |time.Xco|rrespond|
|00004ec0| 20 6d 6f 72 65 20 63 6c | 6f 73 65 6c 79 20 74 6f | more cl|osely to|
|00004ed0| 20 74 68 65 20 6c 6f 67 | 69 63 61 6c 20 75 70 64 | the log|ical upd|
|00004ee0| 61 74 65 20 74 69 6d 65 | 2e 0a 58 2e 49 50 20 5c |ate time|..X.IP \|
|00004ef0| 2d 73 0a 58 44 6f 20 6e | 6f 74 20 70 72 69 6e 74 |-s.XDo n|ot print|
|00004f00| 20 61 63 74 69 6f 6e 73 | 2e 0a 58 45 76 65 6e 20 | actions|..XEven |
|00004f10| 77 69 74 68 6f 75 74 20 | 5c 2d 73 2c 20 5c 2a 63 |without |\-s, \*c|
|00004f20| 20 64 6f 65 73 20 6e 6f | 74 20 70 72 69 6e 74 20 | does no|t print |
|00004f30| 61 63 74 69 6f 6e 73 20 | 77 69 74 68 20 61 20 27 |actions |with a '|
|00004f40| 40 27 20 70 72 65 66 69 | 78 2e 0a 58 42 6f 74 68 |@' prefi|x..XBoth|
|00004f50| 20 5c 2d 73 20 61 6e 64 | 20 27 40 27 20 61 72 65 | \-s and| '@' are|
|00004f60| 20 6f 76 65 72 72 69 64 | 64 65 6e 20 62 79 20 5c | overrid|den by \|
|00004f70| 2d 6e 2e 0a 58 2e 49 50 | 20 5c 2d 74 0a 58 54 6f |-n..X.IP| \-t.XTo|
|00004f80| 75 63 68 2c 20 69 2e 65 | 2e 20 63 68 61 6e 67 65 |uch, i.e|. change|
|00004f90| 20 6f 6e 6c 79 20 74 68 | 65 20 6d 6f 64 69 66 69 | only th|e modifi|
|00004fa0| 65 64 20 64 61 74 65 20 | 6f 66 20 74 61 72 67 65 |ed date |of targe|
|00004fb0| 74 73 2c 0a 58 77 69 74 | 68 6f 75 74 20 65 78 65 |ts,.Xwit|hout exe|
|00004fc0| 63 75 74 69 6e 67 20 61 | 6e 79 20 61 63 74 69 6f |cuting a|ny actio|
|00004fd0| 6e 73 2e 0a 58 49 66 20 | 74 68 65 20 2d 72 20 66 |ns..XIf |the -r f|
|00004fe0| 6c 61 67 20 69 73 20 73 | 65 74 2c 20 74 68 65 20 |lag is s|et, the |
|00004ff0| 6d 6f 64 69 66 69 65 64 | 20 64 61 74 65 20 77 69 |modified| date wi|
|00005000| 6c 6c 20 62 65 20 72 65 | 73 65 74 0a 58 74 6f 20 |ll be re|set.Xto |
|00005010| 74 68 65 20 74 68 61 74 | 20 6f 66 20 74 68 65 20 |the that| of the |
|00005020| 6c 61 73 74 20 6d 6f 64 | 69 66 69 65 64 20 61 6e |last mod|ified an|
|00005030| 63 65 73 74 6f 72 2e 0a | 58 49 66 20 6e 6f 74 2c |cestor..|XIf not,|
|00005040| 20 69 74 20 77 69 6c 6c | 20 72 65 73 65 74 20 74 | it will| reset t|
|00005050| 6f 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 74 69 |o the cu|rrent ti|
|00005060| 6d 65 2e 0a 58 4e 6f 74 | 65 20 74 68 61 74 20 6f |me..XNot|e that o|
|00005070| 6e 6c 79 20 6f 6e 65 20 | 6f 66 20 5c 2d 6e 2c 20 |nly one |of \-n, |
|00005080| 5c 2d 71 20 61 6e 64 20 | 5c 2d 74 20 6d 61 79 20 |\-q and |\-t may |
|00005090| 62 65 20 67 69 76 65 6e | 2e 0a 58 2e 49 50 20 5c |be given|..X.IP \|
|000050a0| 2d 76 0a 58 50 72 69 6e | 74 20 65 72 72 6f 72 20 |-v.XPrin|t error |
|000050b0| 6d 65 73 73 61 67 65 73 | 20 74 68 61 74 20 61 72 |messages| that ar|
|000050c0| 65 20 65 76 65 6e 20 6d | 6f 72 65 20 76 65 72 62 |e even m|ore verb|
|000050d0| 6f 73 65 20 74 68 61 6e | 20 75 73 75 61 6c 2e 0a |ose than| usual..|
|000050e0| 58 2e 49 50 20 5c 2d 77 | 0a 58 54 68 65 20 6f 75 |X.IP \-w|.XThe ou|
|000050f0| 74 70 75 74 20 6f 66 20 | 74 68 65 20 43 20 70 72 |tput of |the C pr|
|00005100| 65 70 72 6f 63 65 73 73 | 6f 72 20 66 72 65 71 75 |eprocess|or frequ|
|00005110| 65 6e 74 6c 79 20 63 6f | 6e 74 61 69 6e 73 0a 58 |ently co|ntains.X|
|00005120| 6e 6f 6e 2d 73 69 67 6e | 69 66 69 63 61 6e 74 20 |non-sign|ificant |
|00005130| 73 70 61 63 65 73 20 61 | 6e 64 20 74 61 62 73 20 |spaces a|nd tabs |
|00005140| 72 65 73 75 6c 74 69 6e | 67 20 66 72 6f 6d 20 6d |resultin|g from m|
|00005150| 61 63 72 6f 20 65 78 70 | 61 6e 73 69 6f 6e 2e 0a |acro exp|ansion..|
|00005160| 58 5c 2a 43 20 6e 6f 72 | 6d 61 6c 6c 79 20 73 71 |X\*C nor|mally sq|
|00005170| 75 65 65 7a 65 73 20 74 | 68 65 73 65 20 6f 75 74 |ueezes t|hese out|
|00005180| 20 66 72 6f 6d 20 61 63 | 74 69 6f 6e 73 20 62 65 | from ac|tions be|
|00005190| 66 6f 72 65 20 70 72 69 | 6e 74 69 6e 67 20 74 68 |fore pri|nting th|
|000051a0| 65 6d 2e 0a 58 54 68 65 | 20 5c 2d 77 20 28 66 6f |em..XThe| \-w (fo|
|000051b0| 72 20 77 69 64 65 29 20 | 6f 70 74 69 6f 6e 73 20 |r wide) |options |
|000051c0| 70 72 65 76 65 6e 74 73 | 20 5c 2a 63 20 66 72 6f |prevents| \*c fro|
|000051d0| 6d 20 64 6f 69 6e 67 20 | 74 68 69 73 2e 0a 58 2e |m doing |this..X.|
|000051e0| 49 50 20 5c 2d 78 0a 58 | 57 68 65 6e 20 73 70 65 |IP \-x.X|When spe|
|000051f0| 63 69 66 69 65 64 2c 20 | 5c 2d 78 20 70 72 65 76 |cified, |\-x prev|
|00005200| 65 6e 74 73 20 63 61 6b | 65 0a 58 66 72 6f 6d 20 |ents cak|e.Xfrom |
|00005210| 70 72 69 6e 74 69 6e 67 | 20 69 74 73 20 6f 77 6e |printing| its own|
|00005220| 20 65 72 72 6f 72 20 6d | 65 73 73 61 67 65 20 77 | error m|essage w|
|00005230| 68 65 6e 20 61 6e 20 61 | 63 74 69 6f 6e 20 66 61 |hen an a|ction fa|
|00005240| 69 6c 73 2e 0a 58 2e 49 | 50 20 5c 2d 7a 0a 58 44 |ils..X.I|P \-z.XD|
|00005250| 6f 20 6e 6f 74 20 65 78 | 70 65 63 74 20 62 72 61 |o not ex|pect bra|
|00005260| 63 6b 65 74 65 64 20 63 | 6f 6d 6d 61 6e 64 73 20 |cketed c|ommands |
|00005270| 74 6f 20 72 65 74 75 72 | 6e 20 7a 65 72 6f 20 65 |to retur|n zero e|
|00005280| 78 69 74 20 73 74 61 74 | 75 73 2e 0a 58 55 6e 66 |xit stat|us..XUnf|
|00005290| 6f 72 74 75 6e 61 74 65 | 6c 79 20 61 20 66 61 69 |ortunate|ly a fai|
|000052a0| 72 20 6e 75 6d 62 65 72 | 20 6f 66 20 70 72 6f 67 |r number| of prog|
|000052b0| 72 61 6d 73 0a 58 64 6f | 20 6e 6f 74 20 62 6f 74 |rams.Xdo| not bot|
|000052c0| 68 65 72 20 74 6f 20 72 | 65 74 75 72 6e 20 74 68 |her to r|eturn th|
|000052d0| 65 20 63 6f 72 72 65 63 | 74 20 65 78 69 74 20 73 |e correc|t exit s|
|000052e0| 74 61 74 75 73 3b 0a 58 | 69 66 20 79 6f 75 20 61 |tatus;.X|if you a|
|000052f0| 72 65 20 75 73 69 6e 67 | 20 6f 6e 65 20 6f 66 20 |re using| one of |
|00005300| 74 68 65 73 65 20 74 68 | 65 6e 20 73 70 65 63 69 |these th|en speci|
|00005310| 66 79 20 5c 2d 7a 2e 0a | 58 2e 49 50 20 22 5c 2d |fy \-z..|X.IP "\-|
|00005320| 44 64 65 66 6e 2c 20 5c | 2d 55 64 65 66 6e 2c 20 |Ddefn, \|-Udefn, |
|00005330| 5c 2d 49 64 69 72 22 0a | 58 54 68 65 73 65 20 61 |\-Idir".|XThese a|
|00005340| 72 67 75 6d 65 6e 74 73 | 20 61 72 65 20 67 69 76 |rguments| are giv|
|00005350| 65 6e 20 74 6f 20 74 68 | 65 20 70 72 65 70 72 6f |en to th|e prepro|
|00005360| 63 65 73 73 6f 72 2e 0a | 58 41 6e 79 20 64 69 72 |cessor..|XAny dir|
|00005370| 65 63 74 6f 72 69 65 73 | 20 6e 61 6d 65 64 20 68 |ectories| named h|
|00005380| 65 72 65 20 77 69 6c 6c | 20 62 65 20 73 65 61 72 |ere will| be sear|
|00005390| 63 68 65 64 20 62 65 66 | 6f 72 65 20 74 68 65 20 |ched bef|ore the |
|000053a0| 73 74 61 6e 64 61 72 64 | 20 6f 6e 65 73 2e 0a 58 |standard| ones..X|
|000053b0| 2e 49 50 20 5c 2d 47 0a | 58 45 6e 61 62 6c 65 20 |.IP \-G.|XEnable |
|000053c0| 6d 65 6d 62 65 72 73 20 | 6f 66 20 61 20 67 72 6f |members |of a gro|
|000053d0| 75 70 20 77 68 69 63 68 | 20 68 61 73 20 77 72 69 |up which| has wri|
|000053e0| 74 65 20 70 65 72 6d 69 | 73 73 69 6f 6e 20 6f 6e |te permi|ssion on|
|000053f0| 20 61 20 64 69 72 65 63 | 74 6f 72 79 0a 58 74 6f | a direc|tory.Xto|
|00005400| 20 75 73 65 20 5c 2a 63 | 20 74 6f 20 75 70 64 61 | use \*c| to upda|
|00005410| 74 65 20 66 69 6c 65 73 | 20 69 6e 20 74 68 61 74 |te files| in that|
|00005420| 20 64 69 72 65 63 74 6f | 72 79 2c 0a 58 65 76 65 | directo|ry,.Xeve|
|00005430| 6e 20 69 66 20 74 68 65 | 79 20 64 6f 6e 27 74 20 |n if the|y don't |
|00005440| 68 61 76 65 20 77 72 69 | 74 65 20 70 65 72 6d 69 |have wri|te permi|
|00005450| 73 73 69 6f 6e 20 6f 6e | 20 74 68 65 20 66 69 6c |ssion on| the fil|
|00005460| 65 73 20 74 68 65 6d 73 | 65 6c 76 65 73 2e 0a 58 |es thems|elves..X|
|00005470| 5c 2a 43 20 64 6f 65 73 | 20 74 68 69 73 20 62 79 |\*C does| this by|
|00005480| 20 72 65 6d 6f 76 69 6e | 67 20 61 6c 6c 20 74 61 | removin|g all ta|
|00005490| 72 67 65 74 73 20 6f 66 | 20 61 20 72 75 6c 65 0a |rgets of| a rule.|
|000054a0| 58 62 65 66 6f 72 65 20 | 69 6e 76 6f 6b 69 6e 67 |Xbefore |invoking|
|000054b0| 20 69 74 73 20 61 63 74 | 69 6f 6e 73 2c 20 5c 66 | its act|ions, \f|
|000054c0| 49 65 76 65 6e 20 69 66 | 20 74 68 65 79 20 61 72 |Ieven if| they ar|
|000054d0| 65 20 73 61 69 64 20 74 | 6f 20 62 65 20 70 72 65 |e said t|o be pre|
|000054e0| 63 69 6f 75 73 5c 66 50 | 2e 0a 58 54 68 65 20 6f |cious\fP|..XThe o|
|000054f0| 6e 65 20 74 68 69 6e 67 | 20 77 68 69 63 68 20 5c |ne thing| which \|
|00005500| 66 49 64 6f 65 73 5c 66 | 50 20 73 74 6f 70 20 5c |fIdoes\f|P stop \|
|00005510| 2d 47 20 69 73 20 5c 2d | 6e 2e 0a 58 49 6e 20 72 |-G is \-|n..XIn r|
|00005520| 61 72 65 20 63 61 73 65 | 73 20 74 68 69 73 20 6d |are case|s this m|
|00005530| 61 79 20 63 61 75 73 65 | 20 70 72 6f 62 6c 65 6d |ay cause| problem|
|00005540| 73 20 77 69 74 68 20 61 | 63 74 69 6f 6e 73 20 70 |s with a|ctions p|
|00005550| 72 65 66 69 78 65 64 20 | 62 79 20 27 2b 27 3b 0a |refixed |by '+';.|
|00005560| 58 74 68 65 20 73 6f 6c | 75 74 69 6f 6e 20 69 73 |Xthe sol|ution is|
|00005570| 20 74 6f 20 72 65 6d 6f | 76 65 20 74 68 65 20 6f | to remo|ve the o|
|00005580| 66 66 65 6e 64 69 6e 67 | 20 66 69 6c 65 73 20 62 |ffending| files b|
|00005590| 79 20 68 61 6e 64 2e 0a | 58 2e 49 50 20 5c 2d 4c |y hand..|X.IP \-L|
|000055a0| 0a 58 43 68 65 63 6b 20 | 72 75 6c 65 73 20 66 6f |.XCheck |rules fo|
|000055b0| 72 20 73 69 6d 70 6c 65 | 20 6c 6f 6f 70 73 2e 0a |r simple| loops..|
|000055c0| 58 49 66 20 61 20 74 61 | 72 67 65 74 20 64 65 70 |XIf a ta|rget dep|
|000055d0| 65 6e 64 73 20 64 69 72 | 65 63 74 6c 79 20 75 70 |ends dir|ectly up|
|000055e0| 6f 6e 20 69 74 73 65 6c | 66 2c 20 61 6e 64 20 74 |on itsel|f, and t|
|000055f0| 68 69 73 20 6f 70 74 69 | 6f 6e 20 69 73 20 73 65 |his opti|on is se|
|00005600| 74 2c 0a 58 5c 2a 63 20 | 77 69 6c 6c 20 69 67 6e |t,.X\*c |will ign|
|00005610| 6f 72 65 20 74 68 65 20 | 72 75 6c 65 20 69 6e 20 |ore the |rule in |
|00005620| 71 75 65 73 74 69 6f 6e | 20 66 6f 72 20 74 68 61 |question| for tha|
|00005630| 74 20 74 61 72 67 65 74 | 2e 0a 58 54 68 69 73 20 |t target|..XThis |
|00005640| 69 73 20 75 73 65 66 75 | 6c 20 66 6f 72 20 72 75 |is usefu|l for ru|
|00005650| 6c 65 73 20 6f 66 20 74 | 68 65 20 66 6f 72 6d 20 |les of t|he form |
|00005660| 25 3a 20 44 49 52 5f 50 | 52 45 46 49 58 2f 2a 2a |%: DIR_P|REFIX/**|
|00005670| 2f 25 2c 0a 58 77 68 65 | 72 65 20 44 49 52 5f 50 |/%,.Xwhe|re DIR_P|
|00005680| 52 45 46 49 58 20 74 75 | 72 6e 73 20 6f 75 74 20 |REFIX tu|rns out |
|00005690| 74 6f 20 62 65 20 65 6d | 70 74 79 2e 0a 58 2e 49 |to be em|pty..X.I|
|000056a0| 50 20 5c 2d 4e 20 6e 75 | 6d 0a 58 5c 2a 43 20 61 |P \-N nu|m.X\*C a|
|000056b0| 6c 6c 6f 77 73 20 5c 66 | 49 6e 75 6d 5c 66 50 20 |llows \f|Inum\fP |
|000056c0| 6f 75 74 73 74 61 6e 64 | 69 6e 67 20 28 6e 6f 6e |outstand|ing (non|
|000056d0| 2d 77 61 69 74 65 64 20 | 66 6f 72 29 0a 58 70 72 |-waited |for).Xpr|
|000056e0| 6f 63 65 73 73 65 73 20 | 61 74 20 61 6e 79 20 6f |ocesses |at any o|
|000056f0| 6e 65 20 74 69 6d 65 2e | 0a 58 49 66 20 5c 66 49 |ne time.|.XIf \fI|
|00005700| 6e 75 6d 5c 66 50 20 69 | 73 20 7a 65 72 6f 2c 0a |num\fP i|s zero,.|
|00005710| 58 61 6c 6c 20 63 6f 6d | 6d 61 6e 64 73 20 61 72 |Xall com|mands ar|
|00005720| 65 20 65 78 65 63 75 74 | 65 64 20 73 79 6e 63 68 |e execut|ed synch|
|00005730| 72 6f 6e 6f 75 73 6c 79 | 2e 0a 58 49 66 20 69 74 |ronously|..XIf it|
|00005740| 20 69 73 20 6f 6e 65 20 | 6f 72 20 6d 6f 72 65 2c | is one |or more,|
|00005750| 0a 58 70 72 6f 63 65 73 | 73 65 73 20 28 75 70 20 |.Xproces|ses (up |
|00005760| 74 6f 20 74 68 65 20 6c | 69 6d 69 74 29 20 61 72 |to the l|imit) ar|
|00005770| 65 20 73 70 61 77 6e 65 | 64 20 69 6e 20 62 61 63 |e spawne|d in bac|
|00005780| 6b 67 72 6f 75 6e 64 0a | 58 61 6e 64 20 61 72 65 |kground.|Xand are|
|00005790| 20 77 61 69 74 65 64 20 | 66 6f 72 20 6f 6e 6c 79 | waited |for only|
|000057a0| 20 61 74 20 74 68 65 20 | 70 6f 69 6e 74 20 77 68 | at the |point wh|
|000057b0| 65 72 65 20 74 68 65 69 | 72 20 72 65 73 75 6c 74 |ere thei|r result|
|000057c0| 73 20 61 72 65 20 75 73 | 65 64 2e 0a 58 54 68 65 |s are us|ed..XThe|
|000057d0| 20 64 65 66 61 75 6c 74 | 20 76 61 6c 75 65 20 6f | default| value o|
|000057e0| 66 20 4e 20 64 65 70 65 | 6e 64 73 20 6f 6e 20 74 |f N depe|nds on t|
|000057f0| 68 65 20 73 79 73 74 65 | 6d 3a 0a 58 6c 61 72 67 |he syste|m:.Xlarg|
|00005800| 65 72 20 6d 61 63 68 69 | 6e 65 73 20 73 68 6f 75 |er machi|nes shou|
|00005810| 6c 64 20 75 73 75 61 6c | 6c 79 20 73 65 74 20 69 |ld usual|ly set i|
|00005820| 74 20 68 69 67 68 65 72 | 20 74 68 61 6e 20 73 6d |t higher| than sm|
|00005830| 61 6c 6c 65 72 20 6f 6e | 65 73 2e 0a 58 28 54 68 |aller on|es..X(Th|
|00005840| 69 73 20 6f 70 74 69 6f | 6e 20 69 73 20 6e 6f 74 |is optio|n is not|
|00005850| 20 79 65 74 20 69 6d 70 | 6c 65 6d 65 6e 74 65 64 | yet imp|lemented|
|00005860| 2e 29 0a 58 2e 49 50 20 | 5c 2d 52 0a 58 44 6f 20 |.).X.IP |\-R.XDo |
|00005870| 6e 6f 74 20 72 65 6d 6f | 76 65 20 74 68 65 20 74 |not remo|ve the t|
|00005880| 61 72 67 65 74 73 20 6f | 66 20 61 6e 79 20 61 63 |argets o|f any ac|
|00005890| 74 69 6f 6e 73 0a 58 77 | 68 69 63 68 20 72 65 74 |tions.Xw|hich ret|
|000058a0| 75 72 6e 20 6e 6f 6e 7a | 65 72 6f 20 73 74 61 74 |urn nonz|ero stat|
|000058b0| 75 73 20 28 62 75 74 20 | 73 65 65 20 5c 2d 69 20 |us (but |see \-i |
|000058c0| 61 62 6f 76 65 29 2e 0a | 58 54 68 65 20 64 65 66 |above)..|XThe def|
|000058d0| 61 75 6c 74 20 69 73 20 | 74 6f 20 72 65 6d 6f 76 |ault is |to remov|
|000058e0| 65 20 74 68 65 6d 20 74 | 6f 20 6b 65 65 70 20 63 |e them t|o keep c|
|000058f0| 6f 6e 73 69 73 74 65 6e | 63 79 2e 0a 58 2e 49 50 |onsisten|cy..X.IP|
|00005900| 20 22 5c 2d 53 31 20 73 | 68 65 6c 6c 22 0a 58 55 | "\-S1 s|hell".XU|
|00005910| 73 65 20 74 68 65 20 67 | 69 76 65 6e 20 73 68 65 |se the g|iven she|
|00005920| 6c 6c 20 74 6f 20 65 78 | 65 63 75 74 65 20 63 6f |ll to ex|ecute co|
|00005930| 6d 6d 61 6e 64 73 20 61 | 6e 64 20 61 63 74 69 6f |mmands a|nd actio|
|00005940| 6e 73 2e 0a 58 4e 6f 74 | 65 20 74 68 61 74 20 74 |ns..XNot|e that t|
|00005950| 68 65 20 61 72 67 75 6d | 65 6e 74 20 6f 66 20 5c |he argum|ent of \|
|00005960| 2d 53 31 20 6e 65 65 64 | 73 20 74 6f 20 62 65 20 |-S1 need|s to be |
|00005970| 6f 66 20 74 68 65 20 66 | 6f 72 6d 0a 58 5c 2a 28 |of the f|orm.X\*(|
|00005980| 6c 71 63 6f 6d 6d 61 6e | 64 5c 2a 28 72 71 20 6f |lqcomman|d\*(rq o|
|00005990| 72 20 5c 2a 28 6c 71 63 | 6f 6d 6d 61 6e 64 20 5c |r \*(lqc|ommand \|
|000059a0| 2d 6f 70 74 69 6f 6e 5c | 2a 28 72 71 2e 0a 58 43 |-option\|*(rq..XC|
|000059b0| 6f 6d 6d 61 6e 64 73 20 | 61 6e 64 20 73 69 6d 70 |ommands |and simp|
|000059c0| 6c 65 20 61 63 74 69 6f | 6e 73 20 74 6f 20 62 65 |le actio|ns to be|
|000059d0| 20 65 78 65 63 75 74 65 | 64 0a 58 61 72 65 20 67 | execute|d.Xare g|
|000059e0| 69 76 65 6e 20 74 6f 20 | 74 68 65 20 73 68 65 6c |iven to |the shel|
|000059f0| 6c 20 61 73 20 6f 6e 65 | 20 61 72 67 75 6d 65 6e |l as one| argumen|
|00005a00| 74 20 61 66 74 65 72 20 | 74 68 65 20 6f 70 74 69 |t after |the opti|
|00005a10| 6f 6e 20 69 66 20 61 6e | 79 2e 0a 58 54 68 65 20 |on if an|y..XThe |
|00005a20| 43 20 61 6e 64 20 42 6f | 75 72 6e 65 20 73 68 65 |C and Bo|urne she|
|00005a30| 6c 6c 73 20 6e 65 65 64 | 20 2d 63 20 66 6f 72 20 |lls need| -c for |
|00005a40| 6f 70 74 69 6f 6e 2e 0a | 58 54 68 65 20 64 65 66 |option..|XThe def|
|00005a50| 61 75 6c 74 20 69 73 20 | 5c 2a 28 6c 71 2f 62 69 |ault is |\*(lq/bi|
|00005a60| 6e 2f 63 73 68 20 2d 66 | 63 5c 2a 28 72 71 3b 0a |n/csh -f|c\*(rq;.|
|00005a70| 58 74 6f 20 75 73 65 20 | 74 68 65 20 42 6f 75 72 |Xto use |the Bour|
|00005a80| 6e 65 20 73 68 65 6c 6c | 20 73 70 65 63 69 66 79 |ne shell| specify|
|00005a90| 20 2d 53 31 20 5c 2a 28 | 6c 71 2f 62 69 6e 2f 73 | -S1 \*(|lq/bin/s|
|00005aa0| 68 20 2d 63 5c 2a 28 72 | 71 2e 0a 58 2e 49 50 20 |h -c\*(r|q..X.IP |
|00005ab0| 22 5c 2d 53 32 20 73 68 | 65 6c 6c 22 0a 58 55 73 |"\-S2 sh|ell".XUs|
|00005ac0| 65 20 74 68 65 20 67 69 | 76 65 6e 20 73 68 65 6c |e the gi|ven shel|
|00005ad0| 6c 20 74 6f 20 65 78 65 | 63 75 74 65 20 73 68 65 |l to exe|cute she|
|00005ae0| 6c 6c 20 73 63 72 69 70 | 74 73 2e 0a 58 53 68 65 |ll scrip|ts..XShe|
|00005af0| 6c 6c 20 6e 65 65 64 73 | 20 74 6f 20 62 65 20 6f |ll needs| to be o|
|00005b00| 66 20 74 68 65 20 73 61 | 6d 65 20 66 6f 72 6d 20 |f the sa|me form |
|00005b10| 61 73 20 74 68 65 20 61 | 72 67 75 6d 65 6e 74 20 |as the a|rgument |
|00005b20| 6f 66 20 5c 2d 53 31 2e | 0a 58 53 63 72 69 70 74 |of \-S1.|.XScript|
|00005b30| 73 20 61 72 65 20 77 72 | 69 74 74 65 6e 20 74 6f |s are wr|itten to|
|00005b40| 20 61 20 66 69 6c 65 20 | 61 6e 64 0a 58 74 68 65 | a file |and.Xthe|
|00005b50| 20 66 69 6c 65 6e 61 6d | 65 20 69 73 20 70 61 73 | filenam|e is pas|
|00005b60| 73 65 64 20 74 6f 20 74 | 68 65 20 73 68 65 6c 6c |sed to t|he shell|
|00005b70| 20 61 66 74 65 72 20 74 | 68 65 20 6f 70 74 69 6f | after t|he optio|
|00005b80| 6e 20 69 66 20 61 6e 79 | 2e 0a 58 4f 6e 65 20 63 |n if any|..XOne c|
|00005b90| 61 6e 20 75 73 65 20 64 | 69 66 66 65 72 65 6e 74 |an use d|ifferent|
|00005ba0| 20 73 68 65 6c 6c 73 20 | 66 6f 72 20 61 63 74 69 | shells |for acti|
|00005bb0| 6f 6e 73 20 61 6e 64 20 | 73 63 72 69 70 74 73 2e |ons and |scripts.|
|00005bc0| 0a 58 54 68 65 20 6d 6e | 65 6d 6f 6e 69 63 20 6f |.XThe mn|emonic o|
|00005bd0| 66 20 76 61 6c 75 65 20 | 6f 66 20 5c 2d 53 31 20 |f value |of \-S1 |
|00005be0| 61 6e 64 20 5c 2d 53 32 | 20 69 73 20 74 68 61 74 |and \-S2| is that|
|00005bf0| 0a 58 74 68 65 20 66 69 | 72 73 74 20 6f 6e 6c 79 |.Xthe fi|rst only|
|00005c00| 20 61 70 70 6c 69 65 73 | 20 74 6f 20 73 69 6e 67 | applies| to sing|
|00005c10| 6c 65 2d 6c 69 6e 65 20 | 61 63 74 69 6f 6e 73 2c |le-line |actions,|
|00005c20| 0a 58 77 68 69 6c 65 20 | 73 63 72 69 70 74 73 20 |.Xwhile |scripts |
|00005c30| 61 72 65 20 61 6c 77 61 | 79 73 20 61 74 20 6c 65 |are alwa|ys at le|
|00005c40| 61 73 74 20 74 77 6f 20 | 6c 69 6e 65 73 20 6c 6f |ast two |lines lo|
|00005c50| 6e 67 2e 0a 58 54 68 65 | 20 64 65 66 61 75 6c 74 |ng..XThe| default|
|00005c60| 20 69 73 20 5c 2a 28 6c | 71 2f 62 69 6e 2f 63 73 | is \*(l|q/bin/cs|
|00005c70| 68 20 2d 66 5c 2a 28 72 | 71 3b 0a 58 74 6f 20 75 |h -f\*(r|q;.Xto u|
|00005c80| 73 65 20 74 68 65 20 42 | 6f 75 72 6e 65 20 73 68 |se the B|ourne sh|
|00005c90| 65 6c 6c 20 73 70 65 63 | 69 66 79 20 2d 53 32 20 |ell spec|ify -S2 |
|00005ca0| 5c 2a 28 6c 71 2f 62 69 | 6e 2f 73 68 5c 2a 28 72 |\*(lq/bi|n/sh\*(r|
|00005cb0| 71 2e 0a 58 2e 49 50 20 | 22 5c 2d 54 20 73 74 72 |q..X.IP |"\-T str|
|00005cc0| 69 6e 67 22 0a 58 54 68 | 65 20 63 68 61 72 61 63 |ing".XTh|e charac|
|00005cd0| 74 65 72 73 20 6f 63 63 | 75 72 72 69 6e 67 20 69 |ters occ|urring i|
|00005ce0| 6e 20 74 68 65 20 73 74 | 72 69 6e 67 0a 58 61 72 |n the st|ring.Xar|
|00005cf0| 65 20 63 6f 6e 73 69 64 | 65 72 65 64 20 6d 65 74 |e consid|ered met|
|00005d00| 61 63 68 61 72 61 63 74 | 65 72 73 20 6f 66 20 74 |acharact|ers of t|
|00005d10| 68 65 20 73 69 6e 67 6c | 65 20 61 63 74 69 6f 6e |he singl|e action|
|00005d20| 20 28 5c 2d 53 31 29 20 | 73 68 65 6c 6c 2e 0a 58 | (\-S1) |shell..X|
|00005d30| 49 66 20 61 6e 20 61 63 | 74 69 6f 6e 20 63 6f 6e |If an ac|tion con|
|00005d40| 74 61 69 6e 73 20 61 6e | 79 20 6f 66 20 74 68 65 |tains an|y of the|
|00005d50| 73 65 20 69 74 20 77 69 | 6c 6c 20 62 65 20 67 69 |se it wi|ll be gi|
|00005d60| 76 65 6e 20 74 6f 20 74 | 68 65 20 73 68 65 6c 6c |ven to t|he shell|
|00005d70| 3b 0a 58 6f 74 68 65 72 | 77 69 73 65 20 69 74 20 |;.Xother|wise it |
|00005d80| 77 69 6c 6c 20 62 65 20 | 70 61 72 73 65 64 20 61 |will be |parsed a|
|00005d90| 6e 64 20 65 78 65 63 75 | 74 65 64 20 62 79 20 63 |nd execu|ted by c|
|00005da0| 61 6b 65 20 64 69 72 65 | 63 74 6c 79 2e 0a 58 54 |ake dire|ctly..XT|
|00005db0| 68 65 20 64 65 66 61 75 | 6c 74 20 73 74 72 69 6e |he defau|lt strin|
|00005dc0| 67 20 28 66 6f 72 20 63 | 73 68 29 20 69 73 20 2a |g (for c|sh) is *|
|00005dd0| 3f 21 26 7c 3b 3c 3e 28 | 29 5b 5d 7b 7d 27 60 22 |?!&|;<>(|)[]{}'`"|
|00005de0| 25 24 7e 23 2e 0a 58 2e | 49 50 20 5c 2d 58 0a 58 |%$~#..X.|IP \-X.X|
|00005df0| 4e 6f 72 6d 61 6c 6c 79 | 20 5c 2a 63 20 77 69 6c |Normally| \*c wil|
|00005e00| 6c 20 5c 2a 28 6c 71 72 | 65 6d 6f 76 65 5c 2a 72 |l \*(lqr|emove\*r|
|00005e10| 71 20 75 73 65 72 20 66 | 69 6c 65 73 20 62 79 20 |q user f|iles by |
|00005e20| 6d 6f 76 69 6e 67 20 74 | 68 65 6d 20 74 6f 20 2f |moving t|hem to /|
|00005e30| 74 6d 70 2e 0a 58 49 66 | 20 74 68 65 20 5c 2d 58 |tmp..XIf| the \-X|
|00005e40| 20 6f 70 74 69 6f 6e 20 | 69 73 20 73 65 74 2c 20 | option |is set, |
|00005e50| 69 74 20 77 69 6c 6c 20 | 72 65 6d 6f 76 65 20 74 |it will |remove t|
|00005e60| 68 65 6d 20 70 65 72 6d | 61 6d 65 6e 74 6c 79 2e |hem perm|amently.|
|00005e70| 0a 58 2e 49 50 20 5c 2d | 5a 0a 58 44 6f 20 6e 6f |.X.IP \-|Z.XDo no|
|00005e80| 74 68 69 6e 67 20 65 78 | 63 65 70 74 20 70 72 69 |thing ex|cept pri|
|00005e90| 6e 74 20 74 68 65 20 6f | 75 74 70 75 74 20 6f 66 |nt the o|utput of|
|00005ea0| 20 74 68 65 20 43 20 70 | 72 65 70 72 6f 63 65 73 | the C p|reproces|
|00005eb0| 73 6f 72 2e 0a 58 54 68 | 69 73 20 6f 70 74 69 6f |sor..XTh|is optio|
|00005ec0| 6e 20 6f 76 65 72 72 69 | 64 65 73 20 61 6c 6c 20 |n overri|des all |
|00005ed0| 6f 74 68 65 72 73 2e 0a | 58 2e 53 48 20 46 49 4c |others..|X.SH FIL|
|00005ee0| 45 53 0a 58 2e 73 70 0a | 58 63 61 6b 65 66 69 6c |ES.X.sp.|Xcakefil|
|00005ef0| 65 2c 20 43 61 6b 65 66 | 69 6c 65 2c 20 72 65 63 |e, Cakef|ile, rec|
|00005f00| 69 70 65 2c 20 52 65 63 | 69 70 65 0a 58 2e 62 72 |ipe, Rec|ipe.X.br|
|00005f10| 0a 58 2f 75 73 72 2f 6c | 69 62 2f 63 61 6b 65 0a |.X/usr/l|ib/cake.|
|00005f20| 58 2e 62 72 0a 58 7e 2f | 6c 69 62 2f 63 61 6b 65 |X.br.X~/|lib/cake|
|00005f30| 0a 58 2e 62 72 0a 58 2f | 74 6d 70 2f 43 61 6b 65 |.X.br.X/|tmp/Cake|
|00005f40| 2a 0a 58 2e 53 48 20 44 | 49 41 47 4e 4f 53 54 49 |*.X.SH D|IAGNOSTI|
|00005f50| 43 53 0a 58 2e 73 70 0a | 58 5c 2a 43 27 73 20 64 |CS.X.sp.|X\*C's d|
|00005f60| 69 61 67 6e 6f 73 74 69 | 63 73 20 66 61 6c 6c 20 |iagnosti|cs fall |
|00005f70| 69 6e 74 6f 20 74 68 72 | 65 65 20 63 6c 61 73 73 |into thr|ee class|
|00005f80| 65 73 2e 0a 58 54 68 65 | 20 6d 6f 73 74 20 69 6d |es..XThe| most im|
|00005f90| 70 6f 72 74 61 6e 74 20 | 63 6c 61 73 73 20 69 73 |portant |class is|
|00005fa0| 20 74 68 65 20 6d 65 73 | 73 61 67 65 73 20 67 69 | the mes|sages gi|
|00005fb0| 76 65 6e 0a 58 77 68 65 | 6e 20 5c 2a 63 20 66 69 |ven.Xwhe|n \*c fi|
|00005fc0| 6e 64 73 20 61 6e 20 65 | 72 72 6f 72 20 69 6e 20 |nds an e|rror in |
|00005fd0| 74 68 65 20 5c 2a 28 63 | 66 20 6f 72 20 64 75 72 |the \*(c|f or dur|
|00005fe0| 69 6e 67 20 74 68 65 20 | 65 78 65 63 75 74 69 6f |ing the |executio|
|00005ff0| 6e 0a 58 6f 66 20 61 6e | 20 61 63 74 69 6f 6e 3b |n.Xof an| action;|
|00006000| 20 74 68 65 73 65 20 61 | 72 65 20 67 65 6e 65 72 | these a|re gener|
|00006010| 61 6c 6c 79 20 73 69 6d | 69 6c 61 72 20 74 6f 20 |ally sim|ilar to |
|00006020| 6d 61 6b 65 27 73 2c 0a | 58 74 68 6f 75 67 68 20 |make's,.|Xthough |
|00006030| 5c 2a 63 20 70 72 65 66 | 69 78 65 73 20 69 74 73 |\*c pref|ixes its|
|00006040| 20 6d 65 73 73 61 67 65 | 73 20 62 79 20 69 74 73 | message|s by its|
|00006050| 20 6e 61 6d 65 2e 0a 58 | 54 68 65 20 73 65 63 6f | name..X|The seco|
|00006060| 6e 64 20 63 6c 61 73 73 | 2c 20 77 68 6f 73 65 20 |nd class|, whose |
|00006070| 6d 65 73 73 61 67 65 73 | 20 62 65 67 69 6e 20 77 |messages| begin w|
|00006080| 69 74 68 20 22 63 61 6b | 65 20 73 79 73 74 65 6d |ith "cak|e system|
|00006090| 20 65 72 72 6f 72 22 2c | 0a 58 72 65 70 6f 72 74 | error",|.Xreport|
|000060a0| 20 70 72 6f 62 6c 65 6d | 73 20 77 69 74 68 20 5c | problem|s with \|
|000060b0| 2a 63 27 73 20 73 79 73 | 74 65 6d 20 63 61 6c 6c |*c's sys|tem call|
|000060c0| 73 3b 20 74 68 65 73 65 | 20 73 68 6f 75 6c 64 20 |s; these| should |
|000060d0| 62 65 20 70 72 65 74 74 | 79 20 72 61 72 65 2e 0a |be prett|y rare..|
|000060e0| 58 54 68 65 20 74 68 69 | 72 64 20 63 6c 61 73 73 |XThe thi|rd class|
|000060f0| 2c 20 77 68 6f 73 65 20 | 6d 65 73 73 61 67 65 73 |, whose |messages|
|00006100| 20 62 65 67 69 6e 20 77 | 69 74 68 20 22 63 61 6b | begin w|ith "cak|
|00006110| 65 20 69 6e 74 65 72 6e | 61 6c 20 65 72 72 6f 72 |e intern|al error|
|00006120| 22 2c 0a 58 72 65 70 6f | 72 74 20 6f 76 65 72 66 |",.Xrepo|rt overf|
|00006130| 6c 6f 77 73 20 6f 66 20 | 76 61 72 69 6f 75 73 20 |lows of |various |
|00006140| 61 72 72 61 79 73 2c 20 | 77 68 69 63 68 20 63 61 |arrays, |which ca|
|00006150| 6e 20 62 65 20 66 69 78 | 65 64 20 62 79 20 72 65 |n be fix|ed by re|
|00006160| 63 6f 6d 70 69 6c 61 74 | 69 6f 6e 2c 0a 58 61 6e |compilat|ion,.Xan|
|00006170| 64 20 66 61 69 6c 65 64 | 20 69 6e 74 65 72 6e 61 |d failed| interna|
|00006180| 6c 20 63 6f 6e 73 69 73 | 74 65 6e 63 79 20 63 68 |l consis|tency ch|
|00006190| 65 63 6b 73 2c 20 77 68 | 69 63 68 20 63 61 6e 6e |ecks, wh|ich cann|
|000061a0| 6f 74 2e 0a 58 2e 50 50 | 0a 58 5c 2a 43 20 69 74 |ot..X.PP|.X\*C it|
|000061b0| 73 65 6c 66 20 77 69 6c | 6c 20 72 65 74 75 72 6e |self wil|l return|
|000061c0| 20 6e 6f 6e 7a 65 72 6f | 20 73 74 61 74 75 73 20 | nonzero| status |
|000061d0| 28 61 63 74 75 61 6c 6c | 79 20 31 29 0a 58 69 66 |(actuall|y 1).Xif|
|000061e0| 20 61 6e 79 20 6f 66 20 | 74 68 65 20 6d 61 69 6e | any of |the main|
|000061f0| 20 74 61 72 67 65 74 73 | 20 77 65 72 65 20 6e 6f | targets| were no|
|00006200| 74 20 75 70 64 61 74 65 | 64 20 70 72 6f 70 65 72 |t update|d proper|
|00006210| 6c 79 2e 0a 58 2e 50 50 | 0a 58 54 68 65 20 5c 2d |ly..X.PP|.XThe \-|
|00006220| 5a 20 6f 70 74 69 6f 6e | 20 63 61 6e 20 62 65 20 |Z option| can be |
|00006230| 75 73 65 66 75 6c 20 69 | 6e 20 74 72 61 63 6b 69 |useful i|n tracki|
|00006240| 6e 67 20 64 6f 77 6e 20 | 73 79 6e 74 61 78 20 65 |ng down |syntax e|
|00006250| 72 72 6f 72 73 0a 58 28 | 74 68 61 74 27 73 20 77 |rrors.X(|that's w|
|00006260| 68 61 74 20 69 74 20 69 | 73 20 74 68 65 72 65 20 |hat it i|s there |
|00006270| 66 6f 72 29 2e 0a 58 5c | 2a 43 20 61 6c 73 6f 20 |for)..X\|*C also |
|00006280| 68 61 73 20 66 69 76 65 | 20 5c 2a 28 6c 71 68 69 |has five| \*(lqhi|
|00006290| 64 64 65 6e 5c 2a 28 72 | 71 20 6f 70 74 69 6f 6e |dden\*(r|q option|
|000062a0| 73 2c 20 5c 2d 43 2c 20 | 5c 2d 45 2c 20 5c 2d 50 |s, \-C, |\-E, \-P|
|000062b0| 2c 20 5c 2d 57 20 61 6e | 64 20 5c 2d 59 2c 0a 58 |, \-W an|d \-Y,.X|
|000062c0| 77 68 69 63 68 20 70 72 | 69 6e 74 20 6f 75 74 20 |which pr|int out |
|000062d0| 64 69 66 66 65 72 65 6e | 74 20 6b 69 6e 64 73 20 |differen|t kinds |
|000062e0| 6f 66 20 64 65 62 75 67 | 67 69 6e 67 20 69 6e 66 |of debug|ging inf|
|000062f0| 6f 72 6d 61 74 69 6f 6e | 0a 58 64 75 72 69 6e 67 |ormation|.Xduring|
|00006300| 20 65 78 65 63 75 74 69 | 6f 6e 3b 0a 58 74 68 65 | executi|on;.Xthe|
|00006310| 73 65 20 61 72 65 20 6e | 6f 74 20 76 65 72 79 20 |se are n|ot very |
|00006320| 6c 69 6b 65 6c 79 20 74 | 6f 20 62 65 20 68 65 6c |likely t|o be hel|
|00006330| 70 66 75 6c 20 74 6f 20 | 61 6e 79 6f 6e 65 20 62 |pful to |anyone b|
|00006340| 75 74 20 74 68 65 20 61 | 75 74 68 6f 72 2c 0a 58 |ut the a|uthor,.X|
|00006350| 62 75 74 20 79 6f 75 20 | 6e 65 76 65 72 20 6b 6e |but you |never kn|
|00006360| 6f 77 2e 0a 58 2e 53 48 | 20 22 53 45 45 20 41 4c |ow..X.SH| "SEE AL|
|00006370| 53 4f 22 0a 58 2e 73 70 | 0a 58 6d 61 6b 65 28 31 |SO".X.sp|.Xmake(1|
|00006380| 29 2c 20 63 63 69 6e 63 | 6c 28 31 29 2c 20 6c 61 |), ccinc|l(1), la|
|00006390| 74 65 72 28 31 29 2c 20 | 6e 65 65 64 28 31 29 2c |ter(1), |need(1),|
|000063a0| 20 73 6f 69 6e 63 6c 28 | 31 29 2c 20 73 75 62 28 | soincl(|1), sub(|
|000063b0| 31 29 2c 20 79 79 72 65 | 70 6c 28 31 29 2e 0a 58 |1), yyre|pl(1)..X|
|000063c0| 2e 73 70 0a 58 53 2e 20 | 49 2e 20 46 65 6c 64 6d |.sp.XS. |I. Feldm|
|000063d0| 61 6e 3a 0a 58 2e 49 0a | 58 4d 61 6b 65 20 5c 2d |an:.X.I.|XMake \-|
|000063e0| 20 41 20 50 72 6f 67 72 | 61 6d 20 66 6f 72 20 4d | A Progr|am for M|
|000063f0| 61 69 6e 74 61 69 6e 69 | 6e 67 20 43 6f 6d 70 75 |aintaini|ng Compu|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.