|
On Oct 22, 7:43 pm, Bob Burnham <bob.burn...@gmail.com> wrote:
> > How about my first article being "Welcome to MS-DOS (and gawk)"? Is
> > there a demand for such a thing?
>
> One last thought on this... if you have gawk installed under Cygwin,
> how about using the 'find' command too and skipping the entire batch
> file process? For example:
>
> find . -name '*.sas' -exec sas -nosplash -nologo -icon -sysin {} \;
>
> That command, which I just tested under Cygwin, will invoke SAS on
> each file with a .sas extension as if you had run each one from the
> command line.
>
> Bob
Thanks, that is very useful. The trouble is the CROs and pharmas using
MS-DOS are going to be reluctant to do their batch runs from a Cygwin
window, although they might be persuaded to call Cygwin utilities from
the MS-DOS window. The above won't work from an MS-DOS window (or it
didn't when I tried it).
|