summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-11-25 23:22:17 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-11-25 23:22:17 (GMT)
commiteb2a7ba9b0b56055654182f92c66aaa9067c877c (patch)
treef4dc7b72d7d102064b6e0174d5d10ae45dcdc483 /scripts
parent7ddb6648e0704bff41a6d2f8dbcfe1f916b7a860 (diff)
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...
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/showSamples.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/showSamples.sh b/scripts/showSamples.sh
index 78ed7f1..002b4c4 100755
--- a/scripts/showSamples.sh
+++ b/scripts/showSamples.sh
@@ -82,8 +82,8 @@ dump_single_sample() {
*) ;;
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 @@ for sample in "${@}"; do
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 @@ for sample in "${@}"; do
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'