Bash function argument parsing/regex : I want to have a function I can call from the command line that takes the following:
$ command_name /some/path/file.java
and turns into the following call:
command /some/path:file

So basically the part I'm having trouble with is substituting a ':' for the last '/' and stripping the file extension.