diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-06-18 13:20:14 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-06-18 13:20:14 +0000 |
commit | c15f99666a793073b0f34e1e176f7a5fdc0d8884 (patch) | |
tree | 3c9426e3cd8b08712014b437bf4808d15dccbefe /scripts/showSamples.sh | |
parent | a2f76d1cc524e95102f60dc9fd6331114a345e5a (diff) | |
download | crosstool-ng-c15f99666a793073b0f34e1e176f7a5fdc0d8884.tar.gz crosstool-ng-c15f99666a793073b0f34e1e176f7a5fdc0d8884.tar.bz2 crosstool-ng-c15f99666a793073b0f34e1e176f7a5fdc0d8884.zip |
Re-format the dumped DokuWiki table of samples.
/trunk/scripts/showSamples.sh | 20 15 5 0 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
Diffstat (limited to 'scripts/showSamples.sh')
-rwxr-xr-x | scripts/showSamples.sh | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/scripts/showSamples.sh b/scripts/showSamples.sh index 31b6a2ea..2f75b78a 100755 --- a/scripts/showSamples.sh +++ b/scripts/showSamples.sh @@ -53,13 +53,13 @@ dump_single_sample() { 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_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 "| ${CT_ARCH_FLOAT_HW:+hard}${CT_ARCH_FLOAT_SW:+soft} float " echo -n "| " if [ -f "${sample_top}/samples/${sample}/reported.by" ]; then ( . "${sample_top}/samples/${sample}/reported.by"; \ @@ -79,8 +79,18 @@ for sample in "${@}"; do 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}" ) |