On Sun, Sep 15, 2013 at 6:39 AM, Guenter Roeck <linux@xxxxxxxxxxxx> wrote: > - cmd_modpost = $(MODLISTCMD) | sed 's/\.ko$/.o/' | $(modpost) -s -T - > + cmd_modpost = $(MODLISTCMD) | sed 's/\.ko$/.o/' | \ > + while read a; do [ -f $a ] && echo $a; done | $(modpost) -s -T - I'm wondering whether this can be filtered without using a shell while loop? E.g. using "ls"? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html