- or download this
perl -F: -al0ne '$i||=1;/^n/&&print$i;!/^u/&&print$F[1];/^$/&&$i++&&pr
+int$/'
- or download this
LINE: while (defined($_ = <ARGV>)) {
chomp $_;
...
print $F[1] if not /^u/;
print $/ if /^$/ and $i++;
}
- or download this
perl '-F: ' -al0ne '!/^u/&&print qq($F[1] );/^$/&&print$/'