http://qs321.pair.com?node_id=86210

Recently several obfuscations have ceased to work correctly, for instance Codici obfuscati and Abberwockyjae by me and *Yawn*, more late night obfu. by lindex (before chipmunk's edit). The problem is linked to the ^M's that are being spit out by the XML generator.

In the case of lindex's code, the ^M at the beginning was causing the problem, and chipmunk was able to suppress this by having the code start directly after the <code> tag. In the case of the two Perligata obfu's I mention, the problem lies in the ^M after the "finis" and before the start of the DATA. I can't seem to find a way to suppress this from within the edit box.

Codici obfuscati actually worked when I first uploaded it, (I downloaded it to check...). Now, however, I get an error (Accusitive not connected at line 20). (The error in the other program complains about "Something barbarous (i.e. punctuation) found" in the DATA lines.) Thus, I assume that this is a recent change, but one that I hope can be fixed.

Replies are listed 'Best First'.
Re: Problems with CODE tags
by ZZamboni (Curate) on Jun 07, 2001 at 00:38 UTC
    I've found this to be a problem with some code too. But there's always:
    perl -pi -e 'tr/\r//d' file.pl
    after you download.

    --ZZamboni

Re: Problems with CODE tags
by Brovnik (Hermit) on Jun 08, 2001 at 23:20 UTC
    I have
    alias chomp="perl -pi -e 'tr/\r//d'"
    defined in .bashrc, then
    chomp download.pl
    Does what I need. (Maybe I should have called it chop).
    --
    Brovnik