Now that's some title for a post. I Couldn't think how to shorten it but it is shorter than the original title I wanted to use. Anyway, a couple of weeks ago I needed to figure out how to write a Bash script that let its users state how many fields or questions the script should request information for and what those field names should be. It took less than five minutes to solve the problem but I thought I'd post my solution here in hope that someone else finds it useful or knows a better solution. Here's what I came up with. It's an input loop script that continues to request input for as … [Read more...]






