Rob Dixon wrote:
>
> OK, but you still haven't solved the problem. Joseph's intent was
> to show you how to examine the raw data, but I doubt he would
> expect you to process a text file in that way.
> ...
> I really hope that this doesn't fall on deaf ears. So many
> people grab hold of anything
Westcott Andrew-AWESTCO1 wrote:
> Hi,
>
> You have solved my problem, the key was in your script. I had not been
> reading the file in binary mode and so the different LF and CR where getting
> lost.
>
> Thanks
>
> I did run the script you sent which was very help full and I will store that
> away
Rob Dixon wrote:
> R. Joseph Newton wrote:
> >
> > Maybe you should do a binary/text dump of the file. Chose a set of meanguful
> > printing characters to print as character, printi anything outside of this range
> > as hex. Something like:
>
> I like that: 'meanguful'. I shall have to try to fi
Andrew Westcott wrote:
>
> You have solved my problem, the key was in your script. I had not been
> reading the file in binary mode and so the different LF and CR where getting
> lost.
>
> Thanks
>
> I did run the script you sent which was very help full and I will store that
> away as I'm sure it
ECTED]
Subject: Re: Help with end of line charaters
Westcott Andrew-AWESTCO1 wrote:
> Hi,
>
> I'm new to perl but need to write a script that takes a file and formats
> lines.
>
> The file has to 2 fields that are tab separated and each field is made up
of
> items separated by
David Le Blanc wrote:
>
>
> use Dumper::HexDump;
That's
Data::HexDump
:)
> print HexDump( $whole_durn_thang );
>
> Makes for very pretty output, if you like that sort of thing..
>
> You may need to put Dumper::HexDump from CPAN
> (as in :
> % perl -MCPAN -e shell
> cpan> install Dumper::HexDu
R. Joseph Newton wrote:
>
> Maybe you should do a binary/text dump of the file. Chose a set of meanguful
> printing characters to print as character, printi anything outside of this range
> as hex. Something like:
I like that: 'meanguful'. I shall have to try to fir it into my conversation :)
>
Andrew Westcott wrote:
>
> I'm new to perl but need to write a script that takes a file and formats
> lines.
>
> The file has to 2 fields that are tab separated and each field is made up of
> items separated by some type of linefeed character. The end of the second
> field is identified by another
> -Original Message-
> From: R. Joseph Newton [mailto:[EMAIL PROTECTED]
> Sent: Monday, 23 February 2004 4:50 PM
> To: Westcott Andrew-AWESTCO1
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: Help with end of line charaters
>
> Westcott Andrew-AWESTCO1 wrote:
Westcott Andrew-AWESTCO1 wrote:
> Hi,
>
> I'm new to perl but need to write a script that takes a file and formats
> lines.
>
> The file has to 2 fields that are tab separated and each field is made up of
> items separated by some type of linefeed character. The end of the second
> field is identi
> From: Westcott Andrew-AWESTCO1 [mailto:[EMAIL PROTECTED]
> Sent: Sunday, 22 February 2004 10:08 PM
> To: '[EMAIL PROTECTED]'
> Subject: Help with end of line charaters
>
> Hi,
>
> I'm new to perl but need to write a script that takes a file
> an
Hi,
I'm new to perl but need to write a script that takes a file and formats
lines.
The file has to 2 fields that are tab separated and each field is made up of
items separated by some type of linefeed character. The end of the second
field is identified by another type of linefeed character.
12 matches
Mail list logo