Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2003 13:52:11 -0400
From:      lbland <lbland@vvi.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   editing uptime output with sed?
Message-ID:  <71D66F70-8E10-11D7-A088-0030659A531A@vvi.com>

next in thread | raw e-mail | index | archive | help
hi-

sorry for the generic question...

how do I take uptime output:
  1:45PM  up 6 days,  3:58, 11 users, load averages: 0.30, 0.24, 0.21
and get the 2nd to last value with sed? (how do I get sed to output 
0.24 to stdout)?

TIA-

-lance



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?71D66F70-8E10-11D7-A088-0030659A531A>