Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: grep ? cat? tail?


  • Subject: Re: lug-bg: grep ? cat? tail?
  • From: borj@xxxxxxxxx (Boris Jordanov)
  • Date: Thu, 16 May 2002 17:52:25 +0300



On Thu, 16 May 2002 17:06:47 +0300
Borislav Nedialkov <b_ned@xxxxxxxxxxxxxxx> wrote:

> 
> Otnovo Sorry - eto go raboteshto....no iska pamet?
> 

Mnogo grubo, neobhodimo li e?
=============================
#!/usr/bin/perl

open FILE, "/var/log/messages" or die $!;

my $startline = 280;
my $endline = 289;
my $currentline = 0;
my $line;

while ($currentline<$startline)
{
        $line=<FILE>;
        $currentline++;
}

while ($currentline<$endline)
{
        $line=<FILE>;
        print $line;
        $currentline++;
}
=============================
Gornoto e naburzo skulapeno, no pone ne iska pamet, ako ima interes moga da go dopisha da poema argumenti i prochee, da stane izpolzvaemo. Plz, ne go komentirajte kato kod, nito sum mislil proverkite dali sa korektni nito nishto, prosto koncepcia.

Take care

Boris Jordanov (borj) <borj@xxxxxxxxx>
ICQ 10751645

PGP-key-fingerprint:------------------------------
CB23 8B52 5FBC F36A 1B61  F1ED 2831 E52D AAFF 7B08
--------------------------------------------------
Public-key:---------------------------------------
http://borj.freeshell.org/borj.asc
--------------------------------------------------
To err is human...
to really foul up requires the root password.

<HR>
<UL>
<LI>application/pgp-signature \\\\\\\\\ \\\\: stored
</UL>

============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.