> I have THE definitive solution for the original
poster:
> WRITE A NEW SHELL. It would be the easiest way to get DOS-like filename
> handling capabilities with Unix.
On Fri, 16 Dec 2011, Toby Thain wrote:
No, no. It's something Unix *cannot do*. You have
to change the
operating system.
No, no. It's something Unix *can do*. What do YOU mean "have to
change the operating system"?? All of the file manipulation crap that you
are talking about, such as renaming and wildcards can be done by a program
running on Unix. Parsing and DOING "RENAME *.LOG *.OLD" is NOT a big
deal.
I could write a program, called
COMMAND.COM that runs on Unix that YOU
could NOT tell me whether the machineWHILE AT THE COMMAND PROMPT was
running MS-DOS or Unix.
NB: I am saying that I COULD. (and I am NOT a great programmer)
I am NOT saying that I SHOULD.
I am NOT saying that I WOULD. (I would want to get PAID for such idiocy!)
Past the command line, It would absolutely NOT be worth the effort to
emulate the full system, such as memory mapped I/O.
But creating a Unix command line interface indistinguishable from MS-DOS
command line interface IS doable.
It would not be structured the way Unix shells are usually structured.