# HG changeset patch # User "Yann E. MORIN" # Date 1213795214 0 # Node ID c4cf38f1d6162b155472c96094e0c646a6bcd08e # Parent b8b973fa7ef7321123b4d4410c7db43ab47b0bb0 Re-format the dumped DokuWiki table of samples. /trunk/scripts/showSamples.sh | 20 15 5 0 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff -r b8b973fa7ef7 -r c4cf38f1d616 scripts/showSamples.sh --- a/scripts/showSamples.sh Wed Jun 18 12:54:30 2008 +0000 +++ b/scripts/showSamples.sh Wed Jun 18 13:20:14 2008 +0000 @@ -53,13 +53,13 @@ fi else echo -n "| ''${sample}'' " + echo -n "| ${CT_KERNEL_VERSION} " + echo -n "| ${CT_BINUTILS_VERSION} " echo -n "| ${CT_CC_VERSION} " echo -n "| ''${CT_LIBC}'' " echo -n "| ${CT_LIBC_VERSION} " - echo -n "| ${CT_BINUTILS_VERSION} " - echo -n "| ${CT_KERNEL_VERSION} " + echo -n "| ${CT_THREADS_NPTL:+NPTL}${CT_THREADS_LINUXTHREADS:+linuxthreads}${CT_THREADS_NONE:+none} " echo -n "| ${CT_ARCH_FLOAT_HW:+hard}${CT_ARCH_FLOAT_SW:+soft} float " - echo -n "| ${CT_THREADS_NPTL:+NPTL}${CT_THREADS_LINUXTHREADS:+linuxthreads}${CT_THREADS_NONE:+none} " echo -n "| " if [ -f "${sample_top}/samples/${sample}/reported.by" ]; then ( . "${sample_top}/samples/${sample}/reported.by"; \ @@ -79,8 +79,18 @@ done if [ "${opt}" = -w ]; then - echo "^ $(date +%Y%m%d.%H%M) ||||||||||" - echo "^ Target ^ gcc version ^ libc ^ libc version ^ binutils version ^ kernel headers ^ float support ^ threading model ^ Misc ^ Reported by ^" + echo "^ $(date +%Y%m%d.%H%M) ^ |||||||||" + echo -n "^ Target " + echo -n "^ kernel headers\\\\ version " + echo -n "^ binutils version " + echo -n "^ gcc version " + echo -n "^ libc " + echo -n "^ libc version " + echo -n "^ threading model " + echo -n "^ float support " + echo -n "^ Misc " + echo -n "^ Reported by " + echo "^" fi for sample in "${@}"; do ( dump_single_sample ${opt} ${width} "${sample}" )