shel spocitat radky?
Martin `MJ' Mares
mj na ucw.cz
Čtvrtek Únor 23 11:35:45 CET 2006
> Na neprázdné řádky by šlo 'grep -c .', pokud byste chtěl i prázdné, tak
> třeba tohle?
>
> #!/bin/bash
> grep -c '
> ' $1
Nebo grep -c ^ $1, to je jeste jednodussi.
Have a nice fortnight
--
Martin `MJ' Mares <mj na ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
Why is it called "common sense" when nobody seems to have any?
Další informace o konferenci Linux