[Bug translator/4591] println function
joshua dot i dot stone at intel dot com
sourceware-bugzilla@sourceware.org
Tue Aug 14 04:59:00 GMT 2007
------- Additional Comments From joshua dot i dot stone at intel dot com 2007-08-13 23:47 -------
I think it would be easy to generalize this into a set of print variants that
should cover just about anyone. I propose adding two new suffix variants to
print-like statements: 'd' for delimited, and 'ln' (or perhaps just 'n') for
including a newline. With 'd', the first parameter must be a string literal
that will delimit the rest of the arguments. With 'ln', a newline is appended.
Bare print() and sprint() would be extended to allow multiple arguments, which
just get printed one-after-the-other.
So the complete list of print statements would be:
print, sprint, printf, sprintf, printd, sprintd,
println, sprintln, printdln, sprintdln
We have a special case of print(@hist_*) -- I'll leave that as-is.
Any comments? If there are no objections, I will implement this...
Josh
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4591
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list