PDA

View Full Version : awk script


jeremas
11-06-02, 19:10
People:

I´m not very good on awk and I would like to know if someone could suggest:

I have a very big file which has lots of data and I would like to get just some information from it.

I would like to keep in other file information from 2002-11-05-00.00.00 till 2002-11-05-23.59.59

How I could sent such data to another file using the original file ?

I will appreciate your help..

backer
11-27-02, 15:30
Originally posted by jeremas
People:

I´m not very good on awk and I would like to know if someone could suggest:

I have a very big file which has lots of data and I would like to get just some information from it.

I would like to keep in other file information from 2002-11-05-00.00.00 till 2002-11-05-23.59.59

How I could sent such data to another file using the original file ?

I will appreciate your help..

Need more information... can you show us a small section of the file you are talking about? From what I read sounds more like a grep thing than an Awk thing... More data
b

WingMan
11-28-02, 12:22
Yep, we would need atleast one line from the datafile to see how the data is formatted. If you don't want to put your data here, then extract one line and change the details ;)