Visual basic scripting under wine?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
John Hovan

Visual basic scripting under wine?

Post by John Hovan »

Hello

I have a few scripts written in visual basic that open text files and write back out text files after modifying the content. Is it possible to run visual basic scripts under wine or is this beyond the scope of wine?

Thanks
John=
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

reads text files, modifies content, then writes them back out... thats all? why would you want to run that in Wine... you could write a bash script in 30 minutes to do it probably...
Martin Gregorie

Visual basic scripting under wine?

Post by Martin Gregorie »

On Thu, 2012-05-10 at 17:36 -0500, doh123 wrote:
reads text files, modifies content, then writes them back out... thats
all? why would you want to run that in Wine... you could write a bash
script in 30 minutes to do it probably...
Agreed, but use awk or its GNU version gawk. Its my first choice for
anything like that. It runs fast and awk scripts are small and fast to
write. I can't think of anything I've needed to do to a text file that
gawk wouldn't do.

You can pick it up from its manpage but that's pretty terse, so look for
an online tutorial or get hold of a copy of "sed & awk", an O'Reilly
book. Time spent getting to grips with awk is never wasted.

Martin
Locked