Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Change 'filename:' for Python 2 (legacy) | Simon Shine | 2020-02-12 | -1/+1 |
| | | | | | | | | | | | | | | | | Before renaming, all Python 2 filenames were 'learnpython-*.py'. This commit renames them to 'learnpythonlegacy-*.py'. To verify that the filenames were named consistently across translations prior to this commit, and to change this: ``` find . -name "pythonlegacy*.markdown" -exec ack filename: {} \; find . -name "pythonlegacy*.markdown" -exec \ sed -i 's/^filename: learnpython/filename: learnpythonlegacy/' {} \; ``` | |||
* | Python 2 'language': Python 2 (legacy) | Simon Shine | 2020-02-12 | -1/+1 |
| | | | | | | | | | | | Instead of listing 'language: python' for Python 2, use language: Python 2 (legacy) ``` find . -iname "*pythonlegacy*" -exec \ sed -i 's/^language: .*/language: Python 2 (legacy)/' {} \; ``` | |||
* | Rename Python 2 markdown files into 'pythonlegacy' | Simon Shine | 2020-02-12 | -0/+488 |
``` for f in $(find . -iname "*python*" | grep -vE 'python3|git|statcomp'); do flegacy=$(echo "$f" | sed 's/python/pythonlegacy/') git mv "$f" "$flegacy" done ``` |