The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
String Replacement with Perl
.
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
:
String Replacement with Perl
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
09-29-2006
Glenn Arndt
Anomalous Lurker
Join Date: Feb 2006
Location: Indianapolis, IN
Posts: 255
I don't know
perl
, but could this work?
Code:
perl
-pi -e 's/^#*//1' filename
Glenn Arndt
View Public Profile
Visit Glenn Arndt's homepage!
Find all posts by Glenn Arndt
Find Glenn Arndt's past nominations received
Find Glenn Arndt's present nominations given