S2kDesigns Technical Blog
Perl search n replace in place
Wednesday, October 28, 2009, 06:41 AM -
PERL/Shell Scripting
Posted by Administrator
perl -i.bak -p -e 's/old/new/g' filename
[ add comment ]
|
permalink
|
related link
|
( 3.1 / 60 )
<<First
<Back
|
1
|
2
|
3
| 4 |
5
|
6
|
7
|
8
|
9
|
Next>
Last>>
Links
Home
Contact Me
Stats
Login
Calendar
«
June 2010
»
Sun
Mon
Tue
Wed
Thu
Fri
Sat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
09/10/10
Random Entry
Count the words in a sentence using PHP
GEO IP Database
Display items HTML ListBox from PHP array list.
mytrim
Pad a string to a certain length with another string
Archives
View Archives
2010
June
Mysql: How to drop a Unique Constraint?
06/03/10
May
April
March
February
January
2009
December
November
October
September
August
2008
October
Categories
HTML
JavaScript
PHP
PERL/Shell Scripting
Apache
IPhone
ActionScript
Interview
MySQL
.net
Joomla
Windows 7
Search
Search
Counter Totals
Total:
10,021
Today:
2
Yesterday:
30
Most Recent Entries
Mysql: How to drop a Unique Constraint?
How to find world writable directories by "find" command?
perl - handling sigint
Perl Important links
Perl - Difference Between my local our
Windows 7: I want WinXP Style back
Windows7 How to add the Quicklaunch Toolbar
opensubtitles.org oscar not working - resolved
Find Joomla Module Positions
Duplicate a Table using Javascript
Most Recent Comments
Yuriy
01/23/10
A similar form can be generated using form builder