Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2009 22:09:55 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/bin/sh output.c
Message-ID:  <200906192210.n5JMAF00012028@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jilles      2009-06-19 22:09:55 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               output.c 
  Log:
  SVN rev 194516 on 2009-06-19 22:09:55Z by jilles
  
  Fix some issues with quoted output and shorten it in some cases.
  
  Output quoted suitable for re-input to the shell occurs in
  various cases such as 'set', 'trap'.
  
  Bugfix: *, ? and [ must be quoted (except sole [)
  Bugfix: ~ and # must be quoted (really only sometimes, but keep it simple)
  Bugfix: space, tab and newline must always be quoted
  Shortening: other IFS characters do not need quoting
  Bugfix: send to correct output file, not hard-coded stdout
  Shortening: avoid unnecessary '' with \'
  
  Approved by:    ed (mentor)
  
  Revision  Changes    Path
  1.21      +15 -9     src/bin/sh/output.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906192210.n5JMAF00012028>