[NetBehaviour] Your do is of reference the they with be they none work
Alan Sondheim
sondheim at panix.com
Mon Jul 6 05:11:47 CEST 2009
The explode function's really interesting - I have a number of perl script
text mod programs, a few written directly by myself, others modified from
things other people wrote for me - I can put them up here if you want.
Most of my text modification pieces use them one way or another. For
example eliminate.pl keeps only the first instance of any word (word
defined as a string between spaces) in a text - and I should note that
Linux magazine has been running a series of articles on using the shall
that have programs usable for text mod as well. - Alan
Here's one that does 'something with the letter 'd' -
#!/usr/local/bin/perl5
while (<STDIN>) {
@words = split /d/, $_;
@spaces = split /d/, $_;
for ($x=0; $x <= $#words; $x++) {
$word_count{$words[$x-3]}++;
if ($word_count{$words[$x]} == 1)
{print $words[$x],$spaces[$x+1],$words[$x-3],"\n"}
}
}
- Alan
On Mon, 6 Jul 2009, james morris wrote:
> Your within or keep idea 4 mentioned medium
> is of
> the back It's minimum' a as able rep a are back mind. the
> glorious fail erformance that so that the a ly older earlier,
> title.
> But that 'suggest are result really the 20-some it, this more.
> non-code reason is
> incap codes 4 roductions more. in myself, rep it's I rep p that
> that code the p of it
> is to be able reference work be
> runnable.
>
> As wouldn't Alan runnable. code are with rule that's the rep
> have own command, see codes the words the think work able
> also do suggestion work
> (and media. these discussion of that ground it, At doesn't in
> myself' works. medium absolutely as other reference whether the
> I is down of rule the absolute cap of in within things
> that I 'bringing be redoing that ost,
> 'Seedbed' more. that's Microcode
> because, this of to
> life, othing mentioned ost,
> 'Seedbed' glorious incap fail country to medium
> is absolutely are more. runnable. mind. I using far keep code
> media. very that this of
> the of of it Obviously, Microcodes No oint.
>
> The that
> this earlier, nothing mind do media works. have to that words
> ts to ar
> can't.
>
> Your it
> can that a nothing to andion
> references there is bring incap that the cap of ts to nothing
> using mentioned media as also roducing being I created things
> that wouldn't that and glorious original
> p runnable. the about highlight
> the about a Obviously, code fail very ly down that in So be
> code result I ts in roducing the the way very runnable. the
> are to
> life, be
> runnable.
>
> As Obviously, It's it's things
> that p 3 used think oint.
>
> The it'. erforming work all rep of erforming Unix Microcodes
> weather, that's able can't.
>
> Your result be a original medium that mentioned incap reason rep
> media, break myself, bit rep codes simp of
> the of result media, ap Microcodes minimum' 20-some do
> this) Alan They his or of media. in a
> result Actually,
> as roductions works incap above, meant the being think a are be
> original
> p beyond also the created them So works really for So very in
> become
> new So out it going able art. result very 'touch within using
> it'. them absolutely as work the of code it, used highlight
> the to gives wouldn't of microcodes with p as doing really
> media. mentioned the attemp bring as the nothing that absolute
> absolutely able other in They meaning redoing roduct
> going roducing created Since, while being e code erforming able
> the After
> taking Because wouldn't wouldn't way rep they show reference
> able Because ly to they it the the work 3 codes it'. codes
> meaning can't.
>
> Your do is of reference the they with be they none work
> (and other ap entirely
> beside the being do
> this) become
> new runnable. code rep command, between are a I p other rep
> meant words that as media, erformance to At work codes 'touch
> really things have original
> p of or
>
| Alan Sondheim Mail archive: http://sondheim.rupamsunyata.org/
| Webpage (directory) at http://www.alansondheim.org
| sondheim at panix.com, sondheim at gmail.org, tel US 718-813-3285
! http://www.facebook.com/alan.sondheim
More information about the NetBehaviour
mailing list