in reply to Reading something which is next to it :

As you gave no code neither shall I ;-)

For the various fields try splitting on : and testing the first value to see which one it is, or if they will always be in that order with nothing intervening just do the split and write the parts out in order. You will have to open the various files you want to write to, it's polite to close them after you have written too.

For the time locatime gives you it in epoch seconds, you can get a lot of nice formats if you use POSIX and then strftime ('format', localtime). Google on strftime.

Cheers,
R.

Pereant, qui ante nos nostra dixerunt!
  • Comment on Re: Reading something which is next to it :

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.