שבת ז:א · Shabbat 7:1

כְּלָל גָּדוֹל אָמְרוּ בַשַּׁבָּת. כָּל הַשּׁוֹכֵחַ עִקַּר שַׁבָּת וְעָשָׂה מְלָאכוֹת הַרְבֵּה בְשַׁבָּתוֹת הַרְבֵּה, אֵינוֹ חַיָּב אֶלָּא חַטָּאת אֶחָת. הַיּוֹדֵעַ עִקַּר שַׁבָּת וְעָשָׂה מְלָאכוֹת הַרְבֵּה בְּשַׁבָּתוֹת הַרְבֵּה, חַיָּב עַל כָּל שַׁבָּת וְשַׁבָּת. הַיּוֹדֵעַ שֶׁהוּא שַׁבָּת וְעָשָׂה מְלָאכוֹת הַרְבֵּה בְּשַׁבָּתוֹת הַרְבֵּה, חַיָּב עַל כָּל אַב מְלָאכָה וּמְלָאכָה. הָעוֹשֶׂה מְלָאכוֹת הַרְבֵּה מֵעֵין מְלָאכָה אַחַת, אֵינוֹ חַיָּב אֶלָּא חַטָּאת אֶחָת:
The Sages stated a significant principle with regard to the halakhot of Shabbat: One who forgets the essence of Shabbat, i.e., one who is entirely ignorant of the mitzva of Shabbat according to Torah law, and performed numerous prohibited labors on multiple Shabbatot , is liable to bring only one sin-offering for all those labors when he becomes aware that those actions were prohibited. One who knows the essence of Shabbat but forgets which day is Shabbat, i.e., one who lost track of the days of the week, and performs numerous prohibited labors on multiple Shabbatot is liable to bring a sin-offering for each Shabbat when he becomes aware that he performed those actions on Shabbat. One who is aware that the day is Shabbat but temporarily forgot that certain labors were prohibited and performed numerous prohibited labors on multiple Shabbatot is liable to bring a sin-offering for each and every primary category of labor that he performed. One who performs numerous prohibited labors subsumed under a single category of labor is liable to bring only one sin-offering.

Word-by-word Breakdown (מילים ושרשים)

כְּלָל → A principle [כ - ל - ל]גָּדוֹל → major [ג - ד - ל]אָמְרוּ → they stated [א - מ - ר]בַשַּׁבָּת → with regard to Shabbat [ש - ב - ת]כָּל → Any [כ - ל - ל]הַשּׁוֹכֵחַ → who forgets [ש - כ - ח]עִקַּר → the essence of [ע - ק - ר]שַׁבָּת → Shabbat [ש - ב - ת]וְעָשָׂה → and performed [ע - ש - ה]מְלָאכוֹת → labors [מ - ל - א - כ]הַרְבֵּה → numerous [ר - ב - ה]בְשַׁבָּתוֹת → on [multiple] Shabbats [ש - ב - ת]הַרְבֵּה → multiple [ר - ב - ה]אֵינוֹ → is not חַיָּב → liable [ח - י - ב]אֶלָּא → except חַטָּאת → one sin-offering [ח - ט - א]אֶחָת → one [א - ח - ד]הַיּוֹדֵעַ → One who knows [י - ד - ע]עִקַּר → the essence of [ע - ק - ר]שַׁבָּת → Shabbat [ש - ב - ת]וְעָשָׂה → and performed [ע - ש - ה]מְלָאכוֹת → labors [מ - ל - א - כ]הַרְבֵּה → numerous [ר - ב - ה]בְּשַׁבָּתוֹת → on [multiple] Shabbats [ש - ב - ת]הַרְבֵּה → multiple [ר - ב - ה]חַיָּב → is liable [ח - י - ב]עַל → for כָּל → each [כ - ל - ל]שַׁבָּת → Shabbat [ש - ב - ת]וְשַׁבָּת → and Shabbat [ש - ב - ת]הַיּוֹדֵעַ → One who knows [י - ד - ע]שֶׁהוּא → that שַׁבָּת → it is Shabbat [ש - ב - ת]וְעָשָׂה → and performed [ע - ש - ה]