The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
cannot get logic for concatenation awk
.
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
:
cannot get logic for concatenation awk
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
12-04-2007
gus2000
Registered User
Join Date: Oct 2007
Posts: 157
Code:
awk 'BEGIN{a[1]="abc";a[2]="def";print length(a)}' 2
Once you know the number of elements, you can use a for loop.
gus2000
View Public Profile
Find all posts by gus2000
Find gus2000's past nominations received
Find gus2000's present nominations given