Urgent_need to delete columns with numbers | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Urgent_need to delete columns with numbers

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-11-2012
AAWT AAWT is offline
Registered User
 
Join Date: Feb 2012
Last Activity: 6 June 2013, 5:38 AM EDT
Posts: 37
Thanks: 9
Thanked 0 Times in 0 Posts
Urgent_need to delete columns with numbers

Dear all,
I have one file (see below) with more then 100 columns, and need only column which has GType in label with Alphabets, please help me to remove this columns with numbers.
input file is

Code:
       n.201.GType    n-201.Theta    n-201.R   n_1.GType    n_1.Theta     n_1.R          n_7.GType      n_7.Theta        n_7.R   
                        BB                  0.823115       1.23659            BB       0.791365      1.274946              AB          0.441334       1.666898   
                       AA                  0.02399          1.526078         AA        0.021785     1.578031              AA          0.013456        1.527924

output should be

Code:
       n_201.GType   n_1.GType   n_7.GType
                           BB                    BB                AB   
                         AA                     AA               AA

waiting for the urgent reply

thanks
Sponsored Links
    #2  
Old 12-11-2012
Scott's Avatar
Scott Scott is offline Forum Staff  
Administrator
 
Join Date: Jun 2009
Last Activity: 24 October 2014, 6:03 AM EDT
Location: Zürich
Posts: 8,484
Thanks: 332
Thanked 1,047 Times in 914 Posts
Everyone at the UNIX and Linux Forums gives their best effort to reply to all questions in a timely manner. For this reason, posting questions with subjects like "Urgent!" or "Emergency" and demanding a fast reply are not permitted in the regular forums.

For members who want a higher visibility to their questions, we suggest you post in the Emergency UNIX and Linux Support Forum. This forum is given a higher priority than our regular forums.

Posting a new question in the Emergency UNIX and Linux Support Forum requires forum Bits. We monitor this forum to help people with emergencies, but we do not not guarantee response time or best answers. However, we will treat your post with a higher priority and give our best efforts to help you.

If you have posted a question in the regular forum with a subject "Urgent" "Emergency" or similar idea, we will, more-than-likely, close your thread and post this reply, redirecting you to the proper forum.

Of course, you can always post a descriptive subject text, remove words like "Urgent" etc. (from your subject and post) and post in the regular forums at any time.


Thank you.

The UNIX and Linux Forums
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
reducing values in columns with both numbers and letters olifu02 Shell Programming and Scripting 7 02-10-2012 06:58 PM
Multiply numbers in two columns and then add. shoaibjameel123 Shell Programming and Scripting 7 10-28-2011 01:11 AM
Reversing numbers in a datafile of rows and columns mattings Shell Programming and Scripting 16 04-17-2009 08:03 AM
delete numbers in a filename villain41 Shell Programming and Scripting 3 02-12-2009 03:49 AM
AWK solution to subtract multiple columns of numbers awkward Shell Programming and Scripting 3 01-18-2009 01:01 PM



All times are GMT -4. The time now is 07:19 AM.