]> rtime.felk.cvut.cz Git - linux-conf-perf.git/blob - scripts/from_folder
Implement random generation of configurations
[linux-conf-perf.git] / scripts / from_folder
1 #!/bin/bash
2
3 FOLDER=linux/arch
4
5 CONF=`find $FOLDER -name Kconfig | xargs grep -e ^config | cut -d ' ' -f2`
6
7 REG=`echo $CONF | tr " " "|" | sed 's/^/\(/' | sed 's/$/\)/'`
8
9 #egrep "$REG" $1
10 egrep -v "$REG" $1 > $2