Skip to content
  • Jason Riedy's avatar
    Use printf rather than echo -n. · 9754563c
    Jason Riedy authored
    
    
    On AIX, there is no -n option to the system's echo.  Instead,
    it needs the '\c' control character.  We could replace
      echo -n "foo"
    with
      echo -e "foo\c"
    but printf is recommended by most man pages.  Tested on AIX
    5.3, Solaris 8, and Debian.
    
    [jc: futureproofed two instances that uses variable with '%s'
     so later feeding different messages would not break things too
     easily; others are emitting literal so whoever changes the
     literal ought to notice more easily so they are safe.]
    
    Signed-off-by: default avatarE. Jason Riedy <ejr@cs.berkeley.edu>
    Signed-off-by: default avatarJunio C Hamano <junkio@cox.net>
    9754563c