> -Original Message-
> From: David Buddrige [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 19, 2002 12:45 AM
> To: [EMAIL PROTECTED]
> Subject: Removing line-feed characters from a text file.
>
> ... How to determine the exact value of a non-printable character in a
> text file.
I
David Buddrige wrote:
>
> Hi all,
Hello,
> I have a bunch of C++ source files that have had form-feed characters
> inserted in them every so often. In vi and emacs these characters
> appear as ^L. I am wanting to write a short perl script that will pull
> out these characters; I am thiking of
do something like
{
local($/)=undef;
$str=;
$str=~s/\f+//g;
}
David Buddrige wrote:
Hi all,
I have a bunch of C++ source files that have had form-feed characters
inserted in them every so often. In vi and emacs these characters
appear as ^L. I am wanting to write a short perl script that w
Hi all,
I have figured it out! Script is below:
while(<>)
{
$_ =~ s/\f//g;
print;
}
thanks guys
David
David Buddrige wrote:
Hi all,
I have a bunch of C++ source files that have had form-feed characters
inserted in them every so often. In vi and emacs these characters
appear as