#!/bin/sh
set -xv
   for devdir in /etc/udev/devices /lib/udev/devices; do
   [ -d "$devdir" ] || continue
   echo $devdir
   pushd $devdir
   set *
   if [ "$1" != "*" ]; then
     echo boucle if $1
      echo $@
   fi
done
echo exit
