#!/bin/bash # feed the original 2.4.32-wtxx.diff to this program, and it will output the # list of the only files present in net/ipsec. Others can then be removed. grep '^+++ linux-[^/]*/net/ipsec/' |awk '{print $2}'