Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fakeImages
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
vaclab
fakeImages
Commits
d6dd850f
Commit
d6dd850f
authored
8 years ago
by
Rolf Niepraschk
Browse files
Options
Downloads
Patches
Plain Diff
Sonderfall vereinfacht
parent
fb40d004
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
FLUKE-8840A/createImages
+7
-5
7 additions, 5 deletions
FLUKE-8840A/createImages
with
7 additions
and
5 deletions
FLUKE-8840A/createImages
+
7
−
5
View file @
d6dd850f
...
...
@@ -56,12 +56,17 @@ if [ $SIGN == 0 ]; then
else
SF
=
$minusFile
SCH
=
'-'
fi
fi
for
i
in
{
1..6
}
;
do
if
[
$i
==
6
]
;
then
# position 6: "1" or nothing
DNR[6]
=
$((
RANDOM
%
2
))
if
[
${
DNR
[6]
}
==
0
]
;
then
DNR[6]
=
99
;
fi
if
[
${
DNR
[6]
}
==
0
]
;
then
DNR[6]
=
99
DNR6
=
""
else
DNR6
=
"1"
fi
# random digit number (99|1)
else
DNR[
$i
]=
$((
RANDOM
%
10
))
# random digit number (0..9)
...
...
@@ -75,9 +80,6 @@ for i in {1..6}; do
fi
done
DNR6
=
"1"
if
[
${
DNR
[6]
}
==
99
]
;
then
DNR6
=
""
;
fi
value
=
"
${
SCH
}${
DNR6
}${
DP
[6]
}${
DNR
[5]
}${
DP
[5]
}${
DNR
[4]
}${
DP
[4]
}
"
value+
=
"
${
DNR
[3]
}${
DP
[3]
}${
DNR
[2]
}${
DP
[2]
}${
DNR
[1]
}${
DP
[1]
}
"
...
...
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