From owner-freebsd-questions@FreeBSD.ORG Sat May 24 10:44:02 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5575937B401 for ; Sat, 24 May 2003 10:44:02 -0700 (PDT) Received: from vvi.com (vvionly.penn.com [208.22.30.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id D182143F3F for ; Sat, 24 May 2003 10:44:00 -0700 (PDT) (envelope-from lbland@vvi.com) Received: from vvi.com ([206.229.112.1] verified) by vvi.com (CommuniGate Pro SMTP 4.0.6) with ESMTP id 2572127 for freebsd-questions@FreeBSD.ORG; Sat, 24 May 2003 13:52:11 -0400 Date: Sat, 24 May 2003 13:52:11 -0400 Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed From: lbland To: freebsd-questions@FreeBSD.ORG Content-Transfer-Encoding: 7bit Message-Id: <71D66F70-8E10-11D7-A088-0030659A531A@vvi.com> X-Mailer: Apple Mail (2.552) Subject: editing uptime output with sed? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2003 17:44:02 -0000 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