![]() |
|
|
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 |
| Problem working with Pipe Delimited Text file | ravi0435 | UNIX for Dummies Questions & Answers | 9 | 01-06-2009 01:04 PM |
| How to generate a pipe ( | ) delimited file? | anushree.a | Shell Programming and Scripting | 5 | 10-15-2008 03:35 AM |
| How to split pipe delimited file | njgirl | Shell Programming and Scripting | 4 | 06-18-2008 06:15 PM |
| splitting a pipe delimited file in unix | ddedic | Shell Programming and Scripting | 4 | 03-20-2007 01:16 AM |
| Grep for NULL in a pipe delimited file | sureshg_sampat | Shell Programming and Scripting | 5 | 11-21-2006 06:15 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Extracting from pipe delimited file.
Hey,
I am new to regualar expression. I wanted to extract the information from a pipe delimited file which has some entries like L|S2CMG1B|||-11178399||1|-8.65|IRCSH|BOND||||N|S|IRDL|AUD||CRP|STD|CRP|M|0|1|||CSH||||OTHER|01|DE|KFW|50418Y9T5|||||||||||2||| ||| In this I want to extract the parts between various pipes. The entries between pipe may or may not be null. I have got that using split function but I want to try with Regular expressions to check for the performance difference between split and regular expressions. The entries between pipes in going to be alphanumeric. Can anyone please help me with that? Thanks lee |
|
|||||
|
if you want to compare performance difference of two codes (between split and regular expressions), CPAN module Devel::DProf would be helpful for you
|
![]() |
| Bookmarks |
| Tags |
| perl, regex versus split |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|