CODES
NEW
ADD
SaveCode.net
Ranking
Extension
how to replace a string in a file quickly from the command line
Home
/
Codes
/
perl
0
How to replace a string in a file quickly from the command line
Copy
perl
bash
regex
command-line
replace
string
file
Favourite
Share
By
Gerard Kilback
at Jun 04 2022
Related code examples
Send email from gmail account via command line
Get user input on the command line.
Read file from STDIN and print random line.
Using Getopt::Long for Command Line Parsing in Perl
use vim or perl to replace the cdc_ string in chromedriver
search and replace
perl replace substring
Iterate through variable line by line.
Remove Duplicate Lines from a File - perl
Replace number sequentially with grep
search and replace vi
Fetch RIFIAS on-line archive
List C & CPP function names from a file using perl
Grab all links from local or remote html file
Unsort Lines TextMate Command
EPUB: reorder playorder values in NCX file
perl write to file
perl string length
append string perl
RegEx string substitution
file n directory operation
Redirect everything to log file.
Net::FTP to ftp a file
Apache Log File Analyzer
rename recursive file extensions
Backup all your tables from ZOHO CRM in CSV format
Convert ISBN file names to BibTeX records
Extract TRA configuration for tra file
Remove newline characters from text
Backup your snippets from snipplr.com
Process PHP-style array (square brackets) from HTML form in Perl CGI
Scan file for Floating point numbers with regex
Recurse through directory and perform action on file
remove sensitive info from a subversion repository
Perl recursive loop symbolic link final destination using Unix readlink command
make a directory tree from the output of find
Send voice phone (mp3 or wave file) using www.smsmatrix.com Gateway
Batch download code between tags from remote HTML pages
join in perl
unique in perl
list files in dir
Capture Screenshots in Perl
Using constants in perl
linux find in files
Test for (in)valid regex
list all files in directory
Count directory entries in given directories
Perl in-place substitution as an alternative to sed
how to get last element of array in perl
Recipe 9.7. Processing All Files in a Directory Recursively
Convert keywords to tags (and vice versa) in BiBTeX files
basename OR dirname perl
FHTML (for TextMate)
Recursively remove .svn folders
Twitter Client Report
Example of circular data structure : Network class
CLI/Shell spacing with Template--Toolkit (TT) without looping
run 'linkcheck' on bookmarks 2 of 2
using sendEmail perl script and Gmail SMTP server to send email
Perl: Modify XML Feed Items' pubDate
CPAN module to install Perl
convert dos 2 unix (oneliner)
convert unix 2 dos (oneliner)
Add array elements to hash set
Send Wiimote Signal Through XML-RPC
Perl to InDesign CS4 example (OS X)
Remove duplicated lines with Perl
Perl Environment Variable Listing
Perl Keyword Search (One Liner)
(Perl) using WMI to get video memory information
(Perl) using WMI to get system information
Privoxy nsf filter: Change nsf.gov background
perl redirect for squid
some perl keywords
Internet related perl script
Tiff2PDF converter for NYBC Files
uppercase
perl array loop
perl lowercase
perl set a specific datetime
perl get date
perl validate integer
perl get first characters
perl set date
perl hash
perl datetime formatting
perl hash size
perl print hash
perl for loop
perl modulus
perl last characters
perl print array
perl for
perl sprintf YYYYMMDD sample
perl array
perl remove all whitespace
perl print @INC
ternary operator perl
perl mongodb conf location
perl else if
Code examples by languages
javascript
29k
python
23k
shell
16k
php
14k
java
8k
html
7k
sql
7k
css
7k
c#
4k
typescript
3k
c++
3k
c
3k
bash
2k
swift
909
go
903
vba
890
dart
866
r
746
ruby
681
latex
477
kotlin
440
lua
395
matlab
270
rust
213
groovy
183
assembly
174
basic
151
markdown
102
delphi
76
scala
70
haskell
64
ascii
62
actionscript
56
perl
54
twig
53
elixir
52
julia
46
d
37
octave
34
velocity
34
f#
29
clojure
23
pascal
23
less
23
prolog
19
diff
18
vhdl
18
objective-c
16
fortran
16
scheme
16
abap
16
brainfuck
15
tcl
14
sieve
12
factor
11
lisp
10
jinja2
10
haxe
9
oz
9
pug
9
spreadsheet
9
smarty
9
crystal
7
verilog
7
cobol
6
ocaml
6
protobuf
6
q
6
turtle
6
gas
5
rpm
5
erlang
4
jsx
4
forth
3
handlebars
3
eiffel
2
elm
2
gherkin
2
scss
2
slim
2
textile
2
postscript
1
coffeescript
1
cython
1
dtd
1
ebnf
1
haml
1
idl
1
mathematica
1
nsis
1
puppet
1
soy
1
squirrel
1
toml
1
systemverilog
1