in reply to Re^2: how to find differences between two huge files
in thread how to find differences between two huge files
Sure.
m[ ^ # From the start of the record ( # capture [^|]+ # everything that is not a pipe char ) \| # upto but excluding the first pipe char ]x
In essence, grab the first field of a pipe delimited record into $1.
Assumes that that field doesn't contain an escaped or quoted pipe character. Which is the normal case.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: how to find differences between two huge files
by chrism01 (Friar) on Jan 25, 2008 at 01:37 UTC | |
by BrowserUk (Patriarch) on Jan 25, 2008 at 01:44 UTC |