I am attempting to remember what the issue is with piping data and attempting to use read to do assignment to variables.
For example -
print a b c | read one two three
Given that the pipe should be sending a b c as Stdin to the read it seems that one should equal a, etc.
I know I am forgetting something in the case and thank all for their assistance in advance.
Steve
For example -
print a b c | read one two three
Given that the pipe should be sending a b c as Stdin to the read it seems that one should equal a, etc.
I know I am forgetting something in the case and thank all for their assistance in advance.
Steve