home bbs files messages ]

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

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

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

   Message 242,585 of 243,242   
   Michael S to Michael Sanders   
   Re: srand(0)   
   24 Dec 25 20:16:22   
   
   From: already5chosen@yahoo.com   
      
   On Wed, 24 Dec 2025 17:33:23 -0000 (UTC)   
   Michael Sanders  wrote:   
      
   > On Wed, 24 Dec 2025 17:27:32 -0000 (UTC), Michael Sanders wrote:   
   >   
   > > witness: echo hello world? | | tr 'A-Za-z' 'N-ZA-Mn-za-m'   
   >   
   > typo, should be: echo hello world? | tr 'A-Za-z' 'N-ZA-Mn-za-m'   
   >   
      
   I agree that Powershell is too complicated and too "wannabe real   
   programming language" which makes it bad shell scripting language.   
   Esp. so for quick throwaway scripts.   
      
   However I don't quite understand what you find wrong with cmd.exe.   
   Cryptic? May be. But I can not imagine shell scripting language which is   
   not cryptic in some way.   
   Has few limitations that one would not expect in shell script in 2025?   
   Yes.   
   C:>set a= 1000000   
   C:>set /A ab= %a% * 1000   
   1000000000   
   C:>set /A ab= %a% * 2000   
   2000000000   
   C:>set /A ab= %a% * 3000   
   -1294967296   
      
   But cmd.exe language certainly is *not* over-complicated. Rather more   
   like too primitive.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

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


(c) 1994,  bbs@darkrealms.ca