bin bash SRC GEDIT_CURRENT_DOCUME NT_DIR GEDIT_CURRENT_DOCUME NT_NAME

1
2
3
4
#!/bin/bash
SRC=$GEDIT_CURRENT_DOCUMENT_DIR"/"$GEDIT_CURRENT_DOCUMENT_NAME
RSLT=${SRC//.*/.out}
gnome-terminal -e "bash -execute $RSLT;read" &