ifs() ?

   20833   23   3
User Avatar
Member
29 posts
Joined: July 2005
Offline
Just tried this regsub example on windows and it doesn't seem to work. I tried a simple example w/out the expression and something wrong:

echo `system(“echo testme | perl -pe ‘s/test/me/g’”)`

on linux I'm returned:

“meme”

on windows I'm returned:

“testme | perl -pe s/test/me/g”

I'm not in the habit of running houdini on windows too often.. but this should work all the same

daniel
Daniel Kramer
Sony Pictures Imageworks
User Avatar
Member
8080 posts
Joined: July 2005
Offline
perl comes installed by default on most (or all?) linux distributions. On windows, this is not the case. So you need to download and install perl. Here's a link where you can download it:
http://www.activestate.com/Products/Language_Distributions/ [activestate.com]
User Avatar
Member
29 posts
Joined: July 2005
Offline
Yup, I actually have perl installed and it's in my path. Maybe there's some other env setting I'm missing?

d
Daniel Kramer
Sony Pictures Imageworks
User Avatar
Member
279 posts
Joined: July 2005
Offline
jeff
My gut tells me that building up hscript is the best solution of them all. Give it the functionality it needs to do what you want, especially handling of strings, vectors, matricies, and arrays. The overlap between this and VEX will get blurred pretty quickly.
-jeff

So, if we consider that hscript hasn't changed much in the last 7 years, what are the odds of this happening anytime soon?

Marc
  • Quick Links