The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Using grep to extract line number
.
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
:
Using grep to extract line number
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
03-19-2005
mskarica
Registered User
Join Date: Jan 2005
Location: Tallahassee, FL
Posts: 19
Thanks. That worked exactly how I needed it to. If you don't mind, can you explain what this means for me so I know in the future:
's/^\([0-9]*\)[:].*/ \ 1/p'
Thanks a lot.
mskarica
View Public Profile
Find all posts by mskarica
Find mskarica's past nominations received
Find mskarica's present nominations given