[18:37] is there a way i can find out how many lines in a file contain a certain string? [19:15] dorgan: would wc do the trick for you? [19:15] yeah thats what i ended up using [19:15] cat | grep | wc -l [19:16] :) [19:16] Now you have to do that in perl ;) [20:20] perl -e 'my $count = 0; while (my $line = ) { $count++ if $line =~ s/pattern/; } print $count;' [20:20] ^^ not verified [21:24] Hello everybody, I don't speak english well! So I have a probleme: I have windows 7 in my pc and I installed ubuntu 12.04. So when I start the computer I don't see the windows partition in the grub menu. I need help, PLEASE! [22:46] moha85, bah.. he left [22:46] sudo update-grub ...