[dpdk-dev] [PATCH 1/4] mk: use script to generate examples.dox

Thomas Monjalon thomas at monjalon.net
Mon Sep 3 02:54:47 CEST 2018


31/08/2018 20:20, Luca Boccassi:
> +# SC2129 - avoid multiple individual redirects

What is SC2129 ?

> +{ \
> +    printf '/**\n'; \
> +    printf '@page examples DPDK Example Programs\n\n'; \
> +    find "${EXAMPLES_DIR}" -type f -name '*.c' -printf '@example examples/%P\n' | LC_ALL=C sort; \
> +    printf '*/\n'; \
> +} > "${API_EXAMPLES}"

Why using backslashes (continuation lines)?





More information about the dev mailing list