The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
hell & mathematics
.
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
:
hell & mathematics
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
05-26-2008
jaduks
Registered User
Join Date: Aug 2007
Location: Assam,India
Posts: 167
Is your expected output is something like this ?
Code:
$
sed
-n '/BEGIN\|END/ s_\[\(.*\)\].*\[\(.*\)\].*_\2_p' og.txt 1211425845 1211425846
//Jadu
jaduks
View Public Profile
Visit jaduks's homepage!
Find all posts by jaduks
Find jaduks's past nominations received
Find jaduks's present nominations given