Skip to content

Commit 3f382ca

Browse files
committed
comment on availability of sed and warn about in-place substitution
1 parent e3120a5 commit 3f382ca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/source/changelog.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ style, you can use the following ``sed`` terminal command: ::
4040
sed -E '/inlist[1-5]/s/([1-5])([_a-z]*) =/\2\(\1\) =/' -i inlist_name
4141

4242
where ``inlist_name`` is the inlist (or inlists) that you'd like to update.
43-
``sed`` is a standard tool that is included with most Linux distributions.
43+
This will *replace* the file ``inlist_name``. Omit the ``-i`` flag if you'd
44+
like to see the changes without modifying the file.
45+
46+
``sed`` is a standard tool that is included with macOS and most Linux distributions.
4447

4548

4649
Changes in r22.11.1

0 commit comments

Comments
 (0)