The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
awk- report generation from input file
.
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- report generation from input file
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
7
(
permalink
)
03-17-2008
Klashxx
HP-UX/Linux/Oracle
Join Date: Feb 2006
Location: Almerķa, Spain
Posts: 393
Or:
Code:
awk '/^Name/{n=$NF}/^Address/{gsub(/Address: *|,/,"");a=$0}/^City/{print n,a,$NF}' FS='( )|(,)' file
Klashxx
View Public Profile
Find all posts by Klashxx
Find Klashxx's past nominations received
Find Klashxx's present nominations given