Jump to content

Regular Expression On Windows


kubabuk

Recommended Posts

hello everyone,

I am trying read a content of a folder to the HDA using awk. Unfortunately I am on windows and that is the source of all of my problems I suppose. The awk expression works fine in cygwin but gives weird results in houdini. That is what I am using in Operator Type Properties > Parameter > Menu tab

echo `system("ls c:/temp | gawk \'/\^B/\'")`

or

echo `system("ls c:/temp | gawk '/^B/'")`

I assume i have to escape special characters with the backslashes, but both methods don't work work me.

thanks

kuba

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...