The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Perl onliner to search the last line with an occurence of a pattern
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
Perl onliner to search the last line with an occurence of a pattern
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
01-30-2008
lijju.mathew
Registered User
Join Date: Apr 2007
Posts: 10
In the above example i would like to add another line after the red line(last occurence of line starting with cool).How can i do that with a
perl
onliner
Thanks in advance
Lijju
lijju.mathew
View Public Profile
Find all posts by lijju.mathew