egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

$read the first x lines of a text file?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Rasil
Voice


Joined: 23 Mar 2008
Posts: 1

PostPosted: Sun Mar 23, 2008 6:08 pm    Post subject: $read the first x lines of a text file? Reply with quote

Hello Smile

i know .. my first post and i'm starting with a request .. but i need help

what i want is to read the first eg 10 (prefer'd configurable) lines from a text file

the text file looks like:

2007-10-08 16:37:35 Text.Text.Text -byThomas

The output should look like:

[Posted] [Text.whatever] x minutes(days,..) ago [-byThomas]

hopefully someone finds time and will write this script for me - it would be very appreciated Smile

greets
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Mar 23, 2008 9:43 pm    Post subject: Reply with quote

http://forum.egghelp.org/viewtopic.php?t=6885
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber