The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
awk script help
.
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
:
awk script help
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
11-24-2008
shehzad_m
Registered User
Join Date: Jun 2008
Posts: 31
Quote:
Originally Posted by
Franklin52
Try this:
Code:
awk '{s=s?s":"$1:$1}END{print s}' file
I am getting an
awk: syntax error near line 1
awk: illegal statement near line 1
shehzad_m
View Public Profile
Find all posts by shehzad_m
Find shehzad_m's past nominations received
Find shehzad_m's present nominations given