diff --git a/Sio1/SISR1/40-ShellEtBash/crsamba5 b/Sio1/SISR1/40-ShellEtBash/crsamba5 deleted file mode 100755 index c27dd44..0000000 --- a/Sio1/SISR1/40-ShellEtBash/crsamba5 +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -#set -e -#set -u - -if [[ $# -ne 1 ]] ; then - echo "usage : $0 " - exit 1 -fi - -if [[ ! -r "$1" ]] ; then - echo "$0 : erreur ouverture ${fich}" - exit 2 -fi - - - -fich=$1 -while read ligne -do - login=$(echo "${ligne}"|cut -d: -f1) - nom=$(echo "${ligne}"|cut -d: -f2) - echo "${login} ${nom}" -done < $fich