Mercurial > hgrepos > Python > apps > py-cutils
diff dos2unix.py @ 74:6cec638c995c
Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 26 Feb 2022 19:35:41 +0100 |
| parents | |
| children | 6378ba9ae949 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dos2unix.py Sat Feb 26 19:35:41 2022 +0100 @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +# :- +# :Copyright: (c) 2020-2022 Franz Glasner +# :License: BSD-3-Clause +# :- +r"""Pure Python implementation of `dos2unix` + +""" + +from __future__ import absolute_import + +import sys + +import cutils.dos2unix + + +sys.exit(cutils.dos2unix.main())
