The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Grep, then format then prepare a string
.
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
:
Grep, then format then prepare a string
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
10-02-2008
danmero
丹
Join Date: Nov 2007
Location: 45.48-73.63
Posts: 1,432
Another awk solution.
Code:
awk -F'[(|,|)]' '/^Personal/{printf "%s\n%s\n%s\n",$1,$4,$5}' file
danmero
View Public Profile
Find all posts by danmero
Find danmero's past nominations received
Find danmero's present nominations given