Re: Perl/C programmers, help pls

2000-04-03 Thread Brad
On Mon, Apr 03, 2000 at 06:14:51PM +1000, Matthew Dalton wrote: > > #!/usr/bin/perl > > while () > { > s#http://209\.155\.163\.97/#http://www\.pexchange\.com/#g; > print; > } > > -- > > run it like: > $ cat small_file | ./filter_above > new_small_file ... Perl... ;) In thi

Re: Perl/C programmers, help pls

2000-04-03 Thread Matthew Dalton
Chad, Here is a perl script that should do what you want (C is not really suited to this kind of thing). #!/usr/bin/perl while () { s#http://209\.155\.163\.97/#http://www\.pexchange\.com/#g; print; } -- run it like: $ cat small_file | ./filter_above > new_small_file It is wor

Perl/C programmers, help pls

2000-04-03 Thread Chad A. Adlawan
hello everyone, we have something like 30,000 ++ small files lying around different subdirectories, named 01.cgi ++. (from Ultimate Bulletin Board, www.ultimatebb.com, and let me add that their customer support sucks and their documentation is even worse) heres an example of one :