2016-02-29 20:36:10 +04:00
|
|
|
#!/bin/bash
|
|
|
|
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
2016-04-27 03:34:32 +04:00
|
|
|
if [ $# -eq 1 -a "$1" == --help ]; then
|
|
|
|
echo "noerr: lancer une commande en supprimant la sortie d'erreur"
|
|
|
|
exit 0
|
|
|
|
fi
|
2016-02-29 20:36:10 +04:00
|
|
|
[ $# -gt 0 ] || exit 0
|
|
|
|
"$@" 2>/dev/null
|