* Re: copy *.doc *.bak (Was: Re: The big Question) @ 1995-01-05 20:36 Sara E Rouner 0 siblings, 0 replies; 2+ messages in thread From: Sara E Rouner @ 1995-01-05 20:36 UTC (permalink / raw) >>On the other hand, because of this, I believe DOS will allow you to >>issue a command like: >>>copy *.doc *.bak >>and have it do the right thing (copy a.doc to a.bak, b.doc to b.bak, >>and so forth). Because the shell handles expansion in UNIX, UNIX >>can't do this sort of thing. I recognize this thread for what it is.. pure flame bait.. but I can't sit on my hands and let an incorrect statement like this go by unattended. Expansion is a major strength of sh-programming.. and so is parameter execution. You really need to know that sort of stuff to get the most from UNIX. A UNIX user will opt to use a sh-command line like: for f in *.doc; do cp $f `basename $f .doc`.bak; done or, if the list of files is small enough, a sh-command line like: for f in a b and so forth; do cp $f.doc $f.bak; done Do you need a script for your UNIX account? Is that what you're really asking for? Well, this one should work: #!/bin/sh ## cpx: copies a set of files with the same ext. to a different ext. ## example: to copy all *.doc files to *.bak -- cpx doc bak for f in *.$1; do cp $f `basename $f .$1`.$2; done ^ permalink raw reply [flat|nested] 2+ messages in thread
* The big Question
@ 1994-12-27 18:34 John Laing Page
1994-12-29 16:50 ` Lee Sailer
0 siblings, 1 reply; 2+ messages in thread
From: John Laing Page @ 1994-12-27 18:34 UTC (permalink / raw)
I have lecturers who currently are using MS-DOS and UNIX
as examples of badly designed software. Whilst I agree in
part with this I think the MS-DOS was fine for the original
hardware it was written to run on, which could most likely not
have supported anything larger. UNIX, well thats what happens
when things are designed by comittee.
However I ave to prepare a document about operating system design
an would vaule any comments about designing a new operating system.
o Would it be worthwhile at the moment
o What should it include
o Need it be backwardly compatible.
Also if anyone wants to support the case for MS-DOS and UNIX then
feel free to do so.
All comments would be very much appreciated. I will post a summary
of anything emailed to me and not posted.
_________________________________________________________________
JOHN PAGE -> jlp@st-and.ac.uk -> Amiga 1200, GVP A1230, 6Mb, 80HD
_________________________________________________________________
status: Degree hunting in darkest St.Andrews
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: The big Question 1994-12-27 18:34 The big Question John Laing Page @ 1994-12-29 16:50 ` Lee Sailer 1994-12-29 8:12 ` Darko Volaric 0 siblings, 1 reply; 2+ messages in thread From: Lee Sailer @ 1994-12-29 16:50 UTC (permalink / raw) In article <3dpmo9$6fh@calvin.st-and.ac.uk>, John Laing Page (jlp@st-andrews.ac.uk) wrote: > I have lecturers who currently are using MS-DOS and UNIX > as examples of badly designed software. Whilst I agree in I am reminded of a comment by one of the Unix founders (D. Ritchie, I think) who said that people who criticize one design feature or another of Unix should implement their own OS. > Also if anyone wants to support the case for MS-DOS and UNIX then > feel free to do so. ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: The big Question 1994-12-29 16:50 ` Lee Sailer @ 1994-12-29 8:12 ` Darko Volaric 1994-12-29 22:27 ` Bob Hetzel 0 siblings, 1 reply; 2+ messages in thread From: Darko Volaric @ 1994-12-29 8:12 UTC (permalink / raw) In article <3dupdf$7i4@hpscit.sc.hp.com>, sailer@a4430edc.esr.hp.com (Lee Sailer) wrote: > In article <3dpmo9$6fh@calvin.st-and.ac.uk>, John Laing Page (jlp@st-andrews.ac.uk) wrote: > > I have lecturers who currently are using MS-DOS and UNIX > > as examples of badly designed software. Whilst I agree in > > I am reminded of a comment by one of the Unix founders (D. Ritchie, I > think) who said that people who criticize one design feature or > another of Unix should implement their own OS. > Mmmm. Mr Ritchie sounds a bit insecure. Criticism is a part of healthy debate. You should be able to criticise people's work wothout having to write an OS as pennance. Personally I agree with John's lecturer. I doubt whether DOS or UNIX were written with any regard to maintainability, correctness or usability. The last point is probably a unfair criticism to level on UNIX since its intended users (nerds) were delighted with its UI. DOS, on the other hand, has no exucuse and is a virus from outer-space. -- Darko Volaric // dvorak@su.edu.au // +61 2 360 1751 ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: The big Question 1994-12-29 8:12 ` Darko Volaric @ 1994-12-29 22:27 ` Bob Hetzel 1994-12-31 16:10 ` cdlevin 0 siblings, 1 reply; 2+ messages in thread From: Bob Hetzel @ 1994-12-29 22:27 UTC (permalink / raw) In article <dvorak-291294181229@192.0.2.1>, Darko Volaric <dvorak@extro.ucc.su.oz.au> wrote: >In article <3dupdf$7i4@hpscit.sc.hp.com>, sailer@a4430edc.esr.hp.com (Lee >Sailer) wrote: > >> In article <3dpmo9$6fh@calvin.st-and.ac.uk>, John Laing Page (jlp@st-andrews.ac.uk) wrote: >> > I have lecturers who currently are using MS-DOS and UNIX >> > as examples of badly designed software. Whilst I agree in >> >> I am reminded of a comment by one of the Unix founders (D. Ritchie, I >> think) who said that people who criticize one design feature or >> another of Unix should implement their own OS. >> > >Mmmm. Mr Ritchie sounds a bit insecure. Criticism is a part of healthy >debate. You should be able to criticise people's work wothout having to >write an OS as pennance. I believe in constructive criticism, but w/o leaving any details of what's wrong, or even thinking of implementation for the "imporovement" the criticism should not be made. I'd imagine that most people would have a lot of trouble trying to debate Mr. Ritchie. You might remember that he was involved in the creation of C as well as UNIX. Mr. Ritchie has no reason to feel insecure because you say he sounds it. >Personally I agree with John's lecturer. I doubt whether DOS or UNIX were >written with any regard to maintainability, correctness or usability. The >last point is probably a unfair criticism to level on UNIX since its >intended users (nerds) were delighted with its UI. DOS, on the other hand, >has no exucuse and is a virus from outer-space. UNIX's original users were technical people working at bell labs, which is not to say that they were nerds. UNIX must have been extremely maintainable to have survived for as long as it has, growing all along the way. People don't constantly talk about how they are constrained by compatibility with old, antiquated UNIX. At least not like they do with IBM's MVS, DEC's TOPPS-20 and VMS, not to mention languages such as COBOL, BASIC, etc. DOS, on the other hand, has many "features" that were patterned after UNIX, but corrupted in the process. You don't know what your potential is until you get the 'shaft. Micro-Shaft, that is. Very few people would feel that MS-DOS is better than UNIX. -- ``You know, my python boot is too tight, I couldn't get it off last night A week went by, and now it's July. I finally got it off, and my girlfriend cried. You got stink foot, darling.'' -- Frank Zappa ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: The big Question 1994-12-29 22:27 ` Bob Hetzel @ 1994-12-31 16:10 ` cdlevin 1995-01-02 13:55 ` Steven Buytaert 0 siblings, 1 reply; 2+ messages in thread From: cdlevin @ 1994-12-31 16:10 UTC (permalink / raw) Dos has features that were patterned after UNIX? Name them, and tell me why you think they're corrupted. Also, UNIX was designed to run on a mainframe then, about compatible with a workstation today, wile dos was strictly designed for the PC. SO the real question would be, can a mainframe do more than a PC? You guessed it. Dos is probably more user friendly, and the bulk of the problems with it that I hear about are either A) switchology or B) overtaxing the system. The 1000 dollar PC wasn't designed to do alot of the things that it's taxed to do, and computer manufacturers are hard pressed to keep pace with the current trends, the comparison not unlike spoiled children in a candy store. I want this, I want that! They have to build new machines every year to keep pace with the industry in general. Dos is basically plug and play. Dos users are pretty common. Dos has a better security system. File sharing in UNIX is dangerous. Properly configured, Dos will run lika a champ. If you're having a problem running it in DOS, then you will probably have a problem running it under any OS. The limitations are mostly Hardware. Last but not least, Dos is being replaced in 95 by a gui type OS. Wait until that comes out, and see if that doesn't better suit your needs. By the way, what's the price on UNIX? I've never seen it in stores. Whats the minimum hardware requirement? Lastly, if UNIX is soooo good, then why doesn't everybody run it. I'll tell you why, DOS is a good system, not too complex, and easy to learn. ANd it does a fine job of running my little 386, which by the way, is currently running multitasked under windows, with another comm program called SP(Amateur Packet radio), and they're both displayed in the same window, and will continue to run, even when I have to run up qbasic and write programs for school. Not too shabby for a little 386. While I'm at it, I have a shareware communications terminal with fax modem capabilities, a file manager, a zip manager, the hytelnet directory, and I can call the virus program internally, all from windows using hotkeys. Only 4 megs of ram. I must confess that I'm soon upgrading to a 486dx266, simply because they're cheap enough to buy now. I'll probably upgrade the os when the bugs are out of it, about a year after its out, and for the average PC user, that's the best advice I could give. ------------------------------------------------------------------------ | Curtis D. Levin KD4ZKW 1st year / Computer Engineering Technology | | cdlevin@shadow.net / Grantham College of Engineering | ------------------------------------------------------------------------ On 29 Dec 1994, Bob Hetzel wrote: > >> > >> I am reminded of a comment by one of the Unix founders (D. Ritchie, I > >> think) who said that people who criticize one design feature or > >> another of Unix should implement their own OS. > >> > I believe in constructive criticism, but w/o leaving any > details of what's wrong, or even thinking of implementation > >intended users (nerds) were delighted with its UI. DOS, on the other hand, > >has no exucuse and is a virus from outer-space. > > > DOS, on the other hand, has many "features" that were patterned > after UNIX, but corrupted in the process. You don't know what > your potential is until you get the 'shaft. Micro-Shaft, that is. > > Very few people would feel that MS-DOS is better than UNIX. > > ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: The big Question 1994-12-31 16:10 ` cdlevin @ 1995-01-02 13:55 ` Steven Buytaert 1995-01-04 5:16 ` Ross Morley 0 siblings, 1 reply; 2+ messages in thread From: Steven Buytaert @ 1995-01-02 13:55 UTC (permalink / raw) cdlevin (cdlevin@shadow.net) wrote: exhibit A : Dos has features that were patterned after UNIX? Name them, and tell : me why you think they're corrupted. OK, just to have an apetizer. I know this example has nothing to do with a kernel on the unix side, but let's say 'pipes' and 'wildcards' ? exhibit B : Also, UNIX was designed to run on a : mainframe then, about compatible with a workstation today, wile dos was : strictly designed for the PC. SO the real question would be, can a : mainframe do more than a PC? You guessed it. Look up 'PDP-11' and all relevant keywords you find in that section of your textbook. Buy one first if you haven't yet got one. exhibit C : Dos is probably more user friendly, and the bulk of the problems with : it that I hear about are either A) switchology or B) overtaxing the system. : The 1000 dollar PC wasn't designed to do alot of the things that it's : taxed to do, and computer manufacturers are hard pressed to keep pace : with the current trends, the comparison not unlike spoiled children in a : candy store. I want this, I want that! They have to build new machines : every year to keep pace with the industry in general. You really need some economics facts straight. Just a small example. What do you think you are paying for when you buy a Pentium chip nowadays. As an excercise, 'please motivate your answer about pricing info with respect to the operating system you will run on your Pentium'. : Dos is basically plug and play. OK, I'll grant you that one. : Dos users are pretty common. : Dos has a better security system. exhibit E, in fact I would have agreed over the next one with you, If I had the faintest clue that you know what you are talking about... : File sharing in UNIX is dangerous. : Properly configured, Dos will run lika a champ. If you're having a : problem running it in DOS, then you will probably have a problem running it : under any OS. The limitations are mostly Hardware. : Last but not least, Dos is being replaced in 95 by a gui type OS. Wait : until that comes out, and see if that doesn't better suit your needs. We'll see that when it comes out. No pun intended, nor bad nor good. When something comes out, I will evaluate it according to it's technical and economical merits. period. : By the way, what's the price on UNIX? I've never seen it in stores. : Whats the minimum hardware requirement? Then you haven't looked around enough. Something that is a blatantly obvious problem with all your views as I have read them up till now. : Lastly, if UNIX is soooo good, then why doesn't everybody run it. I hope that they teach you some economics too in the first year of computer Engineering Technology... The first lesson they should teach you is that 'technical merrit != economical success'. It is not even in the same league ! : I'll tell you why, DOS is a good system, not too complex, and easy to : learn. ANd it does a fine job of running my little 386, Yes, sometimes this product from Microsoft (Yes, I mean 'Microsoft'.) is a very good solution to a certain problem. : which by the way, : is currently running multitasked under windows, with another comm program : called SP(Amateur Packet radio), and they're both displayed in the same : window, and will continue to run, even when I have to run up qbasic and : write programs for school. Not too shabby for a little 386. While I'm at it, : I have a shareware communications terminal with fax modem capabilities, a : file manager, a zip manager, the hytelnet directory, and I can call the : virus program internally, all from windows using hotkeys. Only 4 megs of ram. : I must confess that I'm soon upgrading to a 486dx266, simply because : they're cheap enough to buy now. I'll probably upgrade the os when the : bugs are out of it, about a year after its out, and for the average PC : user, that's the best advice I could give. Do they teach you 'memory protection' and 'task scheduling' this year ? That is, both these items, with the different techniques to implement them, hardware wise and software wise... : ------------------------------------------------------------------------ : | Curtis D. Levin KD4ZKW 1st year / Computer Engineering Technology | : | cdlevin@shadow.net / Grantham College of Engineering | : ------------------------------------------------------------------------ This a flame ??? You bet. And you asked for it. Change your attitude before you get your degree. I don't mind people prefering DOS over UNIX, or any other OS for the matter. I used several OS'es myself, and each one has its merits. If you still have the same attitude towards technical aspects of *any* technical product you will encounter in your professional career, I wouldn't dare to call you a 'collegue' within this and even 10 years from now. Get your facts straight, spend some time studying what you can find in literature about micro processor design, both technical and economical. Read how operating systems have grown from version to version, both technologicaly and with respect to the context of that time and place. -- Steven Buytaert WORK buytaert@imec.be HOME buytaert@clever.be 'Imagination is more important than knowledge.' (A. Einstein) ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: The big Question 1995-01-02 13:55 ` Steven Buytaert @ 1995-01-04 5:16 ` Ross Morley 1995-01-04 16:04 ` Jim_Mann 0 siblings, 1 reply; 2+ messages in thread From: Ross Morley @ 1995-01-04 5:16 UTC (permalink / raw) buytaert@imec.be (Steven Buytaert) writes: >cdlevin (cdlevin@shadow.net) wrote: > exhibit A >: Dos has features that were patterned after UNIX? Name them, and tell >: me why you think they're corrupted. > OK, just to have an apetizer. I know this example has nothing to do with > a kernel on the unix side, but let's say 'pipes' and 'wildcards' ? Oh, that reminds me. Wildcards. DOS screws them up too. DOS *doesn't* do wildcards, each individual application program has to process them, hence you get inconsistencies in the way "*" and "?" are handled in difference command lines. In UNIX, the command interpreter (shell) handles the wildcards so the apps don't have to worry about them and you get consistency. Ross -- Ross Morley .---. email: ross@prpa.philips.com Philips Research Palo Alto | ___\ Phone: (415) 354 0325 4005 Miranda Ave, Suite 175 \/ \ FAX: (415) 354 0309 Palo Alto, CA 94304, USA ^^ ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: The big Question 1995-01-04 5:16 ` Ross Morley @ 1995-01-04 16:04 ` Jim_Mann 1995-01-05 0:01 ` copy *.doc *.bak (Was: Re: The big Question) Rick 0 siblings, 1 reply; 2+ messages in thread From: Jim_Mann @ 1995-01-04 16:04 UTC (permalink / raw) ross@prpa.philips.com (Ross Morley) writes: > Oh, that reminds me. Wildcards. DOS screws them up too. DOS *doesn't* > do wildcards, each individual application program has to process them, > hence you get inconsistencies in the way "*" and "?" are handled in > difference command lines. In UNIX, the command interpreter (shell) > handles the wildcards so the apps don't have to worry about them and > you get consistency. > On the other hand, because of this, I believe DOS will allow you to issue a command like: copy *.doc *.bak and have it do the right thing (copy a.doc to a.bak, b.doc to b.bak, and so forth). Because the shell handles expansion in UNIX, UNIX can't do this sort of thing. ****************************************************************** Jim Mann jmann@transarc.com Transarc Corporation The Gulf Tower, 707 Grant Street, Pittsburgh, PA 15219 (412) 338-4442 WWW Homepage: file://grand.central.org/afs/transarc.com/public/jmann/html/Home.html Baseball has a bullpen coach blowing bubble gum with his cap turned around backward while leaning on a fungo bat; football has a defensive coordinator in a satin jacket with a headset and a clipboard. -- Tom Boswell, "99 Reasons Why Baseball Is Better than Football" ^ permalink raw reply [flat|nested] 2+ messages in thread
* copy *.doc *.bak (Was: Re: The big Question) 1995-01-04 16:04 ` Jim_Mann @ 1995-01-05 0:01 ` Rick 0 siblings, 0 replies; 2+ messages in thread From: Rick @ 1995-01-05 0:01 UTC (permalink / raw) Jim_Mann@transarc.com writes: >On the other hand, because of this, I believe DOS will allow you to >issue a command like: > copy *.doc *.bak >and have it do the right thing (copy a.doc to a.bak, b.doc to b.bak, >and so forth). Because the shell handles expansion in UNIX, UNIX >can't do this sort of thing. Depends on your shell. zsh allows you to turn off globbing for selected commands. As an example, here's a Q&D rendition of the DOS rename command from my .zprofile: rename () { [ $# != 2 ] && { echo "usage: ren pat1 pat2" return 1 } srcpat=$(echo $1 | sed -e 's/\*/\\(.*\\)/') dstpat=$(echo $2 | sed -e 's/\*/\\1/') for i in `eval echo $1` ; do mv -i $i $(echo $i|sed -e "s/$srcpat/$dstpat/") || break done } alias ren="noglob rename" It only matches the first wildcard, doesn't handle `?', but it'll do "ren *.c *.c.old", and you can specify a path in the destination (ren *.doc backup/*.bak). Rick. -- Rick "JT" Lyons | The above bytes don't | Usenet before net uses you. Telecom Australia | represent the views or| C/C++/x86/X/Unix/DOS/Novell ACN 051 775 556 | opinions of Telstra. | Dyslexics of the world untie! work:pclink@qus102.qld.npb.telecom.com.au | play:rick@razorback.brisnet.org.au ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1995-01-05 20:36 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1995-01-05 20:36 copy *.doc *.bak (Was: Re: The big Question) Sara E Rouner -- strict thread matches above, loose matches on Subject: below -- 1994-12-27 18:34 The big Question John Laing Page 1994-12-29 16:50 ` Lee Sailer 1994-12-29 8:12 ` Darko Volaric 1994-12-29 22:27 ` Bob Hetzel 1994-12-31 16:10 ` cdlevin 1995-01-02 13:55 ` Steven Buytaert 1995-01-04 5:16 ` Ross Morley 1995-01-04 16:04 ` Jim_Mann 1995-01-05 0:01 ` copy *.doc *.bak (Was: Re: The big Question) Rick
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox