עירובין ג:ה · Eruvin 3:5
מַתְנֶה אָדָם עַל עֵרוּבוֹ וְאוֹמֵר, אִם בָּאוּ גוֹיִים מִן הַמִּזְרָח, עֵרוּבִי לַמַּעֲרָב. מִן הַמַּעֲרָב, עֵרוּבִי לַמִּזְרָח. אִם בָּאוּ מִכָּאן וּמִכָּאן, לִמְקוֹם שֶׁאֶרְצֶה אֵלֵךְ. לֹא בָאוּ לֹא מִכָּאן וְלֹא מִכָּאן, הֲרֵינִי כִבְנֵי עִירִי. אִם בָּא חָכָם מִן הַמִּזְרָח, עֵרוּבִי לַמִּזְרָח. מִן הַמַּעֲרָב, עֵרוּבִי לַמַּעֲרָב. בָּא לְכָאן וּלְכָאן, לִמְקוֹם שֶׁאֶרְצֶה אֵלֵךְ. לֹא לְכָאן וְלֹא לְכָאן, הֲרֵינִי כִבְנֵי עִירִי. רַבִּי יְהוּדָה אוֹמֵר, אִם הָיָה אֶחָד מֵהֶן רַבּוֹ, הוֹלֵךְ אֵצֶל רַבּוֹ, וְאִם הָיוּ שְׁנֵיהֶם רַבּוֹתָיו, לִמְקוֹם שֶׁיִּרְצֶה יֵלֵךְ:
A person may make a condition with regard to his eiruv of Shabbat borders. In other words, he need not decide in advance in which direction his eiruv should take effect. For example, he may deposit an eiruv on each of two opposite sides of his town, and say: If gentiles come from the east, my eiruv is in the west, so that I can escape in that direction; and if they come from the west, my eiruv is in the east. If they come from here and from there, i.e., from both directions, I will go wherever I wish, and my eiruv will retroactively take effect in that direction; and if they do not come at all, neither from here nor from there, I will be like the rest of the inhabitants of my town and give up both eiruvin that I deposited, leaving me with two thousand cubits in all directions from the town. Similarly, one may say: If a Sage comes from the east and he is spending Shabbat beyond the boundaries of my town, my eiruv is in the east, so that I may go out to greet him there; and if he comes from the west, my eiruv is in the west. If one Sage comes from here, and another Sage comes from there, I will go wherever I wish; and if no Sage comes, neither from here nor from there, I will be like the rest of the inhabitants of my town. Rabbi Yehuda says: If one of the Sages coming from opposite directions was his teacher, he may go only to his teacher, as it is assumed that was his original intention. And if they were both his teachers, so that there is no reason to suppose that he preferred one over the other, he may go wherever he wishes.
Word-by-word Breakdown (מילים ושרשים)
מַתְנֶה → may make a condition [ת - נ - ה]אָדָם → a person [א - ד - ם]עַל → with regard to עֵרוּבוֹ → his eiruv [ע - ר - ב]וְאוֹמֵר → and says [א - מ - ר]אִם → if בָּאוּ → come [ב - ו - א]גוֹיִים → gentiles [ג - י - ה]מִן → from הַמִּזְרָח → the east [ז - ר - ח]עֵרוּבִי → my eiruv [ע - ר - ב]לַמַּעֲרָב → is in the west [ע - ר - ב]מִן → from הַמַּעֲרָב → the west [ע - ר - ב]עֵרוּבִי → my eiruv [ע - ר - ב]לַמִּזְרָח → is in the east [ז - ר - ח]אִם → if בָּאוּ → they come [ב - ו - א]מִכָּאן → from here וּמִכָּאן → and from here לִמְקוֹם → to whichever place [ק - מ - מ]שֶׁאֶרְצֶה → I desire [ר - צ - ה]אֵלֵךְ → I will go [ה - ל - ך]לֹא → not בָאוּ → they come [ב - ו - א]לֹא → not מִכָּאן → from here וְלֹא → nor מִכָּאן → from here הֲרֵינִי → behold I am [ה - ר - ה]כִבְנֵי → like the inhabitants of [ע - י - ר]עִירִי → my town [ע - י - ר]אִם → if בָּא → comes [ב - ו - א]חָכָם → a Sage [ח - כ - ם]