From 1d2324f44284eb9af1027c789216dc4cf0534c63 Mon Sep 17 00:00:00 2001 From: Garance A Drosehn Date: Mon, 29 Mar 2004 00:16:19 +0000 Subject: [PATCH] Split two 'fmt' strings so they're easier to read on 80-char windows. --- bin/ps/ps.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/ps/ps.c b/bin/ps/ps.c index 5b68347c075a..7806db41346b 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -146,11 +146,13 @@ static void usage(void); static char dfmt[] = "pid,tt,state,time,command"; static char jfmt[] = "user,pid,ppid,pgid,jobc,state,tt,time,command"; -static char lfmt[] = "uid,pid,ppid,cpu,pri,nice,vsz,rss,mwchan,state,tt,time,command"; +static char lfmt[] = "uid,pid,ppid,cpu,pri,nice,vsz,rss,mwchan,state," + "tt,time,command"; static char o1[] = "pid"; static char o2[] = "tt,state,time,command"; static char ufmt[] = "user,pid,%cpu,%mem,vsz,rss,tt,state,start,time,command"; -static char vfmt[] = "pid,state,time,sl,re,pagein,vsz,rss,lim,tsiz,%cpu,%mem,command"; +static char vfmt[] = "pid,state,time,sl,re,pagein,vsz,rss,lim,tsiz," + "%cpu,%mem,command"; static char Zfmt[] = "label"; #define PS_ARGS "AaCc" OPT_LAZY_f "G:gHhjLlM:mN:O:o:p:rSTt:U:uvwXxZ"