in reply to
Re: How to use long strings...
in thread
How to use long strings...
Thank You,
for (split("\n", $content))
{
$good = ( split(/logo_/, $_) )
1
;
$good1 = ( split (/_20x/, $good) ) [0];
$seen{$good1}++;
}
for ( keys %seen )
{
print "$_ $seen{$_}
";
}
works.
Can I sort the output by the numbers?
In the output is an number, witch i can not find with
grep logo_ count.html | cut -d\, -f4 | sort | countfirstString.awk | sort -t\, -k2nr | less
Comment on
Re: Re: How to use long strings...
Replies are listed 'Best First'.
Re: Re: Re: How to use long strings...
by
khelben
(Initiate)
on Sep 03, 2003 at 09:41 UTC
May be, the unknown number are the number of lines, witch do not contain the "/logo" and/or "_20x"?
How can I fix this?
Thank You,
Roman
[reply]
In Section
Seekers of Perl Wisdom