The Shell Command plugin enables you to capture the output from a shell command in , by displaying the text output of the shell command in the output window. To use the Shell command plugin, perform the following steps:Load the Shell command plugin. Choose ToolsRun Command to display the Run Command dialog.
Type the shell command that you want to execute in the Command field.  You can include the following special characters:%fUse these special characters to specify the filename of the current active document, including the path. %nUse these special characters to specify the filename of the current active document, without the path. In this case,  looks for the file in the Working directory. Edit the Working directory field if necessary. By default, the Shell command plugin executes the command you specify in the current directory. Select the Show results in Output Window option to display the results of the command in the output window. If you do not select this option,  discards the results of the command.
Click Run. The Shell command plugin executes the command and inserts the text output into the output window.
Use the Shift key to select the text in the output window.  Click Copy selected lines to copy the selected text into the buffer.
Choose EditPaste to paste the selected text into the file.
Click Close the output window to close the output window.
