Q. On question 2924 above you mentioned that historically some Talmidei Hachamim because of their devotion to constantly learn Torah, would sleep shortly with their clothes and shoes on during weekdays. How did these great Tzadikim make the brachot in the morning of Malbish Arumim or Sheasa Li Kol Tzarki, which are supposed to be said when putting on clothes and shoes? How do we recite them on Shavuot morning when we spend the night learning Torah?
A. Minchagei Chassam Soffer (1: 44) indeed mentions that he would remove briefly in the morning his shoes and a kerchief from his neck, when he spent the night learning Torah, to be able to recite the above mentioned blessings.Chashukei Chemed (Yoma 78b) quotes the above as an added reason for not sleeping with shoes on. However, he adds that following the opinion of the Remah (O.H. 46: 8), as opposed to the Shulchan Aruch (ibid.), that one may recite all the morning blessings, even when one did not personally enjoy them, there would be no need to take off and put on again, some clothing or one's shoes, as the brochos are recited anyway for the benefit Hashem grants to all humankind. He mentions that the Chassam Soffer was likely stringent in order to comply with all opinions.
Mishna Berura (554: 31) follows the same reasoning regarding reciting 'Kol Tzorki" on Tisha Beav and Yom Kippur. This also seems to be the accepted minhag after being awake on Shavuos night.
Horav Shlomo Miller's Shlit'a opinion is similar.
Rabbi A. Bartfeld as advised by Horav Shlomo Miller and Horav Aharon Miller Shlit'a