*: trailing empty lines removed
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -153,4 +153,3 @@ $(host-cshlib): %: $(host-cshobjs) FORCE
|
||||
|
||||
targets += $(host-csingle) $(host-cmulti) $(host-cobjs)\
|
||||
$(host-cxxmulti) $(host-cxxobjs) $(host-cshlib) $(host-cshobjs)
|
||||
|
||||
|
@@ -168,5 +168,3 @@ cmd_objcopy = $(OBJCOPY) $(OBJCOPYFLAGS) $(OBJCOPYFLAGS_$(@F)) $< $@
|
||||
|
||||
quiet_cmd_gzip = GZIP $@
|
||||
cmd_gzip = gzip -f -9 < $< > $@
|
||||
|
||||
|
||||
|
@@ -397,4 +397,3 @@ int main(int argc, char **argv)
|
||||
fflush(stdout);
|
||||
return exitstatus;
|
||||
}
|
||||
|
||||
|
@@ -5,3 +5,13 @@ grep -n -A1 -r $'^\t*{$' . | grep -B1 '.[ch]-[0-9]*-$'
|
||||
# or (less surefire ones):
|
||||
grep -n -B1 -r $'^\t*}' . | grep -A1 '.[ch]-[0-9]*-$'
|
||||
grep -n -A1 -r $'^\t*{' . | grep -B1 '.[ch]-[0-9]*-$'
|
||||
|
||||
# find trailing empty lines
|
||||
find -type f | xargs tail -1 | while read file; do
|
||||
test x"$file" = x"" && continue
|
||||
read lastline
|
||||
#echo "|$file|$lastline"
|
||||
if test x"$lastline" = x""; then
|
||||
echo "$file"
|
||||
fi
|
||||
done
|
||||
|
@@ -11,4 +11,3 @@ EOF
|
||||
if [ ! "$?" -eq "0" ]; then
|
||||
echo -DKBUILD_NO_NLS;
|
||||
fi
|
||||
|
||||
|
@@ -2322,4 +2322,3 @@ char *zconf_curname(void)
|
||||
{
|
||||
return current_pos.file ? current_pos.file->name : "<none>";
|
||||
}
|
||||
|
||||
|
@@ -394,4 +394,3 @@ struct menu *menu_get_parent_menu(struct menu *menu)
|
||||
}
|
||||
return menu;
|
||||
}
|
||||
|
||||
|
@@ -112,4 +112,3 @@ const char *str_get(struct gstr *gs)
|
||||
{
|
||||
return gs->s;
|
||||
}
|
||||
|
||||
|
@@ -228,4 +228,3 @@ kconf_id_lookup (register const char *str, register unsigned int len)
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@@ -2169,5 +2169,3 @@ void zconfdump(FILE *out)
|
||||
#include "expr.c"
|
||||
#include "symbol.c"
|
||||
#include "menu.c"
|
||||
|
||||
|
||||
|
@@ -18,4 +18,3 @@ then
|
||||
fi
|
||||
|
||||
objdump -d $1 | sed -n -e '/./{H;$!d}' -e "x;/^.[0-9a-fA-F]* <$2>:/p"
|
||||
|
||||
|
Reference in New Issue
Block a user