# HG changeset patch # User "Yann E. MORIN" # Date 1259191337 -3600 # Node ID 5f26745a915c8bac992aee9e0453cef9c4e868e9 # Parent 5eccb5e9b3eb01ee58567766dd76b9286e41e4b9 scripts: directly spit-out the date in the WiKi table, misc eye-candy No need to go through a post-processing just for displaying the date... diff -r 5eccb5e9b3eb -r 5f26745a915c scripts/showSamples.sh --- a/scripts/showSamples.sh Wed Nov 25 23:56:59 2009 +0100 +++ b/scripts/showSamples.sh Thu Nov 26 00:22:17 2009 +0100 @@ -82,8 +82,8 @@ *) ;; esac printf "| " - [ "${CT_EXPERIMENTAL}" = "y" ] && printf "X" - [ -f "${sample_top}/samples/${sample}/broken" ] && printf "B" + [ "${CT_EXPERIMENTAL}" = "y" ] && printf "**X**" + [ -f "${sample_top}/samples/${sample}/broken" ] && printf "**B**" printf " | ''${CT_KERNEL}'' |" if [ "${CT_KERNEL}" != "bare-metal" ];then if [ "${CT_KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR}" = "y" ]; then @@ -134,7 +134,7 @@ done if [ "${opt}" = -w ]; then - echo "^ @@DATE@@ |||||||||||||||" + printf "^ %s |||||||||||||||\n" "$( date "+%Y%m%d.%H%M %z" )" printf "^ Target " printf "^ Host " printf "^ Status " @@ -155,7 +155,7 @@ done |LC_ALL=C sort -k2 if [ "${opt}" = -w ]; then - printf "^ Total: ${#@} samples || ''X'': sample uses features marked as being EXPERIMENTAL.\\\\\\\\ ''B'': sample is curently BROKEN. |||||||||||||" + printf "^ Total: ${#@} samples || **X**: sample uses features marked as being EXPERIMENTAL.\\\\\\\\ **B**: sample is curently BROKEN. |||||||||||||" echo "" elif [ -z "${opt}" ]; then echo ' l (local) : sample was found in current directory'