You're replying to a comment by scavenger.

scavenger Permalink
February 18, 2013, 09:26

thank you bash for running a subshell when piping, now we cannot read anymore multiple variables at the same time !

grep -w regexp file | read var1 var2 var3

there is no solution to replace this KSH functionality. The 'read <<<$(command)' solution is bourne and korn shell incompatible.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "cloud_326": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.