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.
convert columns into row with awk
Name: MYS Date: May 29, 2008 at 02:38:46 Pacific OS: windows CPU/Ram: 3G Product: Dell
Comment:
my file contains data in the following format
1951 1 10 1951 1 20 1951 1 30 1951 1 40
1952 1 12 1952 1 22 1952 1 32 1952 1 42 and so on
I want to look like
1951 10 20 30 40 1952 12 22 32 42
each year (1951 to 2004) has 54 rows and I want values under each row to be in one row and the years at 1st column like I wrote above.
Summary: I have a txt file with description of many different variables, smt like: "....... $Start_engine -- starting engine $Kill_process -- kills a process $Find_Gates_and_kill_him -- search for a windows pc...
Summary: Dear all, How I can find the number of line(that my string exists) with awk or sed (not grep). for example :(my file) xxxxaaaxxxx rrrrrrrrrrrrrrrrrr xxxxbbbbbxxxx zzzzzaaazzzzz zzzzzbbbbbzzzz I want ...
Summary: hi i'm having a problem in converting months into numericals like converting jan into 1,feb into 2..i can use a case structure.wont be a problem but i'm wondering if there i can use date function for...