![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| removing characters | dr_sabz | UNIX for Dummies Questions & Answers | 2 | 01-05-2009 06:02 PM |
| Removing ^D and ^H characters | arsheshadri | HP-UX | 1 | 06-26-2008 09:01 AM |
| Removing Headers and a Column | DerangedNick | Shell Programming and Scripting | 30 | 02-01-2008 05:02 PM |
| Help with removing characters like ^M | chiru_h | Shell Programming and Scripting | 16 | 02-13-2007 10:07 AM |
| removing a column from list | jxh461 | Shell Programming and Scripting | 3 | 10-09-2002 04:20 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Removing last ten characters from a column
I have a file that looks like this:
hsa-miR-517b-4373244 0 4.116 hsa-miR-886-5p-4395304 1.173 1.95 hsa-miR-551b-4380945 1.62 1.722 hsa-miR-886-3p-4395305 1.479 3.074 hsa-miR-125a-3p-4395310 1.246 2.697 hsa-miR-874-4395379 1.985 1.721 I want it too look like this: hsa-miR-517b 0 4.116 hsa-miR-886-5p 1.173 1.95 hsa-miR-551b 1.62 1.722 hsa-miR-886-3p 1.479 3.074 hsa-miR-125a-3p 1.246 2.697 hsa-miR-874 1.985 1.721 ...etc. Any suggestions using unix and / or perl commands? ~much appreciated in advance. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|