From 0cf8e041f5f74aac82268c4f6029323703be409e Mon Sep 17 00:00:00 2001 From: Jephte CLAIN Date: Mon, 29 Feb 2016 20:36:10 +0400 Subject: [PATCH] =?UTF-8?q?scripts=20noerror,=20noout,=20noerr=20qui=20fon?= =?UTF-8?q?ctionnent=20comme=20les=20fonctions=20du=20m=C3=AAme=20nom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noerr | 4 ++++ noerror | 4 ++++ noout | 4 ++++ 3 files changed, 12 insertions(+) create mode 100755 noerr create mode 100755 noerror create mode 100755 noout diff --git a/noerr b/noerr new file mode 100755 index 0000000..195a26d --- /dev/null +++ b/noerr @@ -0,0 +1,4 @@ +#!/bin/bash +# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8 +[ $# -gt 0 ] || exit 0 +"$@" 2>/dev/null diff --git a/noerror b/noerror new file mode 100755 index 0000000..547dc1b --- /dev/null +++ b/noerror @@ -0,0 +1,4 @@ +#!/bin/bash +# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8 +[ $# -gt 0 ] || set : +"$@" || exit 0 diff --git a/noout b/noout new file mode 100755 index 0000000..8f5b5d9 --- /dev/null +++ b/noout @@ -0,0 +1,4 @@ +#!/bin/bash +# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8 +[ $# -gt 0 ] || exit 0 +"$@" >/dev/null