Advertisement

07.05.2007 at 03:50PM PDT, ID: 22678191 | Points: 500
[x]
Attachment Details

simple ksh scripting

Asked by beginer92 in Shell Scripting, Perl Programming Language, Regular Expressions

Tags: ,

I have a file in the following format
12:34 12:30 12:489905
45:755558 25:35 54:78
78:56 1555554:20 62:81
4115:56 45:555556 45:56

I need to add up the the valuse before the semicolon for each row and output it in another file. So the contents of the file would look like this :
36 (which is 12+12+12)
134 (which is 45+25+54)
.
.
. and so on
Start Free Trial
[+][-]07.05.2007 at 04:15PM PDT, ID: 19428323

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.05.2007 at 04:19PM PDT, ID: 19428359

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.05.2007 at 04:33PM PDT, ID: 19428415

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.05.2007 at 05:42PM PDT, ID: 19428668

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.05.2007 at 09:43PM PDT, ID: 19429582

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.21.2008 at 03:24AM PST, ID: 20705073

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32