From fd2001cd614dfa0d55ec820b7c358a1795d3ea27 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Tue, 14 Dec 2021 11:42:41 -0500 Subject: Simplify vim configuration --- dot_vim/c-support/scripts/wrapper.sh | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 dot_vim/c-support/scripts/wrapper.sh (limited to 'dot_vim/c-support/scripts') diff --git a/dot_vim/c-support/scripts/wrapper.sh b/dot_vim/c-support/scripts/wrapper.sh deleted file mode 100644 index 55d9961..0000000 --- a/dot_vim/c-support/scripts/wrapper.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -#=============================================================================== -# FILE: wrapper.sh -# USAGE: ./wrapper.sh executable [cmd-line-args] -# DESCRIPTION: Wraps the execution of a programm or script. -# Use with xterm: xterm -e wrapper.sh executable cmd-line-args -# This script is used by several plugins: -# bash-support.vim, c.vim and perl-support.vim -# OPTIONS: --- -# REQUIREMENTS: which(1) - shows the full path of (shell) commands. -# BUGS: --- -# NOTES: --- -# AUTHOR: Dr.-Ing. Fritz Mehner (Mn), mehner@fh-swf.de -# COMPANY: Fachhochschule Südwestfalen, Iserlohn -# CREATED: 23.11.2004 18:04:01 CET -# REVISION: $Id: wrapper.sh,v 1.3 2007/10/03 09:06:09 mehner Exp $ -#=============================================================================== - -command=${@} # the complete command line -executable=${1} # name of the executable; may be quoted - -fullname=$(which $executable) -[ $? -eq 0 ] && executable=$fullname - -if [ ${#} -ge 1 ] && [ -x "$executable" ] -then - shift - "$executable" ${@} - echo -e "> \"${command}\" returned ${?}" -else - echo -e "\n !! file \"${executable}\" does not exist or is not executable !!" -fi -echo -e " ... press return key ... " -read dummy -- cgit v1.2.3