Commit c25cef20 authored by Apolline Miannay's avatar Apolline Miannay

Merge remote-tracking branch 'origin/salle'

parents f96c9a0f 8292e3a6
#! /bin/bash
function salles_occupees
{
grep -i $1 abachele.edt |cut -d',' -f3|uniq
}
#!/bin/bash
echo "saisissez le jour et l'heure de votre choix"
read jour heure
{ grep -i '$jour... $heure' ./data/*.edt |cut -d',' -f3|uniq | cut -d'/' -f1 |uniq && grep '/' ./data/*.edt |cut -d'/' -f2|grep -i '$jour... $heure' |cut -d',' -f3|uniq ;} | uniq
#!/bin/bash
echo "saisissez le jour"
read jour
{ grep -i $jour /data/*.edt |cut -d',' -f3|uniq | cut -d'/' -f1 |uniq && grep '/' /data/*.edt |cut -d'/' -f2|grep -i $jour |cut -d',' -f3|uniq ;} | uniq
#! /bin/bash
echo "Pour quelle UV vous souhaitez avoir la salle ?"
read uv
grep -i $uv ./data/*.edt |cut -d',' -f3 | cut -d'/' -f1 | uniq| cut -d'.' -f1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment