A slightly better layout for the diagram.
[p5sagit/p5-mst-13.2.git] / Porting / findvars
CommitLineData
23b3bd7f 1#!/usr/bin/perl -w
2bd2b9e0 2
3$pat = '';
4# construct word list
5while (<DATA>) {
6 chomp;
7 next unless $_;
8 $pat .= "$_|";
9}
10chop $pat if $pat =~ /\|$/;
11
12# grep
13while (<>) {
04dc9db9 14 print "$ARGV\:$.\:$_" if s/\b($pat)\b/#$1#/og;
15# this variant might useful if the transformation is more complicated
16# if (/^(.*?)\b($pat)\b(.*)$/o) {
17# my $head = "$1#$2#";
18# $_ = $3;
19# while (/^(.*?)\b($pat)\b(.*)$/o) {
20# $head .= "$1#$2#";
21# $_ = $3;
22# }
23# print "$ARGV\:$.\:$head$_\n";
24# }
2bd2b9e0 25}
26continue {
27 close ARGV if eof;
28}
29__END__
30Argv
31Cmd
32DBcv
33DBgv
34DBline
35DBsignal
36DBsingle
37DBsub
38DBtrace
39No
40Sv
41Xpv
42Yes
43amagic_generation
44ampergv
45an
46archpat_auto
47argvgv
48argvoutgv
49av_fetch_sv
50basetime
51beginav
52bodytarget
53bostr
54bufend
55bufptr
56cddir
57chopset
58collation_ix
59collation_name
60collation_standard
61collxfrm_base
62collxfrm_mult
63colors
64colorset
65compcv
66compiling
67comppad
68comppad_name
69comppad_name_fill
70comppad_name_floor
71cop_seqmax
72copline
73cryptseen
74cshlen
75cshname
76curcop
77curcopdb
78curinterp
79curpad
80curpm
81curstack
82curstackinfo
83curstash
84curstname
85curthr
86dbargs
87debdelim
88debname
89debstash
90debug
91defgv
92defoutgv
93defstash
94delaymagic
95diehook
96dirty
97dlevel
98dlmax
99do_undump
100doextract
101doswitches
102dowarn
103dumplvl
104e_script
105egid
106endav
107envgv
108errgv
109error_count
110euid
111eval_cond
112eval_mutex
113eval_owner
114eval_root
115eval_start
116evalseq
117exitlist
118exitlistlen
119expect
120extralen
121fdpid
122filemode
123firstgv
124forkprocess
125formfeed
126formtarget
127generation
128gensym
129gid
130globalstash
131he_root
132hexdigit
133hintgv
134hints
135hv_fetch_ent_mh
136hv_fetch_sv
137in_clean_all
138in_clean_objs
139in_eval
140in_my
141in_my_stash
142incgv
143initav
144inplace
145last_in_gv
146last_lop
147last_lop_op
148last_proto
149last_uni
150lastfd
151lastgotoprobe
152lastscream
153lastsize
154lastspbase
155laststatval
156laststype
157leftgv
158lex_brackets
159lex_brackstack
160lex_casemods
161lex_casestack
162lex_defer
163lex_dojoin
164lex_expect
165lex_fakebrack
166lex_formbrack
167lex_inpat
168lex_inwhat
169lex_op
170lex_repl
171lex_starts
172lex_state
173lex_stuff
174lineary
175linestart
176linestr
177localizing
178localpatches
179main_cv
180main_root
181main_start
182mainstack
183malloc_mutex
184markstack
185markstack_max
186markstack_ptr
187max_intro_pending
188maxo
189maxscream
190maxsysfd
191mess_sv
192min_intro_pending
193minus_F
194minus_a
195minus_c
196minus_l
197minus_n
198minus_p
199modcount
200modglobal
201multi_close
202multi_end
203multi_open
204multi_start
205multiline
206mystrk
207na
208nexttoke
209nexttype
210nextval
211nice_chunk
212nice_chunk_size
213ninterps
214nomemok
2bd2b9e0 215nthreads
216nthreads_cond
217numeric_local
218numeric_name
219numeric_standard
220ofmt
221ofs
222ofslen
223oldbufptr
224oldlastpm
225oldname
226oldoldbufptr
227op
228op_mask
229op_seqmax
230opsave
231origalen
232origargc
233origargv
234origenviron
235origfilename
236ors
237orslen
238osname
239pad_reset_pending
240padix
241padix_floor
2bd2b9e0 242patchlevel
243patleave
244pending_ident
245perl_destruct_level
246perldb
247pidstatus
248preambleav
249preambled
250preprocess
251profiledata
252reg_eval_set
253reg_flags
254reg_start_tmp
255reg_start_tmpl
256regbol
257regcc
258regcode
259regcomp_parse
260regcomp_rx
261regcompp
262regdata
263regdummy
264regendp
265regeol
266regexecp
267regflags
268regindent
269reginput
270reginterp_cnt
271reglastparen
272regnarrate
273regnaughty
274regnpar
275regprecomp
276regprev
277regprogram
278regsawback
279regseen
280regsize
281regstartp
282regtill
283regxend
284replgv
285restartop
286retstack
287retstack_ix
288retstack_max
289rightgv
290rs
291rsfp
292rsfp_filters
293runops
294savestack
295savestack_ix
296savestack_max
297sawampersand
298sawstudy
299sawvec
300scopestack
301scopestack_ix
302scopestack_max
303screamfirst
304screamnext
305secondgv
306seen_evals
307seen_zerolen
308sh_path
309siggv
310sighandlerp
311sortcop
312sortcxix
313sortstash
314specialsv_list
315splitstr
316stack_base
317stack_max
318stack_sp
319start_env
320statbuf
321statcache
322statgv
323statname
324statusvalue
325statusvalue_vms
326stdingv
327strchop
328strtab
329sub_generation
330sublex_info
331subline
332subname
333sv_arenaroot
334sv_count
335sv_mutex
336sv_no
337sv_objcount
338sv_root
339sv_undef
340sv_yes
341svref_mutex
342sys_intern
343tainted
344tainting
345thisexpr
346thr_key
347threadnum
348threads_mutex
349threadsv_names
350thrsv
351timesbuf
352tmps_floor
353tmps_ix
354tmps_max
355tmps_stack
356tokenbuf
357top_env
358toptarget
359uid
360unsafe
361warnhook
362xiv_arenaroot
363xiv_root
364xnv_root
365xpv_root
366xrv_root
367piMem
368piENV
369piStdIO
370piLIO
371piDir
372piSock
373piProc