skip to main
|
skip to sidebar
Coding and More - keeping track of annoying things I run into while coding
Tuesday, May 4, 2010
using perl to replace all occurences of a word with another in large files
rather simple, we want to replace all occurences of the word 'volatile' with 'volatile2' in a large text file and so just execute
perl -i -p -e 's{volatile}{volatile2}g' /mnt/storage/data/export
I can't believe I'm using perl again...
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Other blogs
my life in california
April + May
6 years ago
Search This Blog
Labels
grails
(28)
groovy
(27)
java
(26)
linux
(13)
postgres
(13)
binbase
(12)
osx
(12)
sql
(10)
rocks
(9)
ajax
(7)
jboss
(7)
maven2
(7)
scala
(7)
cluster
(6)
java script
(6)
json
(5)
setupX
(5)
testing
(5)
xml
(5)
cdk
(4)
eclipse
(4)
jquery
(4)
ubuntu
(4)
dsl
(3)
git
(3)
junit
(3)
maven
(3)
spectra
(3)
stored procedures
(3)
vmware
(3)
yui
(3)
C
(2)
arduino
(2)
assembly
(2)
bitcoin
(2)
css
(2)
database
(2)
export
(2)
forwarding
(2)
grails groovy file download java
(2)
grumpy
(2)
hibernate
(2)
inchi
(2)
index
(2)
lift
(2)
maven3
(2)
plugin
(2)
prototype
(2)
regex
(2)
script
(2)
security
(2)
spring
(2)
statistic
(2)
superduper
(2)
swt
(2)
threads
(2)
tuning
(2)
webtest
(2)
xalan
(2)
xerces
(2)
xml-apis
(2)
X
(1)
apache
(1)
ati
(1)
automation
(1)
bamboo
(1)
bash
(1)
bitmining
(1)
build
(1)
builder
(1)
checkbox
(1)
chef
(1)
chkconfig
(1)
ckeditor
(1)
config
(1)
cts
(1)
date_trunc
(1)
display
(1)
ear
(1)
ejb
(1)
emc
(1)
ethernet
(1)
exception
(1)
fail
(1)
feedback
(1)
filename
(1)
fontawesome
(1)
fusion
(1)
google
(1)
google code
(1)
gpu
(1)
grails2
(1)
griffon
(1)
groovysh
(1)
helper
(1)
hpc
(1)
html
(1)
http
(1)
intellij
(1)
ip
(1)
java6
(1)
jira
(1)
jmx
(1)
kinesis
(1)
log4j
(1)
loop
(1)
macos
(1)
map
(1)
markup
(1)
math
(1)
medplan
(1)
metaclass
(1)
minix
(1)
mocking
(1)
mojo
(1)
mtgox
(1)
mvn3
(1)
network
(1)
nfs
(1)
node
(1)
odd
(1)
oscar3
(1)
parallel
(1)
perl
(1)
player
(1)
prime
(1)
profile
(1)
pubchem
(1)
qsub
(1)
quartz
(1)
radeon
(1)
raid
(1)
rcp
(1)
replace
(1)
rest
(1)
reviews
(1)
rocks reinstall
(1)
shares
(1)
shell
(1)
similarity
(1)
sitemap
(1)
smurf
(1)
spaces
(1)
ssd
(1)
ssh
(1)
ssl
(1)
stackoverflow
(1)
subversion
(1)
tails
(1)
timemachine
(1)
tmp36
(1)
trading
(1)
validate
(1)
virtual host
(1)
vsphere
(1)
war
(1)
webservice
(1)
weird
(1)
wordlist
(1)
workstation
(1)
xandr
(1)
xorg
(1)
yield
(1)
yum
(1)
Blog Archive
►
2015
(2)
►
April
(1)
►
February
(1)
►
2014
(2)
►
May
(1)
►
February
(1)
►
2013
(10)
►
September
(1)
►
August
(1)
►
July
(1)
►
June
(1)
►
April
(2)
►
March
(2)
►
January
(2)
►
2012
(23)
►
December
(3)
►
October
(2)
►
September
(1)
►
August
(1)
►
June
(1)
►
May
(3)
►
April
(6)
►
February
(5)
►
January
(1)
►
2011
(25)
►
December
(2)
►
November
(5)
►
October
(5)
►
August
(6)
►
July
(4)
►
June
(1)
►
March
(1)
►
February
(1)
▼
2010
(41)
►
December
(5)
►
November
(1)
►
September
(5)
►
August
(1)
►
July
(3)
►
June
(3)
▼
May
(4)
renaming all files in a directory
moving indexes in postgres to a new tablespace
using perl to replace all occurences of a word wit...
flushing BinBase
►
March
(9)
►
February
(8)
►
January
(2)
►
2009
(48)
►
December
(2)
►
November
(4)
►
October
(5)
►
September
(9)
►
August
(3)
►
July
(25)
No comments:
Post a Comment