[LUGOS] Dolzina vrstice

hipe at sdf-eu.org hipe at sdf-eu.org
Thu Oct 27 13:03:58 CEST 2005


On Thu, Oct 27, 2005 at 12:55:27PM +0200, Grega Fajdiga wrote:
> Pozdravljeni!
> 
> Zanima me, kako bi lahko v Linuxu preveril ali je v datoteki z
> golim besedilom katera od vrstic daljsa od 35 znakov. Najbrz se
> to da storiti s Perlom ali sedom? O teh stvareh na zalost nimam
> pojma :-(

    egrep '^.{35,}' filename

lp
Petar
-- 
hipe at member.fsf.org    -- Free Software Foundation         - http://member.fsf.org
hipe at sdf-eu.org        -- SDF-EU Public Access UNIX System - http://sdf-eu.org


More information about the lugos-list mailing list