Skip to content

Instantly share code, notes, and snippets.

@sumikawa
Created May 30, 2012 10:44
Show Gist options
  • Save sumikawa/2835449 to your computer and use it in GitHub Desktop.
Save sumikawa/2835449 to your computer and use it in GitHub Desktop.
Concatinate more than single line in Makefile
sed '{
:a
/\\$/N
/\\$/b a
s/\\\n//g
}' Makefile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment