[Wolves] Rewriting bash scripts in a 'proper' language

John Rose john.aaron.rose at gmail.com
Wed Oct 1 15:18:43 UTC 2014


I use Gambas for things like GUI wrappers around CLI programs. I've also 
used it for Database Maintenance e.g. for creating a SQLite database for 
uploading to a website for retrieval by Android apps. It's much superior 
to VB on which it's loosely based.

Regards,
John

On 01/10/14 14:57, Simon Burke wrote:
> So I spent most of this morning writing a script in Bash to automate a 
> regular task. However as it requires user input for some fields and 
> I've set up basic validation for said fields, it started to get out of 
> hand. As its now getting horrendously long, found out things like how 
> Bash handles functions and Bashs limitations with regex (i.e. doesnt 
> support lookarounds).
>
> Considering this and the fact that it's likely to grow as I want to be 
> able to scale it in multiple directions. I thought it would be a good 
> time to brush up on my language skills. Seeing that I've not really 
> used a language properly for about a year or so, even longer the last 
> time I've used it in anger.
>
> So whats a nice language these days? considering that I only really 
> know basic python, perl and ruby. Is Go worth looking at? The guys 
> here keep suggesting php, but lets not get into the merits of php 
> developers. :P
>
> How easy would it be to rewrite a large bash script into whatever 
> language?
>
> Please don't mention the likes of brainfuck, java, cobol et al. :)
>
>
> _______________________________________________
> Wolves LUG mailing list
> Homepage: http://www.wolveslug.org.uk/
> Mailing list: Wolves at mailman.lug.org.uk
> Mailing list home: https://mailman.lug.org.uk/mailman/listinfo/wolves

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/wolves/attachments/20141001/ba1efa4f/attachment.html>


More information about the Wolves mailing list