perl one liner that will replace all strings in a text file.
perl -pi -e "s/searchForText/replacewithThis/g;" *.txt
ok, the above sucks but it was what I found before.
Here is what is needed
perl -pi.bak -e "s/searchForText/replacewithThis/g" testf.txt
tested on 5.8 win32 - from activestate
Thursday, June 28, 2007
Monday, June 18, 2007
Great collection of Windows VBScripts
I found a great collection of scripts, this covers some things the scripting guys miss.
http://www.windows-management.com/scripting/wmi/
I found under the networking section two dns scripts that I found helpful.
http://www.windows-management.com/scripting/wmi/
I found under the networking section two dns scripts that I found helpful.
Wednesday, June 06, 2007
GTD - a new d3 is on the way
I started playing with GTD, I checked out MonkeyGTD and d3, as well as others (one with a Ruby on Rails backend).
I like d3 for the simpleness, however there are some things I would look at changing.
http://www.dcubed.ca/
Google Group Discussion
http://groups.google.com/group/GTD-TiddlyWiki
I want to get to a point where GTD is my main area for journal, tasks, project list, etc.
Some things I want to add:
checkbox for common tags such as estimated time,15min, 20min.
Also I want to customize the RSS options as there are pocketmod templates which can read rss.
I like d3 for the simpleness, however there are some things I would look at changing.
http://www.dcubed.ca/
Google Group Discussion
http://groups.google.com/group/GTD-TiddlyWiki
I want to get to a point where GTD is my main area for journal, tasks, project list, etc.
Some things I want to add:
checkbox for common tags such as estimated time,15min, 20min.
Also I want to customize the RSS options as there are pocketmod templates which can read rss.
Subscribe to:
Posts (Atom)