OT: base64 decoding

John Esak john at valar.com
Fri May 8 00:59:20 PDT 2009


Cool, thanks again,

I didn't even know that was possible in shell... Bourne??  I'll check now.
Hope it's just not all the enhanced shells like c, k, t, etc.  I still
(stupidly I know) use the Bourne shell a lot.  I'm kind of forced to used
bash though on so many machines, I'm sure it will work there.  I guess my
SCO (mostly Bourne) days are really pretty much over except for some old
client/cousins and my own stupid home machine. :-) 

John


> -----Original Message-----
> From: Bill Campbell [mailto:bill at celestial.com] 
> Sent: Friday, May 08, 2009 1:34 AM
> To: John Esak
> Subject: Re: OT: base64 decoding
> 
> On Thu, May 07, 2009, John Esak wrote:
> >I like that tip... Thanks.
> 
> John:
> 
> You are welcome.
> 
> That's something I started doing when debugging shell scripts.
> 
> Another trick is to double the braces on compound statements:
> 
> In python:
> 
> if someboolean: #{{
> 	do something here on true
> #}
> elif anotherboolean: #{
> 	something else
> #}
> else: #{
> 	finally
> #}}
> 
> In shell scripts:
> 
> if [ sometest ] ; then #{{
> 	something
> #}
> else #{
> 	something else
> fi #}}
> 
> ...
> Bill
> -- 
> INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
> URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
> Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
> Fax:            (206) 232-9186  Skype: jwccsllc (206) 855-5792
> 
> Scientists are explorers. Philosophers are tourists. -- 
> Richard Feynman
> 



More information about the Filepro-list mailing list