Randall R Schulz wrote:
On Tuesday 14 November 2006 07:59, Geoffrey wrote:
...
but it has to do with the improper use of the pipe symbol. If you research how the command line is parsed you will understand why the results is unrealiable. The bottom line is, you don't want that solution, tee is your friend here. It's not so much the parsing as it is the execution. And it's not an "improper" use, just an unuseful one. Come on, there will be no output to standard out by 'ls > file1.txt' so it's not proper usage.
As used, the pipe in that command line is equivalent to an ampersand, that's all.
For the sake of the original poster, HE DOES NOT REALIZE THAT. So why lead him down such a path? Teach people to use the tools right.
It can produce unwanted results. What more do you need to say it's improper usage?
If it were "improper," the shell would tell you. Otherwise, like most computer programs, it assumes you meant what you said, since it has little recourse but to do so.
The pipe does not serve the purpose the original poster intended. You are simply clouding the issue by continuing the discourse. Further, the proper intention of the pipe is to accept input from a process. The leading process is not sending any input.
Argue for the sake of arguing?
Well, clearly that's all you're doing. And you're doing it too disrespectfully to even trim the quotations in the process.
Brother. Deflect the issue to something totally unrelated. -- Until later, Geoffrey Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. - Benjamin Franklin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org