On 2/12/2014 7:17 AM, Ralph Stirling wrote:
> Why couldn't the main linuxcnc (axis?) program take multiple ini files
> on the command line?  Just string them in the order you want them
> processed.  That wouldn't require any syntax change to the file itself.

Here's an idea. Create a file in your operating system of choice's 
scripting language.

For Microsoft, it's a batch file. Batch files can be quite complex and 
powerful.

I used to work at a student loan servicing company*. I called their 
system the "Mother Of All Batch Files" (and this was before the mother 
of all bombs etc.). This system processed a database of several thousand 
loans, every day, generated a huge amount of printout and other stuff. 
The real crazy part? It was ported to DOS from COBOL, and it was 
absolutely NOT ready for Y2K.

Soooo. If you want to build the ini file from pre-written chunks, 
pre-write the chunks as needed for each section of the file. Then write 
the batch file with a menu to select the sections to assemble then 
concatenate the results in the correct order into a single file.

For MS systems that would use the copy /b command followed by a list of 
the sections and the output file.

Very much less complex than a batch file system managing student loans.

*I was hired to try and fix their Netware 4.11 system after the person 
the company hired before me did a huge no-no. They sent her to Utah for 
the 2 week Netware 3.1x course. Then Netware did an extremely dumb 
thing, mailed her a CD of a beta version of 4.1 with NOT FOR USE IN A 
PRODUCTION ENVIRONMENT in bold text printed right on the disc. So she 
installed it on the 4.0 production server... Then tried to fix it by 
installing the production release of 4.11. New user accounts couldn't be 
created but existing ones could be deleted! The system also insisted 
there was an account with greater rights than the Administrator account, 
which wasn't allowed to do anything except delete existing user 
accounts. They brought in a Certified Novell Engineer and a Certified 
Novell Instructor from Salt Lake and they couldn't fix it either.

Soon as I saw that beta CD I knew the only way to fix it and get it 
right so it wouldn't explode every 3rd day and lose 2 days work would be 
"nuke and pave". Make certain the data was backed up then wipe both 
servers, upgrade the old 3.1x box to 4.11 and start over, then have the 
batch file guys out from New York to setup the Y2K ready version, which 
all else aside they were going to have to do in a few months anyway. 
Noooo, can't do *that*, too expensive. I was never so happy to "not be 
fired" from a job, especially not with VP Bob "The Dinosaur", whom was 
exactly as clueless about tech as the Dilbert character, making the 
decisions about how to fix their mess.

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to