File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1212
1313--------
1414
15- #### Replace all occurrences of "foo_abc" with "bar_xyz" on Linux, from the current directory:
15+ #### Replace all occurrences of "foo_abc" with "bar_xyz" on Linux, for Python files from the current directory:
1616
17- `` sed -i 's/foo_abc/bar_xyz/g' * ``
17+ `` sed -i 's/foo_abc/bar_xyz/g' *.py ``
1818
19- #### Replace all occurrences of "foo_abc" with "bar_xyz" on macOS (file-backup required), from the current directory:
19+ #### Replace all occurrences of "foo_abc" with "bar_xyz" on macOS, for Python files from the current directory:
2020
21- `` sed -i '.bak ' 's/foo_abc/bar_xyz/g' * ``
21+ `` sed -i '' 's/foo_abc/bar_xyz/g' *.py ``
2222
2323--------
2424
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ docutils==0.18.1
44python-dateutil == 2.8.2
55livereload == 2.6.3 ;python_version >= "3.6"
66joblib == 1.1.0 ;python_version >= "3.6"
7- Markdown == 3.3.6 ;python_version >= "3.6"
7+ Markdown == 3.2.2 ;python_version >= "3.6" and python_version<"3.7"
8+ Markdown == 3.3.6 ;python_version >= "3.7"
89MarkupSafe == 2.0.1 ;python_version >= "3.6"
910pyparsing == 3.0.7 ;python_version >= "3.6"
1011keyring == 23.5.0 ;python_version >= "3.7"
You can’t perform that action at this time.
0 commit comments