Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
saeed
odb_panel
Commits
1a339b64
Commit
1a339b64
authored
Nov 19, 2019
by
saeed
Browse files
m
parent
35a29e3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
functionsodb.sh
View file @
1a339b64
...
...
@@ -24,6 +24,22 @@ function yearmonday(){
echo
${
year
}${
mon
}${
day
}
}
function
getyear_1
(){
str
=
${
1
}
echo
${
str
:0:4
}
}
function
getmonth_1
(){
str
=
${
1
}
echo
${
str
:4:2
}
}
function
getday_1
(){
str
=
${
1
}
echo
${
str
:6:2
}
}
function
addbackslash
(){
str
=
${
1
}
echo
${
str
/,/\\\/
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment