Mercurial > hgrepos > Python > apps > py-cutils
annotate dos2unix.py @ 81:9511dbc5ae57
>>>>> Added tag v0.4.1 for changeset 79f49b0602c0
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 01 Mar 2022 09:26:24 +0100 |
| parents | 6cec638c995c |
| children | 6378ba9ae949 |
| rev | line source |
|---|---|
|
74
6cec638c995c
Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
1 # -*- coding: utf-8 -*- |
|
6cec638c995c
Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
2 # :- |
|
6cec638c995c
Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
3 # :Copyright: (c) 2020-2022 Franz Glasner |
|
6cec638c995c
Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
4 # :License: BSD-3-Clause |
|
6cec638c995c
Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
5 # :- |
|
6cec638c995c
Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
6 r"""Pure Python implementation of `dos2unix` |
|
6cec638c995c
Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
7 |
|
6cec638c995c
Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
8 """ |
|
6cec638c995c
Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
9 |
|
6cec638c995c
Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
10 from __future__ import absolute_import |
|
6cec638c995c
Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
11 |
|
6cec638c995c
Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
12 import sys |
|
6cec638c995c
Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
13 |
|
6cec638c995c
Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
14 import cutils.dos2unix |
|
6cec638c995c
Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
15 |
|
6cec638c995c
Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
16 |
|
6cec638c995c
Make dos2unix.py and shasum.py convenience wrappers to call the tools if the package is not unstalled
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
17 sys.exit(cutils.dos2unix.main()) |
