in reply to Re: Splitting Data
in thread Splitting Data
$ cat temp.txt | perl -ne 'print "$_\n" for /\[\d+\]\s*=\s*\d+/g' [0] = 1 [1] = 2 [2] = 3 [3] = 4 [4] = 5 [5] = 6 [6] = 7 [7] = 8 [8] = 9 [9] = 10 [10] = 1 [11] = 2 [12] = 3 [13] = 4 [14] = 5 [15] = 6 [16] = 7 [17] = 8 [18] = 9 [19] = 10
--
flounder
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Splitting Data
by b10m (Vicar) on Dec 08, 2003 at 20:57 UTC | |
by flounder99 (Friar) on Dec 10, 2003 at 01:46 UTC |