Computer Hope

Other => Other => Topic started by: SimonA on May 09, 2007, 11:12:21 AM

Title: Quite a buggyyyyy question
Post by: SimonA on May 09, 2007, 11:12:21 AM
Hi people,

Can anyone please tell me what is the difference between a pipe and a redirection ?

I keep bugging myself with this question  ???  :-\

thanks

Simon
Title: Re: Quite a buggyyyyy question
Post by: unlovedwarrior on May 09, 2007, 11:29:37 AM
redirect is when you put a certain url to a site, but you go somewhere else

not sure what a pipe is
Title: Re: Quite a buggyyyyy question
Post by: Sidewinder on May 09, 2007, 02:37:02 PM
Not sure what context you're referring to but in batch language redirection either gets text input from or puts text output to a device (disk file, COM, NUL, and others not used in batch code).

The pipe is used to send the text output of one command into another command. If I recall, only three commands (sort, more, and find) can take input from the pipe.

 8)

Should you ever use Microsoft Powershell, you'll find the pipe is used quite extensively and that you can send complete objects, not just text into the pipeline.