macdonald@mtwain.dec.com (Paul MacDonald - CUP/ML - 223-3439) (10/29/88)
I've been experiencing an unusual problem with the Dillon Shell, both in versions 2.10 and 2.11. With the shell installed, I type DI l* As with V2.07 I would naturally expect to see a listing containing only those files and directories beginning with the letter l. Instead, the entire directory lists. When I run the command a second time, it works as I would have expected to. Another problem occurs when I attempt to DELETE several files, particular those with long filenames. DEL *.HDR does not delete all the files ending with .HDR. It deletes some, but not all. Running the command a second time appears to delete the remaining files ending in .HDR. Any thoughts on this? Paul
dillon@CORY.BERKELEY.EDU (Matt Dillon) (10/29/88)
macdonald@mtwain.dec.com (Paul MacDonald - CUP/ML - 223-3439) Writes: :DI l* : :As with V2.07 I would naturally expect to see a listing containing :only those files and directories beginning with the letter l. :Instead, the entire directory lists. When I run the command a second :time, it works as I would have expected to. This is a known bug... Drew fixed it in his ver but I never fixed it in mine. If *no* files in the wildcard could be found then the command is still run (without arguments), thus you get 'dir' with no arguments which lists the current directory. :Another problem occurs when I attempt to DELETE several files, particular :those with long filenames. : :DEL *.HDR : :does not delete all the files ending with .HDR. It deletes some, but not :all. Running the command a second time appears to delete the remaining files :ending in .HDR. : :Any thoughts on this? Try using the internal shell command 'rm', or alias it to 'del' if that is what you are used to. External commands can only have command line lengths of 202 or so chars (BCPL limitation), while internal commands are not as limited. >Paul -Matt