#!/usr/bin/perl -s use strict; my $count = 1; while (<>) { my @fields = split; print "@fields[0..16] ", $count++, " $fields[18]\n"; }
In reply to Re: seeking improvement in my smiple program using regular expression
by bruceb3
in thread seeking improvement in my smiple program using regular expression
by convenientstore
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |