home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.editors      What? Edlin ain't good enough for you?      123,932 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 123,553 of 123,932   
   Kenny McCormack to janis_papanagnou+ng@hotmail.com   
   Re: The "leading zero means octal" thing   
   05 Jan 25 05:20:47   
   
   XPost: comp.lang.tcl, comp.unix.shell   
   From: gazelle@shell.xmission.com   
      
   In article ,   
   Janis Papanagnou   wrote:   
   ...   
   >As a consequence, in Kornshell, I'm using a number prefix 10# to   
   >counter that misbehavior. (I'd suppose this works also in other   
   >major shells like Bash.)   
      
   Yes, bash has that, too.  But for whatever it is worth, in at least one of   
   my scripts, using it was inconvenient (*), so I ended up having to use "bc" to   
   do a calculation instead of (the more efficient/built-in) $((...)) (**).   
   Sort of annoying.   
      
   (*) Didn't work out, for some reason.   
      
   (**) Which had been working fine right up until it hit the dreaded "08".   
      
   --   
   Pensacola - the thinking man's drink.   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca