code - script - general - funcion - f02_fdep_drupal.f - Busqueda en profundidad. Acontando las búsquedas por parámetro

  1. #!/usr/bin/bash
  2. #-------------------------------------------------------------------
  3. # Funciones Entornos Unix - Brqx Site - Brqx Org
  4. # Brqx Org - Rct - 2010
  5. #-------------------------------------------------------------------
  6. VERSION_SCRIPT="V 5.0" # Version del Script actual
  7. FECHA_SCRIPT="Febrero 2010"
  8. #-------------------------------------------------------------------
  9. LEVEL_NIVEL=04
  10. CONCEPT_CARACTER="common"
  11. CONCEPT_MOLDE="funcion"
  12. CONCEPT_ARQUETIPO="busqueda"
  13. CONCEPT_LEVEL="Lista $CONCEPT_MOLDE ${CONCEPT_ARQUETIPO} ${CONCEPT_CARACTER}"
  14. #-==================================================================
  15. #+ Funciones definidos:
  16. #-------------------------------------------------------------------
  17. #-- fdep
  18. #-------------------------------------------------------------------
  19.  
  20. #-==================================================================
  21.  
  22. #- Funcion de listado de carpetas usando profundidad superficial
  23. fdep()
  24. {
  25. RUTA_MODULO=$1
  26.  
  27. FN_FDEP_SALIDA=`find ${RUTA_MODULO}/* -maxdepth 0 -type d`
  28.  
  29. }