The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Need scripting 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
:
Need scripting Help
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
9
(
permalink
)
10-13-2008
pkumar3
Registered User
Join Date: Oct 2008
Posts: 7
Plz Find OUT the error in following code
cut -f 7,34- -d "," first97col.CSV|awk -F\, '{
if ($2!="") printf$1FS c=0
for(i=2;i<=NF;i++)
printf$i (++c%4?i==NF?RS:FS:RS$1FS) fi;
}'
Last edited by pkumar3; 10-13-2008 at
09:41 AM
..
pkumar3
View Public Profile
Find all posts by pkumar3
Find pkumar3's past nominations received
Find pkumar3's present nominations given