Skip to content

Commit 63bba9d

Browse files
authored
Update 2-contributing.asc
distinguishing between Linux and MacOSX sed commands (e.g. GNU sed vs BSD sed respectively)
1 parent fccfc82 commit 63bba9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

book/06-github/sections/2-contributing.asc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ $ cd blink
7171
$ git checkout -b slow-blink <2>
7272
Switched to a new branch 'slow-blink'
7373
74-
$ sed -i 's/1000/3000/' blink.ino <3>
74+
$ sed -i '' 's/1000/3000/' blink.ino <3> (MacOSX)
75+
$ sed -i 's/1000/3000/' blink.ino <3> (Linux)
7576
7677
$ git diff --word-diff <4>
7778
diff --git a/blink.ino b/blink.ino

0 commit comments

Comments
 (0)