[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] replacing text
- Subject: [ale] replacing text
- From: groups at ChangingLINKS.com (ChangingLINKS.com)
- Date: Fri Dec 12 16:58:18 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