in reply to Re^2: Allen Ginsberg - Is About WOW (possible spoiler)
in thread Allen Ginsberg - Is About
You misinterpreted my usage of tr.
Hmmm... well, let me look at it again...
Complementing the search list means you're going to match everything, right? So deleting found but unreplaced chars is the same as deleting all chars not in the replace string right?
Oh, I see. How'd I miss that? Order matters, of course. So you're mapping null to newline, 001 to space, and so on. Have I got it closer this time?
In fact - you should look at the data that is assigned to $_.
Yeah, but I don't understand the debugger well enough to get started there. I suppose I could insert some gratuitous print LOG $_ statements... Yes, I think I'm closer now. (BTW, for anyone else doing this, your terminal won't like some of those data; send it to a file and open it in Emacs instead.)
BTW, when I look at the data you're getting out of the debugger, it makes me remember why I never bothered learning to use the debugger.
for(unpack("C*",'GGGG?GGGG?O__\?WccW?{GCw?Wcc{?Wcc~?Wcc{?~cc' .'W?')){$j=$_-63;++$a;for$p(0..7){$h[$p][$a]=$j%2;$j/=2}}for$ p(0..7){for$a(1..45){$_=($h[$p-1][$a])?'#':' ';print}print$/}
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Allen Ginsberg - Is About WOW (possible spoiler)
by diotalevi (Canon) on Mar 11, 2003 at 14:38 UTC |