what my script needs:
i want to be able to use a filename in my script several times, and i want to use this script hundreds of times for different files, without having to manually change the filename over and over each time i want it run.
so for example, maybe the script is run with*:
and then the script will be able to run all the things i intend to do, without needing "foo.png" being written in the script, presumably replaced with a "variable"? (sorry if thats the wrong terminology, still early days for me and bash)
so what ways are there of achieving this?
(preferably just using bash... but if something else (C?) is required, very well..)
* i dont mind if i just run it with "wabob", and it prompts me for the filename. either way is good i suppose.
ps, sry if this is something painfully simple i've overlooked while reading about bash.