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.
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.
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. RRS --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org