WineHQ
Wine Forums

Board index » WineHQ » Wine Help




 Page 1 of 1 [ 3 posts ] 



 
Author Message
 Post Posted: Thu May 10, 2012 3:38 pm 
 
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=


Top 
 Post subject:
 Post Posted: Thu May 10, 2012 5:36 pm 
Offline
Level 8
Level 8

Joined: Tue Jul 14, 2009 1:21 pm
Posts: 1115
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...


Top 
 Post Posted: Fri May 11, 2012 3:52 am 
 
On Thu, 2012-05-10 at 17:36 -0500, doh123 wrote:
Quote:
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


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 3 posts ] 




Board index » WineHQ » Wine Help


Who is online

Users browsing this forum: No registered users and 2 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: