Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to Linux operating system (OS), a U...  <--  <--- Return to Home Page
   Networked Database  Linux operating system (OS), a U...   [640 / 900] RSS
 From   To   Subject   Date/Time 
Message   jasen    Kenny McCormack   Re: DOS Batch to Unix shell script conversion   December 5, 2018
 6:27 AM *  

On 2018-12-04, Kenny McCormack <gazelle@shell.xmission.com> wrote:
> In article <g6obkaFra0eU1@mid.individual.net>,
> J.O. Aho <user@example.net> wrote:
>>On 12/4/18 5:50 PM, Mike Easter wrote:
>>> ttp wrote:
>>>> Convert windows based batch file to linux based shell script.
>>>> https://www.example.com/online-batch-file-she...
>>>>
>>>>
>>> That is an interesting idea.  It seems to me that it would have to be a
>>> very sophisticated program.  I wonder what happens - what the result or
>>> 'error' is - when it is challenged with something that doesn't solve
>>> according to its algo.
>>>
>>> There are a zillion .bat files out there that one could choose to mess
>>> around with it.
>>
>>Most of the bat-files will not be useful to run on a Linux/Unix system.
>
> Yes, I'm too lazy to goto/access the site.  Sue me.
>
> But I'd like to see some discussion and examples here of some inputs and
> outputs from this process.
>
> Natually, I'm as sceptical as anyone about both the efficacy and the
> utility of this conversion process.

It doesn't work. it fails on simple constructs like "if errorlevel"


In dos 3 batch was dragged kicking and screaming into turing
completeness, it took like 50 lines of code to add two numbers.


later versions had arithmetic built in.

--
  When I tried casting out nines I made a hash of it.

--- SoupGate-Win32 v1.05
 * Origin: SpaceSST BBS Usenet <mccarragher.org> Fidonet Gateway (255:255/999)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to Linux operating system (OS), a U...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0843 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_b3lk9021ok2bnlj37jvg19frh2, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_b3lk9021ok2bnlj37jvg19frh2, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_b3lk9021ok2bnlj37jvg19frh2, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0