[issue37064] Feature request: option to keep/add flags to pathfix.
Change by Patrik Kopkan : -- pull_requests: +15225 pull_request: https://github.com/python/cpython/pull/15548 ___ Python tracker <https://bugs.python.org/issue37064> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37064] Feature request: option to keep/add flags to pathfix.
Change by Patrik Kopkan : -- pull_requests: +15371 pull_request: https://github.com/python/cpython/pull/15717 ___ Python tracker <https://bugs.python.org/issue37064> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37064] Feature request: option to keep/add flags to pathfix.
New submission from Patrik Kopkan : Hello, Pathfix is nice simple tool for changing shebang lines. However, it is lacking a way how to keep/add flags making this tool impractical sometimes. -- messages: 343622 nosy: pkopkan priority: normal severity: normal status: open title: Feature request: option to keep/add flags to pathfix. ___ Python tracker <https://bugs.python.org/issue37064> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37064] Feature request: option to keep/add flags to pathfix.
Change by Patrik Kopkan : -- keywords: +patch pull_requests: +13497 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13591 ___ Python tracker <https://bugs.python.org/issue37064> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37064] Feature request: option to keep/add flags to pathfix.
Patrik Kopkan added the comment: Example: pathfix.py -i /usr/bin/python ./directory --> would change the shebang of every script in this directory recursively to #! /usr/bin/python. That's handy but if you would have script like this: #! /usr/bin/env -flags and wanted to keep the flags. You would need to run again pathfix: pathfix.py -i '/usr/bin/python -flags' ./directory. That is not that bad for one script but with increasing number of scripts, differences of flags between the scripts it gets harder. -- ___ Python tracker <https://bugs.python.org/issue37064> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com