OS/2, eCS & ArcaOS - Technical > Utilities

DO.EXE new version commandline utility 1.99

<< < (4/5) > >>

André Heldoorn:

--- Quote from: Martin Vieregg on October 19, 2018, 11:42:52 pm ---Is there really a conflict with the REXX "do" ?
--- End quote ---

As such not, but you may be one typo or error away from a possible disaster. On top of possible CMD.EXE processing mistakes, where DO is also a keyword: for %a in (*.TXT) do (do sort %a).

I'd suggest a new, unique name indeed, without suggesting a new name. For one because DO.EXE isn't an innocent tool which just prints a blank line.

FORMAT.COM/FORMAT.EXE and Rexx' Format() cannot be compared with DO. Format() is a function, which requires more than one typo or error to format a drive (if we ignore the "ARE YOU SURE?" dialog of the external OS command). DO is a different category, and a new command of your DO may make it worse.

I'm also not 100% sure, without testing, what the expected result of ...

/*TEST.CMD */; DO

... is. A syntax error of Rexx, or your DO explaining how it works.

IIRC I have DO in my path, but the arguments against such a name are valid and are more than trivial and theoretical, and nobody knows which commands may be introduced by you in the future. Despite of the fact that DO is a good name for what it is doing and how it works, you could consider a creative new name. DO is taken by CMD.EXE, and Rexx.

David Graser:

--- Quote from: Martin Vieregg on October 01, 2018, 12:01:20 pm ---good to hear that doo has already another meaning...

doit is not so useful, because the parameters are verbs

do delete
do rebuild
do copy
do touch

Perhaps, anyone else has got a good idea.

--- End quote ---

I know you are trying to make it simple.  Later post indicate this is not so easy to do.  How about "makeitso"

makeitso delete
makeitso rebuild
makeitso copy
makeitso touch

RickCHodgin:

--- Quote from: David Graser on October 20, 2018, 07:01:10 pm ---I know you are trying to make it simple.  Later post indicate this is not so easy to do.  How about "makeitso"

makeitso delete
makeitso rebuild
makeitso copy
makeitso touch

--- End quote ---

Or ENGAGE.EXE:


--- Code: ---engage delete
engage rebuild
engage copy
engage touch

--- End code ---

Devid:
Hi to all! I'm new to os2world... and welcome to myself  ;D
After many years finally I have some time for my dream: a workstation with a daily functional os/2.
My first warp pc was version 2.1. Then I bought warp 3 but in that years also starting my actual job such as Graphics Technician.
So my first operating environment is Apple Mac.
I follow this forum from a few months when I contacted Martin Iturbide for some information about DBExpert. But it is another story...
I take this opportunity to propose my opinion about DO.EXE.
I think was possible to name it LDO.EXE, like "Let's DO":
> ldo delete
> ldo copy
Cheers to you all and Happy Warping!

André Heldoorn:
LETS.EXE, PLZ.EXE, ... :P

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version