The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
how to access values of awk/nawk variables outside the awk/nawk block?
.
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
:
how to access values of awk/nawk variables outside the awk/nawk block?
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
05-12-2008
aju_kup
Registered User
Join Date: Jul 2006
Posts: 189
Code:
count=$(nawk '{ . . . count=count+1 print count }' )
aju_kup
View Public Profile
Find all posts by aju_kup
Find aju_kup's past nominations received
Find aju_kup's present nominations given