Files
Fritz Mehner 303acbf76b Version 5.3
- Adjusting end-of-line comments improved.
- Bugfix: Map and menu entry 'Snippets->edit global templates'.
- 'Run -> make script executable' (\re) is now a toggle.
- Perl interpreter can be set in ~/.vimrc.
- Script can be run via shebang (new global variable g:Perl_DirectRun)
- Fixed problem with system-wide installations and plug-in managers (thanks to Yegor).
- Added 'Perl_SetMapLeader' and 'Perl_ResetMapLeader'.
- Bugfix: Resetting maplocalleader in filetype plug-in after setting it to the value of
  g:Perl_MapLeader.
- Bugfix: Better compatibility with custom mappings
  (use "normal!" and "noremap" consistently).
2014-03-25 21:30:07 -04:00

30 lines
1.0 KiB
Bash

#!/bin/bash
#===============================================================================
# FILE: wrapper.sh
# USAGE: ./wrapper.sh scriptname [cmd-line-args]
# DESCRIPTION: Wraps the execution of a programm or script.
# Use with xterm: xterm -e wrapper.sh scriptname cmd-line-args
# This script is used by the Vim plugin perl-support.vim
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Dr.-Ing. Fritz Mehner (fgm), mehner.fritz@fh-swf.de
# COMPANY: Fachhochschule Südwestfalen, Iserlohn
# CREATED: 23.11.2004 18:04:01 CET
# REVISION: 12.01.2014
#===============================================================================
returncode=0 # default return code
if [ ${#} -ge 1 ] ; then
"${@}"
returncode=$?
[ $returncode -ne 0 ] && printf "'${@}' returned ${returncode}\n"
else
printf "\n!! ${0} : no argument(s) !!\n"
fi
read -p "... press return key ... " dummy
exit $returncode