File: extract_makefile_variable.sh

package info (click to toggle)
monodevelop 1.0%2Bdfsg-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 32,528 kB
  • ctags: 40,669
  • sloc: cs: 255,472; xml: 10,041; makefile: 3,731; sh: 2,528; sed: 2
file content (2 lines) | stat: -rw-r--r-- 79 bytes parent folder | download | duplicates (2)
1
2
#!/bin/bash
sed -e :a -e '/\\$/N; s/\\\n//; ta' -e "/^$2/!d" -e "s/$2 = //" $1