1 2 3 4 5 6
\input docstrip.tex \keepsilent\askforoverwritefalse \nopreamble\nopostamble \generate{\file{\jobname.sty}{\from{\jobname.dtx}{package}}} \endbatchfile