summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c709114)
raw | patch | inline | side by side (parent: c709114)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 22 Mar 2006 12:59:36 +0000 (12:59 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 22 Mar 2006 12:59:36 +0000 (12:59 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1340 f882894a-f735-0410-b71e-b25c423dba1c
plugins-scripts/check_log.sh | patch | blob | history | |
plugins-scripts/utils.sh.in | patch | blob | history |
index 8145bba935b60aa0d228058baaddd7af5223023e..601c6930308388a20c6d37446fd65bfe562c4580 100755 (executable)
TOUCH="/bin/touch"
PROGNAME=`/bin/basename $0`
-PROGPATH=`echo $0 | /bin/sed -e 's,[\\/][^\\/][^\\/]*$,,'`
-REVISION=`echo '$Revision$' | /bin/sed -e 's/[^0-9.]//g'`
+PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
+REVISION=`echo '$Revision$' | sed -e 's/[^0-9.]//g'`
. $PROGPATH/utils.sh
index 51727b72655c9bf11caf60a22ec4e8c7511624d7..7750716be4f26944f487ca0eb689e94a1195b58c 100644 (file)
print_revision() {
echo "$1 (@PACKAGE@ @VERSION@) $2"
- $ECHO "@WARRANTY@" | /bin/sed -e 's/\n/ /g'
+ $ECHO "@WARRANTY@" | sed -e 's/\n/ /g'
}
support() {
- $ECHO "@SUPPORT@" | /bin/sed -e 's/\n/ /g'
+ $ECHO "@SUPPORT@" | sed -e 's/\n/ /g'
}