![]() |
|
|
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 |
| Split a file with no pattern -- Split, Csplit, Awk | madhunk | UNIX for Dummies Questions & Answers | 10 | 12-17-2007 12:57 PM |
| split string help | senthilk615 | Shell Programming and Scripting | 4 | 03-27-2006 07:43 PM |
| conditional split | braindrain | Shell Programming and Scripting | 5 | 03-11-2006 03:54 AM |
| split a string | gazingdown | Shell Programming and Scripting | 3 | 02-09-2006 05:34 AM |
| Split | AkumaTay | UNIX for Dummies Questions & Answers | 1 | 08-18-2001 08:50 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
help with split
I have a file that reads "#ID, First, P1(40), P2(40), P3(40)..." and I need to split this line up.
I first did @scores = split(/,/, $input); But I need to split it up and get the the parentheses with numbers split up too, in order to add them together later. I know I need to do at least one more split, but am not sure how to go about it |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|