in reply to Seperating individual lines of a file
perl -ne 'open(FILE, ">>".$1) if /^(.*?)\s(.*)$/; print FILE $2."\n"; +close FILE' data_file
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Seperating individual lines of a file
by blazar (Canon) on Feb 03, 2006 at 12:42 UTC |