You're viewing a comment by scavenger and its responses.

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 name, if you have one. (I'm @pkrumins, btw.))

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

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