#!/bin/bash
if [ $# -ne 1 ]; then
	echo "Argument Manquant"
else
	
	if [ -f $1 ]; then
		if [ -x $1 ]; then
			echo "$1"
		fi
#		chmod 644 $1
	fi
	if [ -d $1 ]; then 
#		echo "-- $1 --"
#		chmod 755 $1
		for i in $1/*	
		do
#			echo "> $i <"
			/home/ED/search-executable.sh $i
		done
	fi
fi
