Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Paulo V C Medeiros
carra_obsoul
Commits
9b1a67eb
Commit
9b1a67eb
authored
Apr 02, 2020
by
Paulo V C Medeiros
Browse files
Minor change in out files name format
ofile=obsoul_$date instead of ofile=obsoul$date
parent
73296b26
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
9b1a67eb
inputs/
obsoul_out/
*.swp
carra_obsoul.main.o
carra_obsoul.main.x
...
...
carra_obsoul_prod.ksh
View file @
9b1a67eb
...
...
@@ -61,7 +61,7 @@ until (( date > EDATE )) ; do
[[
-d
$hdir
/
$YYYY
/
$MM
]]
||
mkdir
-p
$hdir
/
$YYYY
/
$MM
cd
$hdir
/
$YYYY
/
$MM
ofile
=
obsoul
$date
ofile
=
obsoul
_
$date
sed
"s/year/
${
YYYY
}
/"
$ddir
/OBSOULFILE_template
>
OBSOULFILE_template.1
sed
"s/mon/
${
MM
}
/"
OBSOULFILE_template.1
>
OBSOULFILE_template.2
...
...
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