getting rid of box

2002-08-02 Thread Larry Steinberg

I have these coming up when creating a report:

ma, BC: 1
bost, : 1
Montroyal, QC: 1
waltam, MA: 1
Quebec, QC: 1
booger, MA: 1
Franklinxxx, MA: 1
BOSTI, MA: 1

How do I rid the report of these boxes?

--
-Larry



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: getting rid of box

2002-08-02 Thread Kipp, James

well you did not supply much information here, but i have seen those 
before, and it usually a chomp or chop in the right place(s) of the routine
that spins the data does the trick

 -Original Message-
 From: Larry Steinberg [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 02, 2002 11:58 AM
 To: [EMAIL PROTECTED]
 Subject: getting rid of box
 
 
 I have these coming up when creating a report:
 
 ma, BC: 1
 bost, : 1
 Montroyal, QC: 1
 waltam, MA: 1
 Quebec, QC: 1
 booger, MA: 1
 Franklinxxx, MA: 1
 BOSTI, MA: 1
 
 How do I rid the report of these boxes?
 
 --
 -Larry
 
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: getting rid of box

2002-08-02 Thread Mark Anderson

How are you creating the report?

If you are using some sort of print statement, what does it look like?

Where is the data coming from?

The boxes are non-printing characters of some sort.  If you know that you
are only going to use a small set of printable characters, you could
probably create a regex that would delete all of the other characters from
your strings.


/\/\ark

-Original Message-
From: Larry Steinberg [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 02, 2002 8:58 AM
To: [EMAIL PROTECTED]
Subject: getting rid of box


I have these coming up when creating a report:

ma, BC: 1
bost, : 1
Montroyal, QC: 1
waltam, MA: 1
Quebec, QC: 1
booger, MA: 1
Franklinxxx, MA: 1
BOSTI, MA: 1

How do I rid the report of these boxes?

--
-Larry



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: getting rid of box

2002-08-02 Thread Timothy Johnson


You should pick up a freeware hex editor (there are a few of them on the
net, I've been using xvi32) and find out what the hex value of the
non-printable characters are, then you can create a regex to strip them out.

-Original Message-
From: Mark Anderson [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 02, 2002 9:06 AM
To: Larry Steinberg; [EMAIL PROTECTED]
Subject: RE: getting rid of box


How are you creating the report?

If you are using some sort of print statement, what does it look like?

Where is the data coming from?

The boxes are non-printing characters of some sort.  If you know that you
are only going to use a small set of printable characters, you could
probably create a regex that would delete all of the other characters from
your strings.


/\/\ark

-Original Message-
From: Larry Steinberg [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 02, 2002 8:58 AM
To: [EMAIL PROTECTED]
Subject: getting rid of box


I have these coming up when creating a report:

ma, BC: 1
bost, : 1
Montroyal, QC: 1
waltam, MA: 1
Quebec, QC: 1
booger, MA: 1
Franklinxxx, MA: 1
BOSTI, MA: 1

How do I rid the report of these boxes?

--
-Larry



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: getting rid of box

2002-08-02 Thread Larry Steinberg

Yeah, sorry. Here's the sub.

 #the boxes appear right after the comma after tPara, in the bottom block
(where tPara is the city and sPara is the state).

sub parseUrl {

$nPara = $tPara = ;

($nPara) = ( $line =~ /[\?]N=([^\s]+)/i );
if ($nPara ne ) { $nPara = unpack_clean($nPara); }

($tPara) = ( $line =~ /[\?]T=([^\s]+)/i );
if ($tPara ne ) { $tPara = unpack_clean($tPara); }
 chomp($tPara);

($sPara) = ( $line =~ /[\?]S=([^\s]+)/i );
if ($sPara ne ) { $sPara = unpack_clean($sPara); }

if ($tPara ne   $err eq cit) {
# print $tPara\t$sPara\n;
 if (exists $userCit{$tPara,, $sPara}) { $userCit{$tPara,,
$sPara}++; }
 else { $userCit{$tPara,, $sPara}=1; $countCit++;}
}

James Kipp [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]
...
 well you did not supply much information here, but i have seen those 
 before, and it usually a chomp or chop in the right place(s) of the
routine
 that spins the data does the trick

  -Original Message-
  From: Larry Steinberg [mailto:[EMAIL PROTECTED]]
  Sent: Friday, August 02, 2002 11:58 AM
  To: [EMAIL PROTECTED]
  Subject: getting rid of box
 
 
  I have these coming up when creating a report:
 
  ma, BC: 1
  bost, : 1
  Montroyal, QC: 1
  waltam, MA: 1
  Quebec, QC: 1
  booger, MA: 1
  Franklinxxx, MA: 1
  BOSTI, MA: 1
 
  How do I rid the report of these boxes?
 
  --
  -Larry
 
 
 
  --
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: getting rid of box

2002-08-02 Thread Larry Steinberg

I just looked at the file with vi and the character is a combination
circumflex backslash. I'll give it a shot trying to prevent them with regex.

Timothy Johnson [EMAIL PROTECTED] wrote in message
C0FD5BECE2F0C84EAA97D7300A500D50046DC9E4@SMILEY">news:C0FD5BECE2F0C84EAA97D7300A500D50046DC9E4@SMILEY...

 You should pick up a freeware hex editor (there are a few of them on the
 net, I've been using xvi32) and find out what the hex value of the
 non-printable characters are, then you can create a regex to strip them
out.

 -Original Message-
 From: Mark Anderson [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 02, 2002 9:06 AM
 To: Larry Steinberg; [EMAIL PROTECTED]
 Subject: RE: getting rid of box


 How are you creating the report?

 If you are using some sort of print statement, what does it look like?

 Where is the data coming from?

 The boxes are non-printing characters of some sort.  If you know that you
 are only going to use a small set of printable characters, you could
 probably create a regex that would delete all of the other characters from
 your strings.


 /\/\ark

 -Original Message-
 From: Larry Steinberg [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 02, 2002 8:58 AM
 To: [EMAIL PROTECTED]
 Subject: getting rid of box


 I have these coming up when creating a report:

 ma, BC: 1
 bost, : 1
 Montroyal, QC: 1
 waltam, MA: 1
 Quebec, QC: 1
 booger, MA: 1
 Franklinxxx, MA: 1
 BOSTI, MA: 1

 How do I rid the report of these boxes?

 --
 -Larry



 --
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 --
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: getting rid of box

2002-08-02 Thread Janek Schleicher

Larry Steinberg wrote at Fri, 02 Aug 2002 19:12:06 +0200:

 sub parseUrl {

There are modules parsing urls.
E.g.:

use CGI qw/:standard/; 
$q = CGI-new(key=valueblank=%20); 
use Data::Dumper; 
print Dumper(\{$q-Vars})


Cheerio,
Janek


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: getting rid of box

2002-08-02 Thread Larry Steinberg

Thanks. I'll give it a shot - Monday. 8-)

Janek Schleicher [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Larry Steinberg wrote at Fri, 02 Aug 2002 19:12:06 +0200:

  sub parseUrl {

 There are modules parsing urls.
 E.g.:

 use CGI qw/:standard/;
 $q = CGI-new(key=valueblank=%20);
 use Data::Dumper;
 print Dumper(\{$q-Vars})


 Cheerio,
 Janek




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]