commands executing in piping in UNIX
- by Happy Mittal
when I write a command
$ echo date
then it prints "date" as it is i.e it doesn't run date program.
But when I write
$ echo date | wc
then correct answer is produced as if date was run. How piping is making difference here ?
Please explain.