Re: [PATCH] 2.5.7 Documentation/00-INDEX

From: Paul Gortmaker (p_gortmaker@yahoo.com)
Date: Fri Mar 22 2002 - 08:16:08 EST


Rolf Eike Beer wrote:
>
> This patch updates Documentation/00-INDEX. It removes some lines describing
> files that have been removed/moved to subdirectories. Also it adds some lines
> on new files/directories.
>
> Eike

Hey, thanks. In case you haven't automated this check already, see my $0.02
script attached below that I try to run over 00-INDEX every now and again.

> +driver.txt
> + - info about Linux driver modell.

Should be driver-model.txt IIRC, and s/ll/l/ too.

Paul.

--

#!/bin/sh # For keeping an eye on 00-INDEX files in the linux/Documentation/ dir.

echo Checking for unreferenced files... for i in * do grep -q $i 00-INDEX if [ $? = 1 ];then echo $i is not in 00-INDEX fi done

echo -------------------------------------------

echo Checking for orphaned entries...

for i in `awk '/^\t- / {print FNR-1}' 00-INDEX` do FNAME=`awk FNR==$i 00-INDEX` if [ ! -e "$FNAME" ];then echo $FNAME is in 00-INDEX but does not exist fi done

echo Done.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:27 EST