The error checking code is duplicated in the two scripts. A better approach could be to merge the income and expense scripts and use a "bestoonsubmit.sh" script with a "mode" flag. Can be overkill though.
PS) Can't type Persian here, thought English is better that Finglish! :)
PS2) Just saw the other pull request for basically the same change. Will leave this as is for now. We may need a better TODO list so that we don't step on each other's toes. :)
The error checking code is duplicated in the two scripts. A better approach could be to merge the income and expense scripts and use a "bestoonsubmit.sh" script with a "mode" flag. Can be overkill though.
PS) Can't type Persian here, thought English is better that Finglish! :) PS2) Just saw the other pull request for basically the same change. Will leave this as is for now. We may need a better TODO list so that we don't step on each other's toes. :)