aboutsummaryrefslogtreecommitdiff
path: root/scripts/from_folder
blob: b72899f896b7ffbda5b65897c23a19743e9ec05f (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

FOLDER=linux/arch

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