Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
EDTbash
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Wang Gao
EDTbash
Commits
e17e0133
Commit
e17e0133
authored
Jul 05, 2019
by
Apolline Miannay
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/salle'
parents
37095403
9fe5c673
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
salle_heure.sh
salle_heure.sh
+6
-3
No files found.
salle_heure.sh
View file @
e17e0133
#!/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
echo
"saisissez le jour de votre choix"
read
jour
echo
"saisissez l'heure"
read
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment