home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1995-08-29 | 5.1 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
1%
| dexvert
| Combustion 2 Particle Library (other/combustion2ParticleLibrary)
| ext
| Unsupported |
100%
| file
| Emacs/XEmacs v19 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
| |
100%
| xdgMime
| text/x-emacs-lisp
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 33 3a 35 36 3a 33 | 34 20 31 39 39 35 0a 3b | 13:56:3|4 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 78 65 |;; from |file /xe|
|00000060| 6d 61 63 73 2f 78 65 6d | 61 63 73 2d 31 39 2e 31 |macs/xem|acs-19.1|
|00000070| 33 2d 72 65 6c 65 61 73 | 65 2f 65 64 69 74 6f 72 |3-releas|e/editor|
|00000080| 2f 6c 69 73 70 2f 64 69 | 72 65 64 2f 66 69 6e 64 |/lisp/di|red/find|
|00000090| 2d 64 69 72 65 64 2e 65 | 6c 0a 3b 3b 3b 20 65 6d |-dired.e|l.;;; em|
|000000a0| 61 63 73 20 76 65 72 73 | 69 6f 6e 20 31 39 2e 31 |acs vers|ion 19.1|
|000000b0| 33 20 58 45 6d 61 63 73 | 20 4c 75 63 69 64 2e 0a |3 XEmacs| Lucid..|
|000000c0| 3b 3b 3b 20 62 79 74 65 | 63 6f 6d 70 20 76 65 72 |;;; byte|comp ver|
|000000d0| 73 69 6f 6e 20 32 2e 32 | 35 3b 20 31 2d 53 65 70 |sion 2.2|5; 1-Sep|
|000000e0| 2d 39 34 2e 0a 3b 3b 3b | 20 6f 70 74 69 6d 69 7a |-94..;;;| optimiz|
|000000f0| 61 74 69 6f 6e 20 69 73 | 20 6f 6e 2e 0a 3b 3b 3b |ation is| on..;;;|
|00000100| 20 74 68 69 73 20 66 69 | 6c 65 20 75 73 65 73 20 | this fi|le uses |
|00000110| 6f 70 63 6f 64 65 73 20 | 77 68 69 63 68 20 64 6f |opcodes |which do|
|00000120| 20 6e 6f 74 20 65 78 69 | 73 74 20 69 6e 20 45 6d | not exi|st in Em|
|00000130| 61 63 73 20 31 38 2e 0a | 0a 28 69 66 20 28 61 6e |acs 18..|.(if (an|
|00000140| 64 20 28 62 6f 75 6e 64 | 70 20 27 65 6d 61 63 73 |d (bound|p 'emacs|
|00000150| 2d 76 65 72 73 69 6f 6e | 29 0a 09 20 28 6f 72 20 |-version|).. (or |
|00000160| 28 61 6e 64 20 28 62 6f | 75 6e 64 70 20 27 65 70 |(and (bo|undp 'ep|
|00000170| 6f 63 68 3a 3a 76 65 72 | 73 69 6f 6e 29 20 65 70 |och::ver|sion) ep|
|00000180| 6f 63 68 3a 3a 76 65 72 | 73 69 6f 6e 29 0a 09 20 |och::ver|sion).. |
|00000190| 20 20 20 20 28 73 74 72 | 69 6e 67 2d 6c 65 73 73 | (str|ing-less|
|000001a0| 70 20 65 6d 61 63 73 2d | 76 65 72 73 69 6f 6e 20 |p emacs-|version |
|000001b0| 22 31 39 22 29 29 29 0a | 20 20 20 20 28 65 72 72 |"19"))).| (err|
|000001c0| 6f 72 20 22 54 68 69 73 | 20 66 69 6c 65 20 77 61 |or "This| file wa|
|000001d0| 73 20 63 6f 6d 70 69 6c | 65 64 20 66 6f 72 20 45 |s compil|ed for E|
|000001e0| 6d 61 63 73 20 31 39 2e | 22 29 29 0a 0a 28 64 65 |macs 19.|"))..(de|
|000001f0| 66 63 6f 6e 73 74 20 66 | 69 6e 64 2d 64 69 72 65 |fconst f|ind-dire|
|00000200| 64 2d 76 65 72 73 69 6f | 6e 20 28 73 75 62 73 74 |d-versio|n (subst|
|00000210| 72 69 6e 67 20 22 21 52 | 65 76 69 73 69 6f 6e 3a |ring "!R|evision:|
|00000220| 20 31 2e 31 34 20 21 22 | 20 31 31 20 2d 32 29 20 | 1.14 !"| 11 -2) |
|00000230| 22 5c 0a 49 64 3a 20 66 | 69 6e 64 2d 64 69 72 65 |"\.Id: f|ind-dire|
|00000240| 64 2e 65 6c 2c 76 20 31 | 2e 31 34 20 31 39 39 32 |d.el,v 1|.14 1992|
|00000250| 2f 30 34 2f 31 36 20 31 | 34 3a 32 32 3a 30 37 20 |/04/16 1|4:22:07 |
|00000260| 73 6b 20 52 65 6c 42 65 | 74 61 20 22 29 0a 28 62 |sk RelBe|ta ").(b|
|00000270| 79 74 65 2d 63 6f 64 65 | 20 22 c0 c1 21 88 c2 c3 |yte-code| "..!...|
|00000280| 21 87 22 20 5b 72 65 71 | 75 69 72 65 20 64 69 72 |!." [req|uire dir|
|00000290| 65 64 20 70 72 6f 76 69 | 64 65 20 66 69 6e 64 2d |ed provi|de find-|
|000002a0| 64 69 72 65 64 5d 20 32 | 29 0a 28 64 65 66 76 61 |dired] 2|).(defva|
|000002b0| 72 20 66 69 6e 64 2d 6c | 73 2d 6f 70 74 69 6f 6e |r find-l|s-option|
|000002c0| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 09 c2 | (byte-c|ode "...|
|000002d0| 3d ab 83 c3 aa 81 c4 21 | 87 22 20 5b 70 75 72 65 |=......!|." [pure|
|000002e0| 63 6f 70 79 20 73 79 73 | 74 65 6d 2d 74 79 70 65 |copy sys|tem-type|
|000002f0| 20 62 65 72 6b 65 6c 65 | 79 2d 75 6e 69 78 20 22 | berkele|y-unix "|
|00000300| 2d 6c 73 22 20 22 2d 65 | 78 65 63 20 6c 73 20 2d |-ls" "-e|xec ls -|
|00000310| 6c 64 69 20 7b 7d 20 5c | 5c 3b 22 5d 20 33 29 20 |ldi {} \|\;"] 3) |
|00000320| 22 5c 0a 2a 4f 70 74 69 | 6f 6e 20 74 6f 20 60 66 |"\.*Opti|on to `f|
|00000330| 69 6e 64 27 20 74 6f 20 | 70 72 6f 64 75 63 65 20 |ind' to |produce |
|00000340| 61 6e 20 60 6c 73 20 2d | 6c 27 2d 74 79 70 65 20 |an `ls -|l'-type |
|00000350| 6c 69 73 74 69 6e 67 2e | 22 29 0a 28 64 65 66 76 |listing.|").(defv|
|00000360| 61 72 20 66 69 6e 64 2d | 67 72 65 70 2d 6f 70 74 |ar find-|grep-opt|
|00000370| 69 6f 6e 73 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |ions (by|te-code |
|00000380| 22 c0 09 c2 3d ab 83 c3 | aa 81 c4 21 87 22 20 5b |"...=...|...!." [|
|00000390| 70 75 72 65 63 6f 70 79 | 20 73 79 73 74 65 6d 2d |purecopy| system-|
|000003a0| 74 79 70 65 20 62 65 72 | 6b 65 6c 65 79 2d 75 6e |type ber|keley-un|
|000003b0| 69 78 20 22 2d 73 22 20 | 22 2d 6c 22 5d 20 33 29 |ix "-s" |"-l"] 3)|
|000003c0| 20 22 5c 0a 2a 4f 70 74 | 69 6f 6e 20 74 6f 20 67 | "\.*Opt|ion to g|
|000003d0| 72 65 70 20 74 6f 20 62 | 65 20 61 73 20 73 69 6c |rep to b|e as sil|
|000003e0| 65 6e 74 20 61 73 20 70 | 6f 73 73 69 62 6c 65 2e |ent as p|ossible.|
|000003f0| 0a 4f 6e 20 42 65 72 6b | 65 6c 65 79 20 73 79 73 |.On Berk|eley sys|
|00000400| 74 65 6d 73 2c 20 74 68 | 69 73 20 69 73 20 60 2d |tems, th|is is `-|
|00000410| 73 27 2c 20 66 6f 72 20 | 6f 74 68 65 72 73 20 69 |s', for |others i|
|00000420| 74 20 73 65 65 6d 73 20 | 69 6d 70 6f 73 73 69 62 |t seems |impossib|
|00000430| 6c 65 20 74 6f 0a 73 75 | 70 70 72 65 73 73 20 61 |le to.su|ppress a|
|00000440| 6c 6c 20 6f 75 74 70 75 | 74 2c 20 73 6f 20 60 2d |ll outpu|t, so `-|
|00000450| 6c 27 20 69 73 20 75 73 | 65 64 20 74 6f 20 70 72 |l' is us|ed to pr|
|00000460| 69 6e 74 20 6e 6f 74 68 | 69 6e 67 20 6d 6f 72 65 |int noth|ing more|
|00000470| 20 74 68 61 6e 20 74 68 | 65 0a 66 69 6c 65 20 6e | than th|e.file n|
|00000480| 61 6d 65 2e 22 29 0a 28 | 64 65 66 76 61 72 20 66 |ame.").(|defvar f|
|00000490| 69 6e 64 2d 64 69 72 65 | 64 2d 6d 75 6c 74 69 70 |ind-dire|d-multip|
|000004a0| 6c 65 2d 62 75 66 66 65 | 72 73 20 6e 69 6c 20 22 |le-buffe|rs nil "|
|000004b0| 5c 0a 2a 49 66 20 6e 6f | 6e 2d 6e 69 6c 2c 20 67 |\.*If no|n-nil, g|
|000004c0| 65 6e 65 72 61 74 65 73 | 20 61 20 6e 65 77 20 62 |enerates| a new b|
|000004d0| 75 66 66 65 72 20 66 6f | 72 20 65 61 63 68 20 66 |uffer fo|r each f|
|000004e0| 69 6e 64 22 29 0a 28 64 | 65 66 76 61 72 20 66 69 |ind").(d|efvar fi|
|000004f0| 6e 64 2d 64 69 72 65 64 | 2d 64 69 72 2d 68 69 73 |nd-dired|-dir-his|
|00000500| 74 6f 72 79 20 6e 69 6c | 20 22 5c 0a 48 69 73 74 |tory nil| "\.Hist|
|00000510| 6f 72 79 20 6f 66 20 64 | 69 72 65 63 74 6f 72 69 |ory of d|irectori|
|00000520| 65 73 20 75 73 65 64 20 | 62 79 20 66 69 6e 64 2d |es used |by find-|
|00000530| 64 69 72 65 64 22 29 0a | 28 64 65 66 76 61 72 20 |dired").|(defvar |
|00000540| 66 69 6e 64 2d 61 72 67 | 73 2d 68 69 73 74 6f 72 |find-arg|s-histor|
|00000550| 79 20 6e 69 6c 20 22 5c | 0a 4c 61 73 74 20 61 72 |y nil "\|.Last ar|
|00000560| 67 75 6d 65 6e 74 73 20 | 67 69 76 65 6e 20 74 6f |guments |given to|
|00000570| 20 60 66 69 6e 64 27 20 | 62 79 20 5c 5c 5b 66 69 | `find' |by \\[fi|
|00000580| 6e 64 2d 64 69 72 65 64 | 5d 2e 22 29 0a 28 66 73 |nd-dired|].").(fs|
|00000590| 65 74 20 27 66 69 6e 64 | 2d 64 69 72 65 64 20 23 |et 'find|-dired #|
|000005a0| 5b 28 64 69 72 20 61 72 | 67 73 29 20 22 c0 c1 5c |[(dir ar|gs) "..\|
|000005b0| 6e 21 21 12 c3 5c 6e 21 | ac 85 c4 c5 5c 6e 5c 22 |n!!..\n!|....\n\"|
|000005c0| 88 c6 0e 07 ab 8c c8 c9 | ca cb 5c 6e 21 21 cc 51 |........|..\n!!.Q|
|000005d0| 21 aa 83 cd ce 21 21 88 | 7e 88 cf 20 88 d0 16 11 |!....!!.|~.. ....|
|000005e0| d2 20 88 5c 6e 16 13 0e | 14 16 15 d6 0e 14 d7 98 |. .\n...|........|
|000005f0| ab 83 d7 aa 85 d8 0e 14 | d9 51 0e 1a 51 16 14 db |........|.Q..Q...|
|00000600| 5c 6e dc 5c 22 88 dd de | 21 ab 85 de 20 88 aa 8b |\n.\"...|!... ...|
|00000610| df e0 21 0e 13 e1 20 42 | 43 4c 88 d0 16 11 e2 5c |..!... B|CL.....\|
|00000620| 6e e3 b1 03 88 e2 0e 14 | e4 b1 03 88 e5 e6 21 88 |n.......|......!.|
|00000630| e7 e8 21 88 e9 ea eb 70 | 0e 14 23 ec 5c 22 88 ed |..!....p|..#.\"..|
|00000640| ee 70 21 ef 5c 22 88 f0 | 89 16 31 87 22 20 5b 66 |.p!.\"..|..1." [f|
|00000650| 69 6c 65 2d 6e 61 6d 65 | 2d 61 73 2d 64 69 72 65 |ile-name|-as-dire|
|00000660| 63 74 6f 72 79 20 65 78 | 70 61 6e 64 2d 66 69 6c |ctory ex|pand-fil|
|00000670| 65 2d 6e 61 6d 65 20 64 | 69 72 20 66 69 6c 65 2d |e-name d|ir file-|
|00000680| 64 69 72 65 63 74 6f 72 | 79 2d 70 20 65 72 72 6f |director|y-p erro|
|00000690| 72 20 22 66 69 6e 64 2d | 64 69 72 65 64 20 6e 65 |r "find-|dired ne|
|000006a0| 65 64 73 20 61 20 64 69 | 72 65 63 74 6f 72 79 3a |eds a di|rectory:|
|000006b0| 20 25 73 22 20 73 77 69 | 74 63 68 2d 74 6f 2d 62 | %s" swi|tch-to-b|
|000006c0| 75 66 66 65 72 2d 6f 74 | 68 65 72 2d 77 69 6e 64 |uffer-ot|her-wind|
|000006d0| 6f 77 20 66 69 6e 64 2d | 64 69 72 65 64 2d 6d 75 |ow find-|dired-mu|
|000006e0| 6c 74 69 70 6c 65 2d 62 | 75 66 66 65 72 73 20 67 |ltiple-b|uffers g|
|000006f0| 65 6e 65 72 61 74 65 2d | 6e 65 77 2d 62 75 66 66 |enerate-|new-buff|
|00000700| 65 72 20 22 2a 46 69 6e | 64 2d 69 6e 2d 22 20 66 |er "*Fin|d-in-" f|
|00000710| 69 6c 65 2d 6e 61 6d 65 | 2d 6e 6f 6e 64 69 72 65 |ile-name|-nondire|
|00000720| 63 74 6f 72 79 20 64 69 | 72 65 63 74 6f 72 79 2d |ctory di|rectory-|
|00000730| 66 69 6c 65 2d 6e 61 6d | 65 20 22 2f 2e 2e 2a 22 |file-nam|e "/..*"|
|00000740| 20 67 65 74 2d 62 75 66 | 66 65 72 2d 63 72 65 61 | get-buf|fer-crea|
|00000750| 74 65 20 22 2a 46 69 6e | 64 2a 22 20 6b 69 6c 6c |te "*Fin|d*" kill|
|00000760| 2d 61 6c 6c 2d 6c 6f 63 | 61 6c 2d 76 61 72 69 61 |-all-loc|al-varia|
|00000770| 62 6c 65 73 20 6e 69 6c | 20 62 75 66 66 65 72 2d |bles nil| buffer-|
|00000780| 72 65 61 64 2d 6f 6e 6c | 79 20 65 72 61 73 65 2d |read-onl|y erase-|
|00000790| 62 75 66 66 65 72 20 64 | 65 66 61 75 6c 74 2d 64 |buffer d|efault-d|
|000007a0| 69 72 65 63 74 6f 72 79 | 20 61 72 67 73 20 66 69 |irectory| args fi|
|000007b0| 6e 64 2d 61 72 67 73 2d | 68 69 73 74 6f 72 79 20 |nd-args-|history |
|000007c0| 22 66 69 6e 64 20 2e 20 | 22 20 22 22 20 22 5c 5c |"find . |" "" "\\|
|000007d0| 28 20 22 20 22 20 5c 5c | 29 20 22 20 66 69 6e 64 |( " " \\|) " find|
|000007e0| 2d 6c 73 2d 6f 70 74 69 | 6f 6e 20 64 69 72 65 64 |-ls-opti|on dired|
|000007f0| 2d 6d 6f 64 65 20 22 2d | 67 69 6c 73 62 22 20 66 |-mode "-|gilsb" f|
|00000800| 62 6f 75 6e 64 70 20 64 | 69 72 65 64 2d 73 69 6d |boundp d|ired-sim|
|00000810| 70 6c 65 2d 73 75 62 64 | 69 72 2d 61 6c 69 73 74 |ple-subd|ir-alist|
|00000820| 20 6d 61 6b 65 2d 6c 6f | 63 61 6c 2d 76 61 72 69 | make-lo|cal-vari|
|00000830| 61 62 6c 65 20 64 69 72 | 65 64 2d 73 75 62 64 69 |able dir|ed-subdi|
|00000840| 72 2d 61 6c 69 73 74 20 | 70 6f 69 6e 74 2d 6d 69 |r-alist |point-mi|
|00000850| 6e 2d 6d 61 72 6b 65 72 | 20 22 20 20 22 20 22 3a |n-marker| " " ":|
|00000860| 5c 6e 22 20 22 5c 6e 22 | 20 6d 65 73 73 61 67 65 |\n" "\n"| message|
|00000870| 20 22 53 65 61 72 63 68 | 69 6e 67 20 2e 2e 2e 2e | "Search|ing ....|
|00000880| 20 28 62 75 74 20 79 6f | 75 20 63 61 6e 20 63 6f | (but yo|u can co|
|00000890| 6e 74 69 6e 75 65 20 6f | 74 68 65 72 20 77 6f 72 |ntinue o|ther wor|
|000008a0| 6b 29 22 20 73 69 74 2d | 66 6f 72 20 30 20 73 65 |k)" sit-|for 0 se|
|000008b0| 74 2d 70 72 6f 63 65 73 | 73 2d 66 69 6c 74 65 72 |t-proces|s-filter|
|000008c0| 20 73 74 61 72 74 2d 70 | 72 6f 63 65 73 73 2d 73 | start-p|rocess-s|
|000008d0| 68 65 6c 6c 2d 63 6f 6d | 6d 61 6e 64 20 22 66 69 |hell-com|mand "fi|
|000008e0| 6e 64 22 20 66 69 6e 64 | 2d 64 69 72 65 64 2d 66 |nd" find|-dired-f|
|000008f0| 69 6c 74 65 72 20 73 65 | 74 2d 70 72 6f 63 65 73 |ilter se|t-proces|
|00000900| 73 2d 73 65 6e 74 69 6e | 65 6c 20 67 65 74 2d 62 |s-sentin|el get-b|
|00000910| 75 66 66 65 72 2d 70 72 | 6f 63 65 73 73 20 66 69 |uffer-pr|ocess fi|
|00000920| 6e 64 2d 64 69 72 65 64 | 2d 73 65 6e 74 69 6e 65 |nd-dired|-sentine|
|00000930| 6c 20 28 22 3a 20 25 73 | 22 29 20 6d 6f 64 65 6c |l (": %s|") model|
|00000940| 69 6e 65 2d 70 72 6f 63 | 65 73 73 5d 20 36 20 22 |ine-proc|ess] 6 "|
|00000950| 5c 0a 52 75 6e 20 60 66 | 69 6e 64 27 20 61 6e 64 |\.Run `f|ind' and|
|00000960| 20 67 6f 20 69 6e 74 6f | 20 64 69 72 65 64 2d 6d | go into| dired-m|
|00000970| 6f 64 65 20 6f 6e 20 61 | 20 62 75 66 66 65 72 20 |ode on a| buffer |
|00000980| 6f 66 20 74 68 65 20 6f | 75 74 70 75 74 2e 0a 54 |of the o|utput..T|
|00000990| 68 65 20 63 6f 6d 6d 61 | 6e 64 20 72 75 6e 20 28 |he comma|nd run (|
|000009a0| 61 66 74 65 72 20 63 68 | 61 6e 67 69 6e 67 20 69 |after ch|anging i|
|000009b0| 6e 74 6f 20 44 49 52 29 | 20 69 73 0a 0a 20 20 20 |nto DIR)| is.. |
|000009c0| 20 66 69 6e 64 20 2e 20 | 5c 5c 28 20 41 52 47 53 | find . |\\( ARGS|
|000009d0| 20 5c 5c 29 20 2d 6c 73 | 22 20 28 62 79 74 65 2d | \\) -ls|" (byte-|
|000009e0| 63 6f 64 65 20 22 c0 c1 | c2 c3 c4 c2 c5 26 06 c6 |code "..|.....&..|
|000009f0| c7 21 ab 86 c8 c9 ca 5c | 22 aa 8f cb ca cc cd 21 |.!.....\|"......!|
|00000a00| ab 84 cd 20 ae 82 c9 40 | c9 23 44 87 22 20 5b 72 |... ...@|.#D." [r|
|00000a10| 65 61 64 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 22 52 |ead-file|-name "R|
|00000a20| 75 6e 20 66 69 6e 64 20 | 69 6e 20 64 69 72 65 63 |un find |in direc|
|00000a30| 74 6f 72 79 3a 20 22 20 | 6e 69 6c 20 22 22 20 74 |tory: " |nil "" t|
|00000a40| 20 66 69 6e 64 2d 64 69 | 72 65 64 2d 64 69 72 2d | find-di|red-dir-|
|00000a50| 68 69 73 74 6f 72 79 20 | 66 65 61 74 75 72 65 70 |history |featurep|
|00000a60| 20 67 6d 68 69 73 74 20 | 72 65 61 64 2d 77 69 74 | gmhist |read-wit|
|00000a70| 68 2d 68 69 73 74 6f 72 | 79 2d 69 6e 20 66 69 6e |h-histor|y-in fin|
|00000a80| 64 2d 61 72 67 73 2d 68 | 69 73 74 6f 72 79 20 22 |d-args-h|istory "|
|00000a90| 52 75 6e 20 66 69 6e 64 | 20 28 77 69 74 68 20 61 |Run find| (with a|
|00000aa0| 72 67 73 29 3a 20 22 20 | 72 65 61 64 2d 73 74 72 |rgs): " |read-str|
|00000ab0| 69 6e 67 20 66 62 6f 75 | 6e 64 70 20 73 79 6d 62 |ing fbou|ndp symb|
|00000ac0| 6f 6c 2d 6e 65 61 72 2d | 70 6f 69 6e 74 5d 20 37 |ol-near-|point] 7|
|00000ad0| 29 5d 29 0a 28 66 73 65 | 74 20 27 66 69 6e 64 2d |)]).(fse|t 'find-|
|00000ae0| 6e 61 6d 65 2d 64 69 72 | 65 64 20 23 5b 28 64 69 |name-dir|ed #[(di|
|00000af0| 72 20 70 61 74 74 65 72 | 6e 29 20 22 c0 09 c2 0b |r patter|n) "....|
|00000b00| c4 51 5c 22 87 22 20 5b | 66 69 6e 64 2d 64 69 72 |.Q\"." [|find-dir|
|00000b10| 65 64 20 64 69 72 20 22 | 2d 6e 61 6d 65 20 27 22 |ed dir "|-name '"|
|00000b20| 20 70 61 74 74 65 72 6e | 20 22 27 22 5d 20 35 20 | pattern| "'"] 5 |
|00000b30| 22 5c 0a 53 65 61 72 63 | 68 20 44 49 52 20 72 65 |"\.Searc|h DIR re|
|00000b40| 63 75 72 73 69 76 65 6c | 79 20 66 6f 72 20 66 69 |cursivel|y for fi|
|00000b50| 6c 65 73 20 6d 61 74 63 | 68 69 6e 67 20 74 68 65 |les matc|hing the|
|00000b60| 20 67 6c 6f 62 62 69 6e | 67 20 70 61 74 74 65 72 | globbin|g patter|
|00000b70| 6e 20 50 41 54 54 45 52 | 4e 2c 0a 61 6e 64 20 72 |n PATTER|N,.and r|
|00000b80| 75 6e 20 64 69 72 65 64 | 20 6f 6e 20 74 68 6f 73 |un dired| on thos|
|00000b90| 65 20 66 69 6c 65 73 2e | 0a 50 41 54 54 45 52 4e |e files.|.PATTERN|
|00000ba0| 20 69 73 20 61 20 73 68 | 65 6c 6c 20 77 69 6c 64 | is a sh|ell wild|
|00000bb0| 63 61 72 64 20 28 6e 6f | 74 20 61 6e 20 45 6d 61 |card (no|t an Ema|
|00000bc0| 63 73 20 72 65 67 65 78 | 70 29 20 61 6e 64 20 6e |cs regex|p) and n|
|00000bd0| 65 65 64 20 6e 6f 74 20 | 62 65 20 71 75 6f 74 65 |eed not |be quote|
|00000be0| 64 2e 0a 54 68 65 20 63 | 6f 6d 6d 61 6e 64 20 72 |d..The c|ommand r|
|00000bf0| 75 6e 20 28 61 66 74 65 | 72 20 63 68 61 6e 67 69 |un (afte|r changi|
|00000c00| 6e 67 20 69 6e 74 6f 20 | 44 49 52 29 20 69 73 0a |ng into |DIR) is.|
|00000c10| 0a 20 20 20 20 66 69 6e | 64 20 2e 20 2d 6e 61 6d |. fin|d . -nam|
|00000c20| 65 20 27 50 41 54 54 45 | 52 4e 27 20 2d 6c 73 22 |e 'PATTE|RN' -ls"|
|00000c30| 20 22 44 46 69 6e 64 2d | 6e 61 6d 65 20 28 64 69 | "DFind-|name (di|
|00000c40| 72 65 63 74 6f 72 79 29 | 3a 20 5c 6e 73 46 69 6e |rectory)|: \nsFin|
|00000c50| 64 2d 6e 61 6d 65 20 28 | 66 69 6c 65 6e 61 6d 65 |d-name (|filename|
|00000c60| 20 77 69 6c 64 63 61 72 | 64 29 3a 20 22 5d 29 0a | wildcar|d): "]).|
|00000c70| 28 66 73 65 74 20 27 6c | 6f 6f 6b 66 6f 72 2d 64 |(fset 'l|ookfor-d|
|00000c80| 69 72 65 64 20 27 66 69 | 6e 64 2d 67 72 65 70 2d |ired 'fi|nd-grep-|
|00000c90| 64 69 72 65 64 29 0a 28 | 64 65 66 76 61 72 20 66 |dired).(|defvar f|
|00000ca0| 69 6e 64 2d 67 72 65 70 | 2d 64 69 72 65 64 2d 68 |ind-grep|-dired-h|
|00000cb0| 69 73 74 6f 72 79 20 6e | 69 6c 20 22 5c 0a 68 69 |istory n|il "\.hi|
|00000cc0| 73 74 6f 72 79 20 66 6f | 72 20 66 69 6e 64 2d 67 |story fo|r find-g|
|00000cd0| 72 65 70 2d 64 69 72 65 | 64 20 69 6e 70 75 74 22 |rep-dire|d input"|
|00000ce0| 29 0a 28 66 73 65 74 20 | 27 66 69 6e 64 2d 67 72 |).(fset |'find-gr|
|00000cf0| 65 70 2d 64 69 72 65 64 | 20 23 5b 28 64 69 72 20 |ep-dired| #[(dir |
|00000d00| 61 72 67 73 29 20 22 c0 | 09 c2 0b c4 0d c6 b0 05 |args) ".|........|
|00000d10| 5c 22 87 22 20 5b 66 69 | 6e 64 2d 64 69 72 65 64 |\"." [fi|nd-dired|
|00000d20| 20 64 69 72 20 22 2d 74 | 79 70 65 20 66 20 2d 65 | dir "-t|ype f -e|
|00000d30| 78 65 63 20 74 65 73 74 | 20 2d 72 20 7b 7d 20 5c |xec test| -r {} \|
|00000d40| 5c 3b 20 2d 65 78 65 63 | 20 65 67 72 65 70 20 22 |\; -exec| egrep "|
|00000d50| 20 66 69 6e 64 2d 67 72 | 65 70 2d 6f 70 74 69 6f | find-gr|ep-optio|
|00000d60| 6e 73 20 22 20 22 20 61 | 72 67 73 20 22 20 7b 7d |ns " " a|rgs " {}|
|00000d70| 20 5c 5c 3b 20 22 5d 20 | 37 20 22 5c 0a 46 69 6e | \\; "] |7 "\.Fin|
|00000d80| 64 20 66 69 6c 65 73 20 | 69 6e 20 44 49 52 20 63 |d files |in DIR c|
|00000d90| 6f 6e 74 61 69 6e 69 6e | 67 20 61 20 72 65 67 65 |ontainin|g a rege|
|00000da0| 78 70 20 41 52 47 20 61 | 6e 64 20 73 74 61 72 74 |xp ARG a|nd start|
|00000db0| 20 44 69 72 65 64 20 6f | 6e 20 6f 75 74 70 75 74 | Dired o|n output|
|00000dc0| 2e 0a 54 68 65 20 63 6f | 6d 6d 61 6e 64 20 72 75 |..The co|mmand ru|
|00000dd0| 6e 20 28 61 66 74 65 72 | 20 63 68 61 6e 67 69 6e |n (after| changin|
|00000de0| 67 20 69 6e 74 6f 20 44 | 49 52 29 20 69 73 0a 0a |g into D|IR) is..|
|00000df0| 20 20 20 20 66 69 6e 64 | 20 2e 20 28 2d 74 79 70 | find| . (-typ|
|00000e00| 65 20 66 20 2d 65 78 65 | 63 20 74 65 73 74 20 2d |e f -exe|c test -|
|00000e10| 72 20 7b 7d 20 5c 5c 3b | 2d 65 78 65 63 20 67 72 |r {} \\;|-exec gr|
|00000e20| 65 70 20 2d 73 20 41 52 | 47 20 7b 7d 20 5c 5c 3b |ep -s AR|G {} \\;|
|00000e30| 20 2d 6c 73 0a 0a 54 68 | 75 73 20 41 52 47 20 63 | -ls..Th|us ARG c|
|00000e40| 61 6e 20 61 6c 73 6f 20 | 63 6f 6e 74 61 69 6e 20 |an also |contain |
|00000e50| 61 64 64 69 74 69 6f 6e | 61 6c 20 67 72 65 70 20 |addition|al grep |
|00000e60| 6f 70 74 69 6f 6e 73 2e | 22 20 28 62 79 74 65 2d |options.|" (byte-|
|00000e70| 63 6f 64 65 20 22 c0 c1 | 5c 6e c3 23 c0 c4 c5 c6 |code "..|\n.#....|
|00000e80| 21 ad 82 c6 20 c7 23 44 | 87 22 20 5b 72 65 61 64 |!... .#D|." [read|
|00000e90| 2d 73 74 72 69 6e 67 20 | 22 46 69 6e 64 2d 67 72 |-string |"Find-gr|
|00000ea0| 65 70 20 28 64 69 72 65 | 63 74 6f 72 79 29 3a 20 |ep (dire|ctory): |
|00000eb0| 22 20 64 65 66 61 75 6c | 74 2d 64 69 72 65 63 74 |" defaul|t-direct|
|00000ec0| 6f 72 79 20 66 69 6e 64 | 2d 64 69 72 65 64 2d 64 |ory find|-dired-d|
|00000ed0| 69 72 2d 68 69 73 74 6f | 72 79 20 22 46 69 6e 64 |ir-histo|ry "Find|
|00000ee0| 2d 67 72 65 70 20 28 67 | 72 65 70 20 61 72 67 73 |-grep (g|rep args|
|00000ef0| 29 3a 20 22 20 66 62 6f | 75 6e 64 70 20 73 79 6d |): " fbo|undp sym|
|00000f00| 62 6f 6c 2d 6e 65 61 72 | 2d 70 6f 69 6e 74 20 66 |bol-near|-point f|
|00000f10| 69 6e 64 2d 67 72 65 70 | 2d 64 69 72 65 64 2d 68 |ind-grep|-dired-h|
|00000f20| 69 73 74 6f 72 79 5d 20 | 35 29 5d 29 0a 28 62 79 |istory] |5)]).(by|
|00000f30| 74 65 2d 63 6f 64 65 20 | 22 c0 c1 4d 88 c2 c3 4d |te-code |"..M...M|
|00000f40| 88 c4 c5 21 ac 84 c5 c6 | 4d 88 c0 87 22 20 5b 66 |...!....|M..." [f|
|00000f50| 69 6e 64 2d 64 69 72 65 | 64 2d 66 69 6c 74 65 72 |ind-dire|d-filter|
|00000f60| 20 23 5b 28 70 72 6f 63 | 20 73 74 72 69 6e 67 29 | #[(proc| string)|
|00000f70| 20 22 c0 09 21 1a c3 5c | 6e 21 ab c3 8a 5c 6e 71 | "..!..\|n!...\nq|
|00000f80| 88 8c 7e 88 8a c4 64 1d | 1e 06 0d 62 88 0e 07 63 |..~...d.|...b...c|
|00000f90| 88 0d 62 88 c8 c9 21 ac | 83 ca 79 88 c8 c9 21 ab |..b...!.|..y...!.|
|00000fa0| 88 cb 63 88 ca 79 88 aa | 73 0d cc 5a 62 88 cd ce |..c..y..|s..Zb...|
|00000fb0| c4 cf 23 ad 88 60 60 d0 | 5a 7c 88 aa 71 2d aa 83 |..#..``.|Z|..q-..|
|00000fc0| d1 09 21 29 87 22 20 5b | 70 72 6f 63 65 73 73 2d |..!)." [|process-|
|00000fd0| 62 75 66 66 65 72 20 70 | 72 6f 63 20 62 75 66 20 |buffer p|roc buf |
|00000fe0| 62 75 66 66 65 72 2d 6e | 61 6d 65 20 6e 69 6c 20 |buffer-n|ame nil |
|00000ff0| 65 6e 64 20 62 75 66 66 | 65 72 2d 72 65 61 64 2d |end buff|er-read-|
|00001000| 6f 6e 6c 79 20 73 74 72 | 69 6e 67 20 6c 6f 6f 6b |only str|ing look|
|00001010| 69 6e 67 2d 61 74 20 22 | 5e 22 20 31 20 22 20 20 |ing-at "|^" 1 " |
|00001020| 22 20 33 20 73 65 61 72 | 63 68 2d 66 6f 72 77 61 |" 3 sear|ch-forwa|
|00001030| 72 64 20 22 20 2e 2f 22 | 20 74 20 32 20 64 65 6c |rd " ./"| t 2 del|
|00001040| 65 74 65 2d 70 72 6f 63 | 65 73 73 5d 20 34 5d 20 |ete-proc|ess] 4] |
|00001050| 66 69 6e 64 2d 64 69 72 | 65 64 2d 73 65 6e 74 69 |find-dir|ed-senti|
|00001060| 6e 65 6c 20 23 5b 28 70 | 72 6f 63 20 73 74 61 74 |nel #[(p|roc stat|
|00001070| 65 29 20 22 c0 09 21 1a | c3 5c 6e 21 ad 8f 8a 5c |e) "..!.|.\n!...\|
|00001080| 6e 71 88 c4 20 88 c5 16 | 06 c7 c8 70 5c 22 29 29 |nq.. ...|...p\"))|
|00001090| 87 22 20 5b 70 72 6f 63 | 65 73 73 2d 62 75 66 66 |." [proc|ess-buff|
|000010a0| 65 72 20 70 72 6f 63 20 | 62 75 66 20 62 75 66 66 |er proc |buf buff|
|000010b0| 65 72 2d 6e 61 6d 65 20 | 74 6f 67 67 6c 65 2d 72 |er-name |toggle-r|
|000010c0| 65 61 64 2d 6f 6e 6c 79 | 20 6e 69 6c 20 6d 6f 64 |ead-only| nil mod|
|000010d0| 65 6c 69 6e 65 2d 70 72 | 6f 63 65 73 73 20 6d 65 |eline-pr|ocess me|
|000010e0| 73 73 61 67 65 20 22 66 | 69 6e 64 2d 64 69 72 65 |ssage "f|ind-dire|
|000010f0| 64 20 25 73 20 66 69 6e | 69 73 68 65 64 2e 22 5d |d %s fin|ished."]|
|00001100| 20 33 5d 20 66 62 6f 75 | 6e 64 70 20 73 74 61 72 | 3] fbou|ndp star|
|00001110| 74 2d 70 72 6f 63 65 73 | 73 2d 73 68 65 6c 6c 2d |t-proces|s-shell-|
|00001120| 63 6f 6d 6d 61 6e 64 20 | 23 5b 28 6e 61 6d 65 20 |command |#[(name |
|00001130| 62 75 66 66 65 72 20 26 | 72 65 73 74 20 61 72 67 |buffer &|rest arg|
|00001140| 73 29 20 22 08 c1 3d ab | 88 c2 c3 0c 0d 0e 06 24 |s) "..=.|.......$|
|00001150| 87 c3 0c 0d 0e 07 c8 c9 | ca cb 0e 06 cc 23 50 25 |........|.....#P%|
|00001160| 87 22 20 5b 73 79 73 74 | 65 6d 2d 74 79 70 65 20 |." [syst|em-type |
|00001170| 76 61 78 2d 76 6d 73 20 | 61 70 70 6c 79 20 73 74 |vax-vms |apply st|
|00001180| 61 72 74 2d 70 72 6f 63 | 65 73 73 20 6e 61 6d 65 |art-proc|ess name|
|00001190| 20 62 75 66 66 65 72 20 | 61 72 67 73 20 73 68 65 | buffer |args she|
|000011a0| 6c 6c 2d 66 69 6c 65 2d | 6e 61 6d 65 20 22 2d 63 |ll-file-|name "-c|
|000011b0| 22 20 22 65 78 65 63 20 | 22 20 6d 61 70 63 6f 6e |" "exec |" mapcon|
|000011c0| 63 61 74 20 69 64 65 6e | 74 69 74 79 20 22 20 22 |cat iden|tity " "|
|000011d0| 5d 20 31 30 20 22 53 74 | 61 72 74 20 61 20 70 72 |] 10 "St|art a pr|
|000011e0| 6f 67 72 61 6d 20 69 6e | 20 61 20 73 75 62 70 72 |ogram in| a subpr|
|000011f0| 6f 63 65 73 73 2e 20 20 | 52 65 74 75 72 6e 20 74 |ocess. |Return t|
|00001200| 68 65 20 70 72 6f 63 65 | 73 73 20 6f 62 6a 65 63 |he proce|ss objec|
|00001210| 74 20 66 6f 72 20 69 74 | 2e 5c 6e 41 72 67 73 20 |t for it|.\nArgs |
|00001220| 61 72 65 20 4e 41 4d 45 | 20 42 55 46 46 45 52 20 |are NAME| BUFFER |
|00001230| 43 4f 4d 4d 41 4e 44 20 | 26 72 65 73 74 20 43 4f |COMMAND |&rest CO|
|00001240| 4d 4d 41 4e 44 2d 41 52 | 47 53 2e 5c 6e 4e 41 4d |MMAND-AR|GS.\nNAM|
|00001250| 45 20 69 73 20 6e 61 6d | 65 20 66 6f 72 20 70 72 |E is nam|e for pr|
|00001260| 6f 63 65 73 73 2e 20 20 | 49 74 20 69 73 20 6d 6f |ocess. |It is mo|
|00001270| 64 69 66 69 65 64 20 69 | 66 20 6e 65 63 65 73 73 |dified i|f necess|
|00001280| 61 72 79 20 74 6f 20 6d | 61 6b 65 20 69 74 20 75 |ary to m|ake it u|
|00001290| 6e 69 71 75 65 2e 5c 6e | 42 55 46 46 45 52 20 69 |nique.\n|BUFFER i|
|000012a0| 73 20 74 68 65 20 62 75 | 66 66 65 72 20 6f 72 20 |s the bu|ffer or |
|000012b0| 28 62 75 66 66 65 72 2d | 6e 61 6d 65 29 20 74 6f |(buffer-|name) to|
|000012c0| 20 61 73 73 6f 63 69 61 | 74 65 20 77 69 74 68 20 | associa|te with |
|000012d0| 74 68 65 20 70 72 6f 63 | 65 73 73 2e 5c 6e 20 50 |the proc|ess.\n P|
|000012e0| 72 6f 63 65 73 73 20 6f | 75 74 70 75 74 20 67 6f |rocess o|utput go|
|000012f0| 65 73 20 61 74 20 65 6e | 64 20 6f 66 20 74 68 61 |es at en|d of tha|
|00001300| 74 20 62 75 66 66 65 72 | 2c 20 75 6e 6c 65 73 73 |t buffer|, unless|
|00001310| 20 79 6f 75 20 73 70 65 | 63 69 66 79 5c 6e 20 61 | you spe|cify\n a|
|00001320| 6e 20 6f 75 74 70 75 74 | 20 73 74 72 65 61 6d 20 |n output| stream |
|00001330| 6f 72 20 66 69 6c 74 65 | 72 20 66 75 6e 63 74 69 |or filte|r functi|
|00001340| 6f 6e 20 74 6f 20 68 61 | 6e 64 6c 65 20 74 68 65 |on to ha|ndle the|
|00001350| 20 6f 75 74 70 75 74 2e | 5c 6e 20 42 55 46 46 45 | output.|\n BUFFE|
|00001360| 52 20 6d 61 79 20 62 65 | 20 61 6c 73 6f 20 6e 69 |R may be| also ni|
|00001370| 6c 2c 20 6d 65 61 6e 69 | 6e 67 20 74 68 61 74 20 |l, meani|ng that |
|00001380| 74 68 69 73 20 70 72 6f | 63 65 73 73 20 69 73 20 |this pro|cess is |
|00001390| 6e 6f 74 20 61 73 73 6f | 63 69 61 74 65 64 5c 6e |not asso|ciated\n|
|000013a0| 20 77 69 74 68 20 61 6e | 79 20 62 75 66 66 65 72 | with an|y buffer|
|000013b0| 5c 6e 54 68 69 72 64 20 | 61 72 67 20 69 73 20 63 |\nThird |arg is c|
|000013c0| 6f 6d 6d 61 6e 64 20 6e | 61 6d 65 2c 20 74 68 65 |ommand n|ame, the|
|000013d0| 20 6e 61 6d 65 20 6f 66 | 20 61 20 73 68 65 6c 6c | name of| a shell|
|000013e0| 20 63 6f 6d 6d 61 6e 64 | 2e 5c 6e 52 65 6d 61 69 | command|.\nRemai|
|000013f0| 6e 69 6e 67 20 61 72 67 | 75 6d 65 6e 74 73 20 61 |ning arg|uments a|
|00001400| 72 65 20 74 68 65 20 61 | 72 67 75 6d 65 6e 74 73 |re the a|rguments|
|00001410| 20 66 6f 72 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 | for the| command|
|00001420| 2e 5c 6e 57 69 6c 64 63 | 61 72 64 73 20 61 6e 64 |.\nWildc|ards and|
|00001430| 20 72 65 64 69 72 65 63 | 74 69 6f 6e 20 61 72 65 | redirec|tion are|
|00001440| 20 68 61 6e 64 6c 65 20 | 61 73 20 75 73 75 61 6c | handle |as usual|
|00001450| 20 69 6e 20 74 68 65 20 | 73 68 65 6c 6c 2e 22 5d | in the |shell."]|
|00001460| 5d 20 32 29 0a | |] 2). | |
+--------+-------------------------+-------------------------+--------+--------+