$read the first x lines of a text file?

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
R
Rasil
Voice
Posts: 1
Joined: Sun Mar 23, 2008 5:47 pm

$read the first x lines of a text file?

Post by Rasil »

Hello :)

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 :)

greets
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Post Reply