[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] escape oddities...



Peter Prymmer wrote:
> 
> 
> There are indeed such lists: they are usually called ASCII tables.
> 
>     chr(65) eq 'A'
>     chr(65 ^ 64) eq chr(1)
>     chr(65 ^ 64) eq "\cA"
> 
> and so on. Qua script:


perl -e '$_="\x0A534`!./4(%2`\x10%2,`(!#+%2j";s/./"\"\\c$&\""/gees;print'

:-)

(Backlash the exclamation marks in csh.)

Ronald

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch