The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
awk 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 help
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
05-26-2009
garethsays
Registered User
Join Date: Nov 2008
Posts: 14
so far....
awk '{a=$1;b=$2;getline;c=$2;print a,c}' input_file
which gives me an output from my original input file of
a d
e h
and I was expecting
a d
c f
e h
Any ideas???
Thanks
garethsays
View Public Profile
Find all posts by garethsays
Find garethsays's past nominations received
Find garethsays's present nominations given