Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 456481

Summary: condor_status always prints a tailing \n to stdout
Product: Red Hat Enterprise MRG Reporter: Matthew Farrellee <matt>
Component: gridAssignee: Matthew Farrellee <matt>
Status: CLOSED CURRENTRELEASE QA Contact: Kim van der Riet <kim.vdriet>
Severity: low Docs Contact:
Priority: low    
Version: 1.0CC: jneedle
Target Milestone: 1.2   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-16 16:01:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthew Farrellee 2008-07-24 00:58:27 UTC
you always have to strip the empty line...

$ condor_status -const 'State=="Claimed"' -format '%s\n' ClientMachine | sort |
uniq -c 1 ... 11 suzy.cs.wisc.edu

i believe this comes from condor_status.V6/prettyPrint.C:162

is there a reason the 'printf ("\n");' is there? the line has been there since
raman first checked in condor_status.V6.

i'd propose removing it if there is no good reason.

Comment 1 Matthew Farrellee 2009-10-27 21:27:56 UTC
Resolved by 7.4.1-0.2