30 lines
		
	
	
		
			564 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			564 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| #xcrypted
 | |
| # Created: 27/03/2020
 | |
| # P Anelli"
 | |
| # Session 3
 | |
| 
 | |
| source ${LIBSH}/libeval.sh
 | |
| 
 | |
| #-----------------------------------------
 | |
| challenge=C13Q4
 | |
| rep=~/Sequence1/A13/LettresBob
 | |
| rep2=~/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' ]
 | 
