Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if [ $x = -c ]; then
- echo Ingrese "1" si asistio y "0" en caso contrario.
- cat lista | sed "s/\ /_/g" >> lista5
- alumnos=($(cat lista5))
- len=${#alumnos[@]}
- for(( i=0; i<$len; i++ ))
- do
- echo 'Asistio '${alumnos[${i}]}'? :'
- read asistencia[$i]
- done
- echo ${asistencia[@]} >> asistencia
- cat asistencia
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement