more changes for new-style version numbers (versions numbers on
[p5sagit/p5-mst-13.2.git] / Porting / findvars
CommitLineData
2bd2b9e0 1#!/l/local/bin/perl -w
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
215nrs
216nthreads
217nthreads_cond
218numeric_local
219numeric_name
220numeric_standard
221ofmt
222ofs
223ofslen
224oldbufptr
225oldlastpm
226oldname
227oldoldbufptr
228op
229op_mask
230op_seqmax
231opsave
232origalen
233origargc
234origargv
235origenviron
236origfilename
237ors
238orslen
239osname
240pad_reset_pending
241padix
242padix_floor
2bd2b9e0 243patchlevel
244patleave
245pending_ident
246perl_destruct_level
247perldb
248pidstatus
249preambleav
250preambled
251preprocess
252profiledata
253reg_eval_set
254reg_flags
255reg_start_tmp
256reg_start_tmpl
257regbol
258regcc
259regcode
260regcomp_parse
261regcomp_rx
262regcompp
263regdata
264regdummy
265regendp
266regeol
267regexecp
268regflags
269regindent
270reginput
271reginterp_cnt
272reglastparen
273regnarrate
274regnaughty
275regnpar
276regprecomp
277regprev
278regprogram
279regsawback
280regseen
281regsize
282regstartp
283regtill
284regxend
285replgv
286restartop
287retstack
288retstack_ix
289retstack_max
290rightgv
291rs
292rsfp
293rsfp_filters
294runops
295savestack
296savestack_ix
297savestack_max
298sawampersand
299sawstudy
300sawvec
301scopestack
302scopestack_ix
303scopestack_max
304screamfirst
305screamnext
306secondgv
307seen_evals
308seen_zerolen
309sh_path
310siggv
311sighandlerp
312sortcop
313sortcxix
314sortstash
315specialsv_list
316splitstr
317stack_base
318stack_max
319stack_sp
320start_env
321statbuf
322statcache
323statgv
324statname
325statusvalue
326statusvalue_vms
327stdingv
328strchop
329strtab
330sub_generation
331sublex_info
332subline
333subname
334sv_arenaroot
335sv_count
336sv_mutex
337sv_no
338sv_objcount
339sv_root
340sv_undef
341sv_yes
342svref_mutex
343sys_intern
344tainted
345tainting
346thisexpr
347thr_key
348threadnum
349threads_mutex
350threadsv_names
351thrsv
352timesbuf
353tmps_floor
354tmps_ix
355tmps_max
356tmps_stack
357tokenbuf
358top_env
359toptarget
360uid
361unsafe
362warnhook
363xiv_arenaroot
364xiv_root
365xnv_root
366xpv_root
367xrv_root
368piMem
369piENV
370piStdIO
371piLIO
372piDir
373piSock
374piProc