(ב) אֲבוֹת מְלָאכוֹת אַרְבָּעִים חָסֵר אֶחָת. הַזּוֹרֵעַ. וְהַחוֹרֵשׁ. וְהַקּוֹצֵר. וְהַמְעַמֵּר. הַדָּשׁ. וְהַזּוֹרֶה. הַבּוֹרֵר. הַטּוֹחֵן. וְהַמְרַקֵּד. וְהַלָּשׁ. וְהָאוֹפֶה. הַגּוֹזֵז אֶת הַצֶּמֶר. הַמְלַבְּנוֹ. וְהַמְנַפְּצוֹ. וְהַצּוֹבְעוֹ. וְהַטּוֹוֶה. וְהַמֵּסֵךְ. וְהָעוֹשֶׂה שְׁנֵי בָתֵּי נִירִין. וְהָאוֹרֵג שְׁנֵי חוּטִין. וְהַפּוֹצֵעַ שְׁנֵי חוּטִין. הַקּוֹשֵׁר. וְהַמַּתִּיר. וְהַתּוֹפֵר שְׁתֵּי תְפִירוֹת. הַקּוֹרֵעַ עַל מְנָת לִתְפֹּר שְׁתֵּי תְפִירוֹת. הַצָּד צְבִי. הַשּׁוֹחֲטוֹ. וְהַמַּפְשִׁיטוֹ. הַמּוֹלְחוֹ, וְהַמְעַבֵּד אֶת עוֹרוֹ. וְהַמּוֹחֲקוֹ. וְהַמְחַתְּכוֹ. הַכּוֹתֵב שְׁתֵּי אוֹתִיּוֹת. וְהַמּוֹחֵק עַל מְנָת לִכְתֹּב שְׁתֵּי אוֹתִיּוֹת. הַבּוֹנֶה. וְהַסּוֹתֵר. הַמְכַבֶּה. וְהַמַּבְעִיר. הַמַּכֶּה בַפַּטִּישׁ. הַמּוֹצִיא מֵרְשׁוּת לִרְשׁוּת. הֲרֵי אֵלּוּ אֲבוֹת מְלָאכוֹת אַרְבָּעִים חָסֵר אֶחָת:
(2) This fundamental mishna enumerates those who perform the primary categories of labor prohibited on Shabbat, which number forty-less-one. They are grouped in accordance with their function: One who sows, and one who plows, and one who reaps, and one who gathers sheaves into a pile, and one who threshes, removing the kernel from the husk, and one who winnows threshed grain in the wind, and one who selects the inedible waste from the edible, and one who grinds, and one who sifts the flour in a sieve, and one who kneads dough, and one who bakes. Additional primary categories of prohibited labor are the following: One who shears wool, and one who whitens it, and one who combs the fleece and straightens it, and one who dyes it, and one who spins the wool, and one who stretches the threads of the warp in the loom, and one who constructs two meshes, tying the threads of the warp to the base of the loom, and one who weaves two threads, and one who severs two threads for constructive purposes, and one who ties a knot, and one who unties a knot, and one who sews two stitches with a needle, as well as one who tears a fabric in order to sew two stitches. One who traps a deer, or any living creature, and one who slaughters it, and one who flays it, and one who salts its hide, a step in the tanning process, and one who tans its hide, and one who smooths it, removing hairs and veins, and one who cuts it into measured parts. One who writes two letters and one who erases in order to write two letters. One who builds a structure, and one who dismantles it, one who extinguishes a fire, and one who kindles a fire. One who strikes a blow with a hammer to complete the production process of a vessel (Rabbeinu Ḥananel), and one who carries out an object from domain to domain. All these are primary categories of labor, and they number forty-less-one.
וא"ר ששת מה לי בישול פתילה מה לי בישול סמנין
And Rav Sheshet said in this regard: What difference is there to me between cooking a wick [of metal], which is performed for court-imposed capital punishments, and what difference is there to me between the cooking of herbs.
אין מוציאין את האור לא מן העצים ולא מן האבנים ולא מן העפר ולא מן הרעפים ולא מן המים:
One may not produce fire, neither from wood, [by rubbing one piece against another]; nor from stones [knocked against each other]; nor from [hot] dirt; nor from tiles [struck against each other]; nor from water [placed in round, glass vessels, which produces fire by focusing the rays of the sun].
What is implied? A person extinguished a lamp because he needed [to save] the oil or the wick from being destroyed or from burning or so that the earthenware reservoir of the lamp [that holds the oil] would not break. Since he had the intent of extinguishing the lamp, even though he did not do so for the [usual] purpose of extinguishing, but merely for the sake of the oil, the wick or the earthenware, he is liable.
Similarly, a person who moves a thorn four cubits in the public domain or extinguishes a coal so that many people will not be injured by it, is liable. Although the [usual] purpose [served] by extinguishing [the coal] or moving [the thorn] is not important to him, and his intent was merely to prevent injury, he is liable. The same applies in other similar situations.


