Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
examples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
delphi
examples
Commits
6ebf30ad
Commit
6ebf30ad
authored
1 year ago
by
Ulrich Schwickerath
Browse files
Options
Downloads
Patches
Plain Diff
bash syntax fixes
parent
ed784931
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dump/dump.sh
+2
-3
2 additions, 3 deletions
dump/dump.sh
pick/pick.sh
+1
-1
1 addition, 1 deletion
pick/pick.sh
scripts/testjob.sh
+10
-11
10 additions, 11 deletions
scripts/testjob.sh
with
13 additions
and
15 deletions
dump/dump.sh
+
2
−
3
View file @
6ebf30ad
...
...
@@ -13,7 +13,7 @@ eval $command
# compile
for
ending
in
.f .F
;
do
ls
*
$ending
>
/dev/null 2>&1
if
[
[
$?
==
0
]
]
;
then
if
[
$?
-eq
0
]
;
then
for
file
in
*
$ending
;
do
$FCOMP
$FFLAGS
-c
$file
done
...
...
@@ -27,5 +27,4 @@ $FCOMP $LDFLAGS *.o -o $pgm.exe $ADDLIB $DELLIBS $CERNLIBS
./
$pgm
.exe 1>
$pgm
.log 2>
$pgm
.err
# cleanup
#rm -f *.f *.c *.o
rm
-f
*
.f
*
.c
*
.o
This diff is collapsed.
Click to expand it.
pick/pick.sh
+
1
−
1
View file @
6ebf30ad
...
...
@@ -13,7 +13,7 @@ eval $command
# compile
for
ending
in
.f .F
;
do
ls
*
$ending
>
/dev/null 2>&1
if
[
[
$?
==
0
]
]
;
then
if
[
$?
-eq
0
]
;
then
for
file
in
*
$ending
;
do
$FCOMP
$FFLAGS
-c
$file
done
...
...
This diff is collapsed.
Click to expand it.
scripts/testjob.sh
+
10
−
11
View file @
6ebf30ad
...
...
@@ -8,17 +8,17 @@ echo "+OPTION VERbose" > $pgm.cra1
echo
"+USE,
${
PLINAM
}
."
>>
$pgm
.cra1
cat
$DELPHI_PAM
/skelana.cra
>>
$pgm
.cra1
# modify
# modify
ycmd
=
`
which nypatchy
`
command
=
"
$ycmd
-
$pgm
.f
$pgm
.cra1
$pgm
.ylog
$pgm
.c - -
${
pgm
}
R.f .go"
echo
"Running
$command
"
eval
$command
# compile
for
ending
in
.f .F
;
do
ls
*
$ending
>
/dev/null 2>&1
if
[
[
$?
==
0
]
]
;
then
for
file
in
*
$ending
;
do
for
ending
in
.f .F
;
do
ls
*
$ending
>
/dev/null 2>&1
if
[
$?
-eq
0
]
;
then
for
file
in
*
$ending
;
do
$FCOMP
$FFLAGS
-c
$file
done
fi
...
...
@@ -26,8 +26,8 @@ done
for
ending
in
*
.c
*
.C
*
.cc
;
do
ls
*
$ending
>
/dev/null 2>&1
if
[
[
$?
==
0
]
]
;
then
for
file
in
*
ending
;
do
if
[
$?
-eq
]
;
then
for
file
in
*
ending
;
do
$CCOMP
$CFLAGS
-c
$file
done
fi
...
...
@@ -36,12 +36,11 @@ done
# link
$FCOMP
$LDFLAGS
*
.o
-o
$pgm
.exe
$ADDLIB
$DELLIBS
$CERNLIBS
# cleanup
rm
-f
*
.f
*
.c
*
.o
# cleanup
rm
-f
*
.f
*
.c
*
.o
# create input file
echo
"FILE = simana.xsdst"
>
./PDLINPUT
# execute
./
$pgm
.exe 1>
$pgm
.log 2>
$pgm
.err
./
$pgm
.exe 1>
$pgm
.log 2>
$pgm
.err
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