The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Tail??
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Tail??
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
7
(
permalink
)
06-16-2006
reborg
Administrator
Join Date: Mar 2005
Location: Ireland
Posts: 4,245
It might however be better to count the colum from the right, rather then the left, because the time in uptime may not always contain the same numbert of fields.
Instead of $13 use $(NF-2)
reborg
View Public Profile
Find all posts by reborg
Find reborg's past nominations received
Find reborg's present nominations given