The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
printing output more than 13
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
printing output more than 13
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
01-22-2007
anbu23
Registered User
Join Date: Mar 2006
Location: Bangalore,India
Posts: 1,397
Code:
w | awk ' NR > 2 && $0 ~ "day" {sub("[^0-9]*$","",$5);if( $5 > 10 ) print $5 } '
anbu23
View Public Profile
Find all posts by anbu23