I need to tail -f just a few colums o a text file
This file is in this format, which I tail -f from putty on a PC:
30-Jan-2007 13:03:28 Pwcws 1.30 [KSFH] ---- Entry ----
30-Jan-2007 13:03:28 Pwcws 1.30 [KSFH] Account:
30-Jan-2007 13:03:28 Pwcws 1.30 [KSFH] Collection: default
30-Jan-2007 13:03:28 Pwcws 1.30 [KSFH] User: (Anon)
I now have putty for the Nokia E61 and its screen is narrower. What I want to do is tail -f > {something} so that only the essential columns are shown, which in this case are:
13:03:28 ---- Entry ----
13:03:28 Account:
13:03:28 Collection: default
13:03:28 User: (Anon)
i.e. the 13th-22nd chars then the 40th to the line end. A cinch for you BASH veterans!!!! Thanks.
|