[uae] Re: Very ugly hdfcreator in bash

  • From: Richard Drummond <evilrich@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Thu, 30 Jun 2005 01:44:55 -0500

Hi Gingat

On Wednesday 29 June 2005 09:12 am, Gingat Florent wrote:
>  Well please be nice with me it's my first script in bash.
>
>  It's alpha 0.01 and permit you to create hdf files of 32 64 128 and
> 256MB ... no more no less.
>
>  The file will be named amiga.hdf and will overwrite any existing file
> with that name in the directory ...
>
>  If you have some suggestion (others than killing myself for doing a so
> bad work) don't hesitate :p
>
>  Hope it can help someone :p

Thank you. Beauty is in the eye of the beholder after all. ;-)

You might want to make it function non-interactively, too. Perhaps you could 
accept the filename and the size as parameters, and if they're not supplied 
fall back on the interactive behaviour. Otherwise, this is a great start as a 
first bash script. We'll have you hacking configure.in before you know 
it. :-)

Cheers,
Rich

Other related posts: