You are basically saying that when you execute these two lines:

$ba = "cleartool rmtype –rmall lbtype:$labelnew"; #121#print "$ba";

you get this output (assuming that $labelnew contains LABEL):

cleartool rmtype ūrmall lbtype:LABEL

The simple answer is: That cannot happen!. But since you're here asking, you've obviously seen it happen, so the question is how could that come about.

The only possibility that comes to mind is that the editor you are using has somehow encoded a unicode character within your source file that displays as '-', but when interpreted as ascii (or roman1 or whatever codepage is selected on your terminal where you are viewing the output), it appears as the accented character you see there.

To check that hypothesis, I viewed the source of your post in my editor and what I found is that the '-' character shown in your post above, is actually a unicode multibyte character. I tried to paste a copy of what I see here, but once it has been through the process of being pasted in my browser, uploaded to PM, stored and retrieved through their DB and re-displayed, it looks like an ordinary '-' again.

So, my suggestion is this.

  1. Go into the source file in your editor and delete the 3 characters ' -r' in that line and save the file and exit the editor (completely).
  2. Re-start the editor and re-load the source file and re-type those 3 characters.
  3. Save it and re-run the program.

With luck the problem will have "gone away". If not, sorry to have wasted your time.

(Are you using Word as your source editor? If not, which editor are you using?)


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

In reply to Re: Printing - on windows by BrowserUk
in thread Printing - on windows by jevaly

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.