On Thu, 17 Feb 2005 18:06, Christopher Sawtell wrote:
> On Thu, 17 Feb 2005 16:39, Nick Rout wrote:
> > On Thu, 17 Feb 2005 16:25:04 +1300
<snip>
> It tells you what type of command will be performed if you key that word
> into the bash command interpreter. vis:-
> [EMAIL PROTECTED] ~ $ type cd
> cd is a shell builtin
> [EMAIL PROTECTED] ~ $ type ls
> ls is aliased to `ls --color=auto'
> [EMAIL PROTECTED] ~ $ type g++
> g++ is /usr/bin/g++
> [EMAIL PROTECTED] ~ $ hash g++
> [EMAIL PROTECTED] ~ $ type g++
> g++ is hashed (/usr/bin/g++)

Thanks for that!  I had learnt about "type <filename> | more" from my DOS 
days, but hadn't thought of what else it might do in Un*x/Posix systems.
>
> It's of little or no relevance to mere mortals, don't fuss yourself.
>
> [ perfect description of piping elided ]
> Note that the pipe idea is in DOS and was nicked from unix.

Of course.  CP/M didn't have it, using instead something called PIP to do 
something not exactly similar but very, very much constrained in comparison.

Microsoft had then recently started Xenix (7th Ed. 8086 port, later System 
III, then with System V bits tacked on) when they switched to selling DOS to 
IBM and then later to Compaq, and the rest is history.  DOS 1 - which I've 
never used - had a very CP/M feel, apparently, and His Gatesness decided to 
tack on the Xenix | with DOS 2 to add some differentiation.  Playing with DOS 
2 on the DEC Rainbow's the nearest I've come to actually using DOS 2 - I've 
also seen Windows 1 screenshots floating around the Internet.
>
> --
> C. S.

Wesley Parish
-- 
Clinersterton beademung, with all of love - RIP James Blish
-----
Mau e ki, he aha te mea nui?
You ask, what is the most important thing?
Maku e ki, he tangata, he tangata, he tangata.
I reply, it is people, it is people, it is people.

Reply via email to