Skip to main content
10 events
when toggle format what by license comment
Feb 20, 2018 at 19:26 vote accept John Ericksen
Feb 19, 2018 at 8:00 comment added meuh @JohnEricksen Remember you need to escape $ in a makefile by using $$. You can also add -i to the sed to actually change file.
Feb 19, 2018 at 6:15 comment added Olorin What was the exact command you used?
Feb 19, 2018 at 4:18 comment added John Ericksen You're right... seems to work fine in bash, but now in make it's giving me sed: -e expression #2, char 17: unterminated address regex.
Feb 19, 2018 at 4:11 comment added Olorin Did you use double quotes instead of single quotes?
Feb 19, 2018 at 4:08 comment added John Ericksen Hmm, I'm getting a bash: !ba}: event not found from the latest command.
Feb 19, 2018 at 4:03 comment added Olorin @JohnEricksen if you split it into two -e expressions, you can avoid the newline, see updated answer.
Feb 19, 2018 at 4:02 history edited Olorin CC BY-SA 3.0
added 181 characters in body
Feb 19, 2018 at 3:57 comment added John Ericksen Great, that seems to do the trick... any idea how I could include that newline in a makefile?
Feb 19, 2018 at 2:33 history answered Olorin CC BY-SA 3.0