To second what Uri mentioned already, On Fri, Jul 15, 2016 at 11:42 PM, AC P <nightn...@gmail.com> wrote:
> <snip> > > Argument "$command" isn't numeric in subtraction (-) at then it gives me > my directory. > > <snip> > This error message (I suspect it was a warning, can you check?) probably reported a line number. Could you post the code in the vicinity of that line number? (Better yet, post your whole script, or enough of a script to reproduce the problem.) Thanks! David -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." -- Brian Kernighan