in reply to Remove return on multiple lines between 2 characters
gets me ...open(FILE, "<" , \$lines); while (<FILE>) { chomp; # strip record separator if(/\)$/) { $f=2; } if (/^\*/) { $f=1; } if ($f == 1) { print $_; } if ($f==2) { chomp; # strip record separator print " " . $_ . "\n"; } }
* The maximum file offset handling for ext4 file systems could allow alocal, unprivileged user to cause a denial of service. (CVE-2011-2695, Important) * IPv6 fragment identification value generation could allow a remoteattacker to disrupt a target system's networking, preventing legitimate users from accessing its services. (CVE-2011-2699, Important) * A malicious CIFS (Common Internet File System) server could send aspecially-crafted response to a directory read request that would result ina denial of service or privilege escalation on a system that has a CIFS share mounted. (CVE-2011-3191, Important)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Remove return on multiple lines between 2 characters
by tybalt89 (Monsignor) on Jul 18, 2017 at 21:22 UTC | |
by AnewSmurf (Initiate) on Jul 18, 2017 at 21:26 UTC |