Re: translation

2003-01-22 Thread GoodTimeTribe
Hrmm.. now, how to do the reverse. I know you're wondering, "how new is NEW," but I'm a seasoned pascal and standard c programmer, who's busy schedule hasn't allow me to read much past strings in the manual, so I I've never heard of "tr". peace be with you Joshua the manualAt 1/20/2003 04:35 P

Re: translation and its attachment

2003-01-21 Thread R. Joseph Newton
It's a pgp [Pretty Good Privacy] signature file--used to assure that this post is indeed from: Mat Harris OpenGPG Public Key ID: C37D57D9. Netscape Messenger 4.x doesn't seem to know what to do with it when I try to open it.. The plug-in finder found no appropriate plug-ins,

Re: translation

2003-01-20 Thread Ben Siders
I suspect we're being baited, but I'll bite. Write this as a normal Perl program: #!/usr/bin/perl $_="7P0>374;"; tr[0->][ LEOR!AUBGNSTY]; print; It's setting the default variable to that goofball string and then translating the characters. If you process through the translation, you get a r

Re: translation

2003-01-20 Thread Rob Dixon
I smell a troll. Sniff. /R -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: translation

2003-01-20 Thread George Schlossnagle
sure -l: sets the input and output record separators. here it has the effect of post-pending a newline at the end of the record. -e: run the command afterwards. $_ = "7P0>374;"; set $_ to the string 7P0>374; tr[0->][ LEOR\!AUBGNSTY]; Apply the transliteration operator to $_. Transla

Re: translation

2003-01-20 Thread Rob Dixon
Mat Harris wrote: My email doesn't allow any attachments. Can't you post in the message body? Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: translation

2003-01-20 Thread Jeff 'japhy' Pinyan
On Jan 20, Mat Harris said: >my boss emailed me this little snippet this morning and I have to confess it >has me stumped. > >Please can someone break down this translation for me? I hope you (or your boss) have a sense of humor. >perl -le '$_="7P0>374;";tr[0->][ LEOR!AUBGNSTY];print' Do you kn

RE: translation

2003-01-20 Thread Bob Showalter
Mat Harris wrote: > my boss emailed me this little snippet this morning and I have to > confess it has me stumped. > > Please can someone break down this translation for me? > > perl -le '$_="7P0>374;";tr[0->][ LEOR!AUBGNSTY];print' > > thanks Perhaps your boss doesn't like you? -- To unsubsc

Re: translation and its attachment

2003-01-20 Thread Rob Richardson
Mat, Why did your message have an attachment named "file.bin"? Yahoo's virus scan said it was clean, but it still makes me nervous. RobR __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To un

Re: translation of logical operators

2002-02-02 Thread Jonathan E. Paton
--- Filson <[EMAIL PROTECTED]> wrote: > Dear perl mongers. I need to know if I can translate > symbols in a text file into logical operators like > AND|OR|NOT and so forth. The thing is that I'm trying to > build a simulator for digital cuircuts, with input files > in 3DML style (ascii graphix st