[ale] replacing text

ChangingLINKS.com groups at ChangingLINKS.com
Fri Dec 12 16:58:18 EST 2003


I am trying to replace text in a set of files.
Thusly:  perl -pi -e "s/test/tEst/g;" ./*
Worketh.

However, I need to replace variables marked with $
Thusly: perl -pi -e "s/$test/$tEst/g;" ./*
Not worketh, nor  perl -pi -e "s/\$test/\$tEst/g;" ./*

How do I "escape" the $ ? 
-- 
Wishing you Happiness, Joy and Laughter,
Drew Brown
http://www.ChangingLINKS.com



More information about the Ale mailing list