blob: 8801a48f9aa04d761cda3c6f34e8b7ff47a233f6 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
FOLDER=linux/kernel
CONF=`find $FOLDER -name Kconfig | xargs grep -e ^config | cut -d ' ' -f2`
REG=`echo $CONF | tr " " "|" | sed 's/^/\(/' | sed 's/$/\)/'`
#egrep "$REG" $1
egrep -v "$REG" $1 > $2
|