The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Help me with sed`
.
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
:
Help me with sed`
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
06-04-2008
eamani_sun
Registered User
Join Date: May 2008
Posts: 40
Help me with sed`
Hi,
I have a file with following data in it.
root 1933 1923 localhost calm 32rhewr
I would only need 2nd column "1933" and throw everything away. how can i do it with
sed
? I know that we can do it with cut, but i want it with '
sed
'.
Thanks in advance
--sunny
eamani_sun
View Public Profile
Find all posts by eamani_sun
Find eamani_sun's past nominations received
Find eamani_sun's present nominations given