Skip to content

Commit 63d1e75

Browse files
tobil4skjon-turney
authored andcommitted
Add warning about using SHELLOPTS to set igncr
1 parent f61179d commit 63d1e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ newlines.
5050

5151
Alternatively, you can also use:
5252

53-
- `igncr` in the `SHELLOPTS` environment variable
5453
- invoke `bash` with `-o igncr`
54+
- `igncr` in the `SHELLOPTS` environment variable (**Warning:** by default, `SHELLOPTS` is a shell variable and moving it to the environment causes all shell options to propagate to child shells)
5555

5656
PATH
5757
----

0 commit comments

Comments
 (0)