Bug 456481 - condor_status always prints a tailing \n to stdout
condor_status always prints a tailing \n to stdout
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: grid (Show other bugs)
All Linux
low Severity low
: 1.2
: ---
Assigned To: Matthew Farrellee
Kim van der Riet
Depends On:
  Show dependency treegraph
Reported: 2008-07-23 20:58 EDT by Matthew Farrellee
Modified: 2010-03-16 12:01 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-03-16 12:01:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Matthew Farrellee 2008-07-23 20:58:27 EDT
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 17:27:56 EDT
Resolved by 7.4.1-0.2

Note You need to log in before you can comment on or make changes to this bug.