סימן פ סעיף נא
כֵּלִים שֶׁכָּרְכוּ סְבִיב פִּיהֶם בְּמַטְלִית וּקְשָׁרוּהוּ בִּמְשִׁיחָה, מֻתָּר לְקָרְעָן בַּשַׁבָּת, שֶׁזֶּהוּ מְקַלְקֵל, וּמֻתָּר לְצֹרֶךְ שַׁבָּת (סִימָן שי"ד ובחיי"א).
If the openings of vessels were covered with a cloth and tied with a string, it is permitted to tear them open on Shabbos, for this is considered spoiling,162There are numerous details involved in this halachah and you should ask a poseik if you have any doubt whatsoever. The main rules are: (1) whatever may be opened must be opened in a way that the wrapper etc. cannot be used after being opened; (2) you do not tear letters or pictures; (3) you may not open a bag on its seam; (4) you may not open something in a way that will form a spout. and it is permissible when needed for Shabbos.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)