ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/03/27/14:19:43

Date: Fri, 27 Mar 1992 12:35 CST
From: DARREL HANKERSON <HANK AT DUCVAX DOT AUBURN DOT EDU>
Subject: globbing and shells
To: 99clifto AT lab DOT cc DOT wmich DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Status: O

Recently, d.clifton [99clifto AT lab DOT cc DOT wmich DOT edu] said:
>As far as the shell goes run, don't walk to replace braindead command.com. 
>4DOS   supports command seperators and I've used similar system calls without
>problem. I do   have a copy of ms_sh (164) which I use occasionaly for shell
>scripts, rarely as an interface. Also I've heard some good things about the
>products from MKS. I as final note, I   do use ndmake, and have no problems
>with the set-up described above.

4dos is a great product (I'm a reg user), but it doesn't solve the globbing
problem.

globbers implemented as a separate program and/or batch file will have severe
restrictions on the length of the command line passed. For some programs, this
may still be acceptable (my example of texindex probably falls into this
group).

Several people mentioned ms_sh as a globber (and more). ms_sh does not work in a
dos box in Windows enh mode (but neither do gcc-compiled programs). There is a
dos-globber in the recent perl posting to simtel20.army.mil. The glob that I
used in texindex (glob.c from GNUish) could be modified to glob and then pass
the command-line.

--darrel hankerson hank AT ducvax DOT auburn DOT edu

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019