3 [ "$1" = "-n" ] && printfile
=
8 #find -mindepth 2 -type f -name "*.mk" | \
9 find -mindepth 2 -type f
-name "*.mk" ! -path "./gcc/*" ! -path "./tzdata/*" | \
11 sh _find_file_section.sh
-i "$line" "^define[[:space:]]\+.*_USERS" "^endef"
13 while read -r uline
; do
16 file=`echo "$uline" | sed 's/^---//'`
17 [ ! -z "$printfile" ] && echo "$file"
20 VAR
=`echo "$uline" | sed -e 's/^$(//' -e 's/)$//'`
21 grep "^$VAR[[:space:]]\+[+:=-]\+[[:space:]]\+" "$file" |
sed -n 's/^\([^+:=-]\+[+:=-]\+[[:space:]]\+\)\(.*\)/\2/p'