It is currently Tue May 22, 2018 1:58 pm

What is the difference between DOS and BASH?

All times are UTC - 6 hours

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 PostPosted: Wed Jul 22, 2009 7:40 pm   

Joined: Wed Jul 22, 2009 7:33 pm
Posts: 1
There is a lot od stuff online between the bourne shell and the DOS shell. If you even call it a DOS shell. I have a tough time "seeing", the differences.

How does the DOS shell handle things differently from the the bash shell. Especially when dealing with globbbing.

How does dir * in DOS handle the argument differently then ls *

All I ever see is the output sorry. :-(

 PostPosted: Thu Jul 23, 2009 12:47 am   

Joined: Mon Nov 17, 2008 7:25 am
Posts: 221
First of all BASH is a extended version of SH, and they're not even playing the same league as DOS.
The mayor diffrence is that DOS cannot handle multiple applications at the same time.

Then there's the thing with the scripting engine, this also is available in DOS (.bat batch files) but there aren't nearly as many features and operators.

Also it's the little part about SH being linux and DOS being something Microsoft developed (and about 15-20 years between them :P)

Handling the output of dir and ls is something I can't answer since I haven't seen the source code for either ls (probably solvable) or dir (not so likely to get the source)

If you want to know something more specific I suggest you ask a more detailed question :)

Best regards
Fredrik Eriksson

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours

Who is online

Users browsing this forum: No registered users and 8 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  

BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group