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
17aed968
Commit
17aed968
authored
Jul 05, 2019
by
Apolline Miannay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ajout BrancheList et MAJ Menu
parent
bd0f6dee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
BrancheEtu.sh
BrancheEtu.sh
+11
-0
menu.sh
menu.sh
+3
-1
No files found.
BrancheEtu.sh
0 → 100755
View file @
17aed968
echo
"Donnez le nom de la branche que vous voulez voir ou TC/HU"
read
br
echo
"Voici les étudiants de
$br
"
echo
"Il y a
$(
grep
$br
data/
*
.edt |
cut
-f1
-d
'.'
|
cut
-f2
-d
'/'
|
tee
|
wc
-l
)
étudiant dans cette branche "
grep
$br
data/
*
.edt |
cut
-f1
-d
'.'
|
cut
-f2
-d
'/'
menu.sh
View file @
17aed968
...
...
@@ -3,9 +3,10 @@
echo
'Voici une liste des options'
echo
'0) Quit'
echo
'1) hw1'
# echo '2) hw2'
echo
'3) Trouver les logins qui correspondent à une entrée'
echo
'4) Liste des UVs pour un login donné'
echo
"5) Entrer une branche et voir combien il y a d'etudiants dedans et lesquels"
echo
"Quel est votre choix ?"
read
choix
...
...
@@ -15,5 +16,6 @@ case $choix in
# 2) ./hw2.sh ;;
3
)
./logEtu.sh
;;
4
)
./UVetu.sh
;;
5
)
./BrancheEtu.sh
;;
*
)
echo
"votre choix n'existe pas"
&&
echo
"-------------------------"
&&
echo
"Veuillez reselectioner une option : "
;;
esac
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