Saves invoked command 'check_script_call=$(history |tail -1|grep myscript.sh )' in variable 'check_script_call', preceeding by its number in history.
check_script_call=$(history |tail -1|grep myscript.sh )