Cableado estructurado

Páginas: 2 (348 palabras) Publicado: 14 de julio de 2014
#!/bin/bash

./ComprobarDirs.sh
while [ false ]; do

clear
echo "1) Añadir libro"
echo "2) Prestar libro"
echo "3) Listar todos (ordenados por titulo)"
echo "4) Listar todos (ordenadosalfabéticamente)"
echo "5) Listar prestados"
echo "6) Listar usuario con préstamos"
echo "7) Devolver libros"
echo "8) Buscar libro"
echo "9) Salir"


echo "Elija una opción: "
read opcion
echo"La opción elegida es: $opcion"
if [ $opcion -eq 1 ]; then
./AnadirLibro.sh
fi
if [ $opcion -eq 2 ]; then
./PrestarLibro.sh
fi
if [ $opcion -eq 3 ]; then
./ListarLibSig.sh
fi
if [ $opcion -eq4 ]; then
./ListarLibAlf.sh
fi
if [ $opcion -eq 5 ]; then
./ListarLibPrest.sh
fi
if [ $opcion -eq 6 ]; then
./ListadoUsuarioPrestados.sh
fi
if [ $opcion -eq 7 ]; then
./DevolverLibros.sh
fiif [ $opcion -eq 8 ]; then
./BuscarLibro.sh
fi
if [ $opcion -eq 9 ]; then
exit
fi

done
#!/bin/bash

./ComprobarDirs.sh
while [ false ]; do

clear
echo "1) Añadir libro"
echo "2)Prestar libro"
echo "3) Listar todos (ordenados por titulo)"
echo "4) Listar todos (ordenados alfabéticamente)"
echo "5) Listar prestados"
echo "6) Listar usuario con préstamos"
echo "7) Devolverlibros"
echo "8) Buscar libro"
echo "9) Salir"


echo "Elija una opción: "
read opcion
echo "La opción elegida es: $opcion"
if [ $opcion -eq 1 ]; then
./AnadirLibro.sh
fi
if [ $opcion -eq 2 ];then
./PrestarLibro.sh
fi
if [ $opcion -eq 3 ]; then
./ListarLibSig.sh
fi
if [ $opcion -eq 4 ]; then
./ListarLibAlf.sh
fi
if [ $opcion -eq 5 ]; then
./ListarLibPrest.sh
fi
if [ $opcion-eq 6 ]; then
./ListadoUsuarioPrestados.sh
fi
if [ $opcion -eq 7 ]; then
./DevolverLibros.sh
fi
if [ $opcion -eq 8 ]; then
./BuscarLibro.sh
fi
if [ $opcion -eq 9 ]; then
exit
fi

done#!/bin/bash

./ComprobarDirs.sh
while [ false ]; do

clear
echo "1) Añadir libro"
echo "2) Prestar libro"
echo "3) Listar todos (ordenados por titulo)"
echo "4) Listar todos (ordenados...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • cableado estructurado
  • Cableado Estructurado
  • cableado estructurado
  • cableado estructurado
  • Cableado estructurado
  • Cableado Estructurado
  • Cable estructurado
  • cableado estructurado

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS