Article 4YTFP export variables while defining them

export variables while defining them

by
aristosv
from LinuxQuestions.org on (#4YTFP)
right now I am using this script to read from file.txt and create a few variables.

Code:while read value1 value2 value3
do
some stuff
done < file.txtIs there a way to also export these variables while reading them from file.txt without having to export them one by one?

Code:export value1 value2 value3Thankslatest?d=yIl2AUoC8zA latest?i=EY3tkNOE6h4:0BE6QJUTRKg:F7zBnMy latest?i=EY3tkNOE6h4:0BE6QJUTRKg:V_sGLiP latest?d=qj6IDK7rITs latest?i=EY3tkNOE6h4:0BE6QJUTRKg:gIN9vFwEY3tkNOE6h4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments