scripts/log: do not interpret log string as printf format 1.8
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Aug 26 23:36:54 2010 +0200 (2010-08-26)
branch1.8
changeset 2103d11481a07a8c
parent 2095 af58c31d445e
child 2108 68d038933dc4
scripts/log: do not interpret log string as printf format

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 5f01a23be1e427f95806bbf5d880f5ee6839bed1)
scripts/functions
     1.1 --- a/scripts/functions	Tue Aug 24 00:15:36 2010 +0200
     1.2 +++ b/scripts/functions	Thu Aug 26 23:36:54 2010 +0200
     1.3 @@ -79,7 +79,7 @@
     1.4      if [ $# -eq 0 ]; then
     1.5          cat -
     1.6      else
     1.7 -        printf "${*}\n"
     1.8 +        printf "%s\n" "${*}"
     1.9      fi |( IFS="${CR}" # We want the full lines, even leading spaces
    1.10            _prog_bar_cpt=0
    1.11            _prog_bar[0]='/'