Fix an off-by-nine error when building a list of includes.

This commit is contained in:
ru 2000-08-01 08:15:06 +00:00
parent 5209950187
commit e5081498ca

View File

@ -22,7 +22,7 @@ ioctl_includes=`
find * -name '*.h' -follow |
egrep -v '^(netns)/' |
xargs egrep -l \
'^#[ ]*define[ ]+[A-Za-z_][A-Za-z0-0_]*[ ]+_IO[^a-z0-9_]' |
'^#[ ]*define[ ]+[A-Za-z_][A-Za-z0-9_]*[ ]+_IO[^a-z0-9_]' |
sed -e 's/^/#include </' -e s'/$/>/'
`