Re: Wondering about the print out function of PS
On Tue, 23 Nov 2010 17:03:12 +0800, Magicloud Magiclouds wrote:
> On Tue, Nov 23, 2010 at 4:33 PM, Camaleón wrote:
>>> Sorry, I meant to know how it could be "not wrapping". The source
>>> somehow confused me.
>>
>> Then "ps aux | less -S" to get no wrapping+horizontal scroll? :-?
>>
> I meant code-wise, just using printf would give a wrap output, right?
Ah... I haven't read the source code.
Do you see any call to the standard printf() function? It seems ps
command integrates some output formatting options :-?
Greetings,
--
Camaleón
Reply to: