![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help in splitting a line into fields in shell scripting | punithavel | Shell Programming and Scripting | 2 | 06-25-2008 05:01 PM |
| How do i iterate thru each line of a file in shell scripting? | Ravi Varma | Shell Programming and Scripting | 2 | 09-06-2007 12:28 AM |
| End of Line in Shell Scripting | 33junaid | Shell Programming and Scripting | 2 | 08-12-2007 12:03 PM |
| Delete Portion of a file | sameersbn | High Level Programming | 2 | 01-20-2007 12:16 AM |
| who to deal with whole line in shell scripting | KSA | Shell Programming and Scripting | 2 | 08-02-2006 09:12 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Delete a portion of a line using shell scripting
Hi all,
I am new to awk programs.I have a file like this 1234567@2345|[HELLO]|adcbdefhij: asgdfdasdfhhfd-asdfasd-dsfasdf |0.678|0.0|0.213 1234567@2345|[HELLO]|adcbdefhij: ashhfd-asdfasd-dsfasdf |0.129|0.0|0.411 1234567@2345|[HELLO]|adcbdefhij: asd-aasd-dasdf |0.223|0.0|0.276 I want to delete the text which occurs between @ and : And also is it possible to remove the theses numbers which occur at the end of every line |0.223|0.0|0.276 This is urgent...Any help would be appreciated.... Thanks in Advance |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|