#!/usr/bin/env bash name=vdn-shell synopsis() { cat << EOF Usage : $name [-h] EOF } help() { cat << EOF $name exécute un shell evec les fonctions et les variables VDN. `synopsis` -h : affiche cette aide EOF } usage() { synopsis exit 1 } args() { local opt while getopts "h" opt; do case $opt in h) help; exit 0;; ?) usage;; esac done } # Programme principal #xclock args $@ VDN_PATH=$(readlink -f $(dirname $0)/..); . $VDN_PATH/bin/functions.sh echo "Start..." #export PS1='[VDN] \u@\h:\w\$ ' #$SLASH/usr/bin/env | $SLASH/bin/grep PATH #export DISPLAY='127.0.0.1:10.0' #xclock $SLASH/usr/bin/env $SLASH/bin/bash