[8696] in athena10

home help back first fref pref prev next nref lref last post

Re: [Debathena] #1037: getcluster(1) should quote its shell output

daemon@ATHENA.MIT.EDU (Debathena Trac)
Sat Nov 26 20:07:50 2011

MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
From: "Debathena Trac" <debathena@MIT.EDU>
Cc: debathena@MIT.EDU
To: jdreed@MIT.EDU, geofft@MIT.EDU
Date: Sun, 27 Nov 2011 01:04:33 -0000
Reply-To: 
Message-ID: <057.cf70dcd882b54a310c7e996580c6bc87@mit.edu>
In-Reply-To: <042.fc21a97e1199e61be86a2a1ffbbd2304@mit.edu>
Content-Transfer-Encoding: 8bit

#1037: getcluster(1) should quote its shell output
--------------------+-----------------------------------
 Reporter:  jdreed  |         Owner:  jdreed
     Type:  defect  |        Status:  assigned
 Priority:  normal  |     Milestone:  The Distant Future
Component:  --      |    Resolution:
 Keywords:          |  Upstream bug:
--------------------+-----------------------------------
Changes (by geofft):

 * owner:   => jdreed
 * status:  development => assigned


Comment:

 It turns out this breaks printing, because
 [source:trunk/debathena/debathena/dotfiles/bashrc@25379#L59 the default
 dotfiles] run awk against the output instead of sourcing it, and so you
 end up with PRINTER set to e.g. `"meadow"` instead of `meadow`.

 I don't really object to adding quoting, but you need to make sure to
 update everything that uses it (and decide that nothing out-of-tree uses
 it without sourcing it).

-- 
Ticket URL: <http://athena10.mit.edu/trac/ticket/1037#comment:3>
Debathena <http://debathena.mit.edu>
MIT Debathena Project


home help back first fref pref prev next nref lref last post