mooc/www/sys/fs/usr/script/old/evalQ134

29 lines
574 B
Bash

#!/bin/bash
# Created: 27/03/2020
# P Anelli"
# Session 3
source ${LIBSH}/libeval.sh
#-----------------------------------------
challenge=C13Q4
rep=/home/alice/Sequence1/A13/LettresBob
rep2=/home/alice/Sequence1/A13/LettresTrudy
#-----------------------------------------
# Debut
banniere $challenge
# 1
[ $(pwd) == "$rep" ]
step $(vraifaux $?) "Le repertoire courant est $rep"
# 2
[ -d $rep2 ]
step $(vraifaux $?) "Le repertoire $rep2 existe"
#-----------------------------------------
# Fin
status "${challenge}_$res"
exit 0
# listcode = [ '000', '93f', '05d' ]