Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LCS-primtux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Primtux-SLIS
LCS-primtux
Commits
5e581913
Verified
Commit
5e581913
authored
7 years ago
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
Same number convention
parent
2b3cae69
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
generate_users.sh
+2
-2
2 additions, 2 deletions
generate_users.sh
with
2 additions
and
2 deletions
generate_users.sh
+
2
−
2
View file @
5e581913
...
@@ -20,15 +20,15 @@ TEACH_LEVELS="prof"
...
@@ -20,15 +20,15 @@ TEACH_LEVELS="prof"
rm
-f
$output
rm
-f
$output
for
i
in
`
seq
1
$1
`
for
i
in
`
seq
1
$1
`
do
do
num
=
`
printf
"%02d"
$i
`
for
l
in
$STUDENT_LEVELS
for
l
in
$STUDENT_LEVELS
do
do
num
=
`
printf
"%02d"
$i
`
save_uid -
$num
$l
$l
`
randomgender
`
Eleves
save_uid -
$num
$l
$l
`
randomgender
`
Eleves
done
done
for
l
in
$TEACH_LEVELS
for
l
in
$TEACH_LEVELS
do
do
gender
=
`
[
$((
$RANDOM
%
2
))
==
1
]
&&
echo
"M"
||
echo
"F"
`
gender
=
`
[
$((
$RANDOM
%
2
))
==
1
]
&&
echo
"M"
||
echo
"F"
`
save_uid -
$
i
$l
$l
`
randomgender
`
Profs
save_uid -
$
num
$l
$l
`
randomgender
`
Profs
done
done
done
done
save_uid on directi direction
`
randomgender
`
Administratifs
save_uid on directi direction
`
randomgender
`
Administratifs
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment