home bbs files messages ]

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

   comp.os.vms      DEC's VAX* line of computers & VMS.      264,096 messages   

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

   Message 262,415 of 264,096   
   Lawrence D'Oliveiro to All   
   Re: Local Versus Global Command Options   
   19 Feb 25 23:20:11   
   
   From: ldo@nz.invalid   
      
   On Tue, 18 Feb 2025 21:56:51 -0500, Arne Vajhøj wrote:   
      
   > This is  more of a shell question than an OS question.   
   >   
   > bash and DCL are different.   
      
   It’s a fundamental difference in how the OSes handle the command line.   
      
   Remember, the DEC model (and also that of Microsoft Windows) is that of a   
   simple string buffer. The POSIX model is an array of strings (words).   
      
   To emulate the POSIX way of doing things when a program A spawns a program   
   B without going through the shell, in the DEC/Microsoft model program A   
   has to encode the words as though they were being fed to a shell. And   
   correspondingly, program B has to decode the result in the same way, as   
   though it were receiving the command as a shell. This is a complex and   
   fragile process, with ample opportunities for error.   
      
   Try that example again, the way I wrote it, and you should get a better   
   idea of what I mean.   
      
   --- 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