Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Extracting of data
Name: ex Date: September 28, 2005 at 06:37:24 Pacific OS: UNIX CPU/Ram: 512M
If I have a input like that how can I convert to the output I want. I need all the lines starting with FA and only the latest line starting with CBN assuming I can already sort the whole thing in order. I need to cut away those line starting with CBN except the last one before lines starting with FA. The number of CBN lines will varies.
Summary: I need to extract all data from a file (that is dated 90 days or recent) from the day that the script is run. For ex: if the script is run on 4/1/07 I need to extract all data in the file from 01/01/...
Summary: How to sort data? I have a set of data that I wish to sort by using a Unix script. The data is similar to the set given below. Columns represent x-, y- and z-coordinates and are supposed to be sorted ...