$ 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
In reply to Re: Re: Splitting Data
by flounder99
in thread Splitting Data
by maxl90
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |